Christos Posted September 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
Igor Posted September 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
Christos Posted September 23, 2018 Author Share 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 ? Link to comment Share on other sites More sharing options...
Igor Posted September 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
Christos Posted September 23, 2018 Author Share 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? Link to comment Share on other sites More sharing options...
Igor Posted September 23, 2018 Share 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. Link to comment Share on other sites More sharing options...
jcheriton Posted August 16, 2019 Share 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 Link to comment Share on other sites More sharing options...
Igor Posted August 16, 2019 Share Posted August 16, 2019 https://github.com/armbian/build/commit/a496af3bc58ba52ea68b455e4491b359e5ba69ff Link to comment Share on other sites More sharing options...
prattom Posted February 4, 2020 Share 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" \ Link to comment Share on other sites More sharing options...
Recommended Posts