Booting splash screen

Started by herter, April 11, 2014, 12:29:58 PM

Previous topic - Next topic

BMK

I note that newly purchased A20 Debian SD Cards have a splash screen at boot. Does anyone know how Olimex do it. I would like to change or remove this splash screen if possible.
Anyone Know how?

santox

the big problem here is wrong memory address. in my board the command

bdinfo

says the memory mapping starts at 0x4000000

...using this address i can load the bmp succesfully from emmc:
=>load mmc 0 0x4000000 splash.bmp

=> bmp info 0x40000000                                                                                                                                                                         
Image size    : 1280 x 800                                                                                                                                                                 
Bits per pixel: 8                                                                                                                                                                           
Compression   : 1   

anyway whe i try to display the image to the lvds connected lcd nothing is shown :(
=> bmp display 0x40000000                                                                                                                                                                         

SR-Digitronic

#17
With self-built mainline U-Boot on SD card and 4.3" display it's going like:

git clone git://git.denx.de/u-boot.git u-boot-2017
cd u-boot-2017
git checkout v2017.07
scripts/kconfig/merge_config.sh configs/A20-OLinuXino_MICRO_defconfig


Modify the .config file (CONFIG_VIDEO_LCD_MODE from http://linux-sunxi.org/LCD#Script_for_automated_conversion)


--- .config     2017-10-04 16:47:01.604866748 +0200
+++ .config.lcdActive       2017-10-04 16:46:36.589380334 +0200
@@ -204,10 +204,10 @@
# CONFIG_I2C4_ENABLE is not set
# CONFIG_AXP_GPIO is not set
CONFIG_VIDEO=y
-CONFIG_VIDEO_HDMI=y
-CONFIG_VIDEO_VGA=y
+# CONFIG_VIDEO_HDMI is not set
+# CONFIG_VIDEO_VGA is not set
# CONFIG_VIDEO_COMPOSITE is not set
-CONFIG_VIDEO_LCD_MODE=""
+CONFIG_VIDEO_LCD_MODE="x:480,y:272,depth:18,pclk_khz:9000,le:10,ri:5,up:3,lo:8,hs:30,vs:5,sync:3,vmode:0"
CONFIG_VIDEO_LCD_DCLK_PHASE=1
CONFIG_VIDEO_LCD_POWER=""
CONFIG_VIDEO_LCD_RESET=""
@@ -523,7 +523,7 @@
#
# Misc commands
#
-# CONFIG_CMD_BMP is not set
+CONFIG_CMD_BMP=y
# CONFIG_CMD_BSP is not set
# CONFIG_CMD_BKOPS_ENABLE is not set
# CONFIG_CMD_CACHE is not set


Compile:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4

And put it on SD card:

sudo dd if=u-boot-sunxi-with-spl.bin of=${SD} bs=1024 seek=8;

Or test it via OTG/FEL injection:

sudo sunxi-fel uboot u-boot-sunxi-with-spl.bin

In U-Boot do:

$ load mmc 0:1 50000000 /bootlogo.bmp
reading /bootlogo.bmp
391802 bytes read in 51 ms (7.3 MiB/s)
$ bmp info 50000000
Image size    : 480 x 272
Bits per pixel: 24
Compression   : 0
$ bmp display 50000000


You can add this to boot.cmd, but haven't done that yet.

Edit: This does not work properly yet, linux kernel distorts the logo as soon as it boots

igorpec

#18
Get Armbian and exchange /boot/boot.bmp and you are done. At least for the bootloader.
linux for ARM development boards
www.armbian.com

Fra

Hi, I know that this is an old post, but "groped does not harm".
Trying this command
sudo dd if=u-boot-sunxi-with-spl.bin of=${SD} bs=1024 seek=8;gives me back:
dd: failed to open '': No such file or directory
So I tried
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
But in U-Boot bmp command are unknow.
Do you knw a possible solution for this or other working sequence of commands to change the splash screen?

JohnS

You may need SKIP instead of SEEK

John

Fra

It doesn't work.
If I use
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 skip=8
reboot

The boards doesen't boot anymore (the green LED reamins off)  :(

JohnS


kiarasur

A bootsplash can be a simple visualization of the scrolling boot messages in the console, but it can also present graphics or some combinations of both.