Christos Posted September 23, 2018 Posted September 23, 2018 Hi, Can someone help me on how we can set a uBoot splash screen (with a .bmp) instead of the running boot text? Need this in a OPiPC, legacy (3.4.113). Any help is welcome. Christos
Igor Posted September 23, 2018 Posted September 23, 2018 Not sure if its drop-in compatible with current bootloader but you get an idea:https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-sunxi/remove-boot-messages-from-hdmi.patch.disabled
Christos Posted September 23, 2018 Author Posted September 23, 2018 Thanks @Igor I guess that stops the running boot text. Is there a way to show instead a splash image on HDMI screen during uboot ?
Igor Posted September 23, 2018 Posted September 23, 2018 Armbian logo should be displayed in uboot by default. At lest on most recent assembly. Image is read from /boot by another patch.Wrote on mobile 1
Christos Posted September 23, 2018 Author Posted September 23, 2018 @Igor Unfortunately, it produced an error, new build, legacy, Xenial desktop/console [ warn ] * [l][c] remove-boot-messages-from-hdmi.patch [ failed ] Are you sure it works or am I missing something?
Igor Posted September 23, 2018 Posted September 23, 2018 8 minutes ago, Christos said: Are you sure it works or am I missing something? It used to work a year ago ... if it breaks, you will need to dive into the u-boot source code to see why it breaks. Perhaps this can be solved in a minute, perhaps you need hours. For Armbian, this patch is not relevant, so it is not maintained.
jcheriton Posted August 16, 2019 Posted August 16, 2019 For those that have reached here trying to remove output text from u-boot the old patch no longer works. The patch below works as of August 2019, however u-boot may change in the future. diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -461,13 +461,13 @@ extern int soft_i2c_gpio_scl; #ifdef CONFIG_VIDEO #define CONSOLE_STDOUT_SETTINGS \ - "stdout=serial,vga\0" \ - "stderr=serial,vga\0" + "stdout=serial\0" \ + "stderr=serial\0" #elif CONFIG_DM_VIDEO #define CONFIG_SYS_WHITE_ON_BLACK #define CONSOLE_STDOUT_SETTINGS \ - "stdout=serial,vidconsole\0" \ - "stderr=serial,vidconsole\0" + "stdout=serial\0" \ + "stderr=serial\0" #else #define CONSOLE_STDOUT_SETTINGS \ "stdout=serial\0" \ 1
Igor Posted August 16, 2019 Posted August 16, 2019 https://github.com/armbian/build/commit/a496af3bc58ba52ea68b455e4491b359e5ba69ff
prattom Posted February 4, 2020 Posted February 4, 2020 As of now following patch works for disabling uboot text diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -453,12 +453,12 @@ #ifdef CONFIG_VIDEO #define CONSOLE_STDOUT_SETTINGS \ - "stdout=serial,vga\0" \ - "stderr=serial,vga\0" + "stdout=serial\0" \ + "stderr=serial\0" #elif CONFIG_DM_VIDEO #define CONSOLE_STDOUT_SETTINGS \ - "stdout=serial,vidconsole\0" \ - "stderr=serial,vidconsole\0" + "stdout=serial\0" \ + "stderr=serial\0" #else #define CONSOLE_STDOUT_SETTINGS \ "stdout=serial\0" \
Recommended Posts