Skip to content

Commit 55308ca

Browse files
committed
board: rpi4: Enable splashscreen
1 parent ba0ca94 commit 55308ca

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
# CONFIG_MMC_PCI is not set
22
CONFIG_OF_OVERLAY_LIST="rpi-env infix-key"
33
# CONFIG_ENV_IS_IN_FAT is not set
4+
CONFIG_CMD_BMP=y
5+
CONFIG_SPLASH_SCREEN=y
6+
CONFIG_SPLASH_SCREEN_ALIGN=y
7+
CONFIG_BMP=y
8+
CONFIG_BMP_24BPP=y
9+
#CONFIG_VIDEO_BMP_GZIP=y
10+
CONFIG_VIDEO=y
11+
CONFIG_VIDEO_BMP_RLE8=y
12+
#CONFIG_SILENT_CONSOLE=y

src/board/raspberry-pi-4/uboot/rpi-env.dtso

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
boot_targets = "mmc0";
1313
ethprime = "eth0";
1414
bootcmd = "run ixboot";
15+
/*
16+
bootcmd = "fatload mmc 0:1 ${splashimage} ${splashfile}; bmp display ${splashimage}; run ixboot";
17+
splashimage =" 0x10000000";
18+
splashpos = "m,m";
19+
silent = "1";
20+
*/
21+
splashfile = "splash.bmp";
1522

1623
ixpreboot = /incbin/("scripts/ixpreboot.sh");
1724
ixbtn-devmode = "setenv dev_mode yes; echo Enabled";

0 commit comments

Comments
 (0)