Skip to content
View in the app

A better way to browse. Learn more.

Learn more

uBoot splash screen instead of text

Featured Replies

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

 

  • Author

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 ?

 

  • Author

@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?

 

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.

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" \

 

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" \

 

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.