diff options
| author | unitexe <unitexe70@gmail.com> | 2026-03-02 23:03:25 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-03-02 23:03:33 -0600 |
| commit | d62f1d4c0787eddea695c2de2f80f991d60c3607 (patch) | |
| tree | bfa9e4ff9249249b859d8024d65cf8d54fd4f1ac /meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot | |
| parent | 70df75089a1ffbfd073d623e32d6417488b79491 (diff) | |
Enable graphics for radxa-zero-3e
- Boot splash
- Kernel logo
- Plymouth splash
- Flutter app
Diffstat (limited to 'meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot')
2 files changed, 60 insertions, 0 deletions
diff --git a/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/files/0001-tweak-default-environment.patch b/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/files/0001-tweak-default-environment.patch new file mode 100644 index 0000000..9976399 --- /dev/null +++ b/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/files/0001-tweak-default-environment.patch @@ -0,0 +1,50 @@ +From 97608babec80c5108223b8ea905933468c57fab8 Mon Sep 17 00:00:00 2001 +From: unitexe <unitexe70@gmail.com> +Date: Fri, 20 Feb 2026 21:20:18 -0600 +Subject: [PATCH] tweak default environment + +- Restrict boot targets to SD card +- Add custom splash support +- Disable stdout & stderr vidconsole so it doesn't write over splash + +Upstream-Status: Inappropriate [embedded-specific] +--- + include/configs/evb_rk3568.h | 8 ++++++-- + include/configs/rockchip-common.h | 2 +- + 2 files changed, 7 insertions(+), 3 deletions(-) + +diff --git a/include/configs/evb_rk3568.h b/include/configs/evb_rk3568.h +index 9070160cf58..78209a7f40d 100644 +--- a/include/configs/evb_rk3568.h ++++ b/include/configs/evb_rk3568.h +@@ -7,8 +7,12 @@ + #define __EVB_RK3568_H + + #define ROCKCHIP_DEVICE_SETTINGS \ +- "stdout=serial,vidconsole\0" \ +- "stderr=serial,vidconsole\0" ++ "stdout=serial\0" \ ++ "stderr=serial\0" \ ++ "splashfile=splashfile=yocto_project_logo_white_800x480_24bpp.bmp.gz\0" \ ++ "splashimage=0x12280000\0" \ ++ "splashsource=mmc_fs\0" \ ++ "splashpos=m,m\0" + + #include <configs/rk3568_common.h> + +diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h +index d5550a46575..2cac5d15c68 100644 +--- a/include/configs/rockchip-common.h ++++ b/include/configs/rockchip-common.h +@@ -14,7 +14,7 @@ + #ifndef CONFIG_XPL_BUILD + + #ifndef BOOT_TARGETS +-#define BOOT_TARGETS "mmc1 mmc0 nvme scsi usb pxe dhcp spi" ++#define BOOT_TARGETS "mmc1 mmc0" + #endif + + #ifdef CONFIG_ARM64 +-- +2.43.0 + diff --git a/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/u-boot_%.bbappend new file mode 100644 index 0000000..2192bf9 --- /dev/null +++ b/meta-unit-graphics/dynamic-layers/rockchip/recipes-bsp/u-boot/u-boot_%.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +SRC_URI:append = " file://splash.cfg" +SRC_URI:append = " file://0001-tweak-default-environment.patch" + +# On screen console not wanted +UBOOT_EXTLINUX_CONSOLE:remove = "console=tty1" + +# Without this plymouth will not show +UBOOT_EXTLINUX_KERNEL_ARGS:append = " splash" |
