Skip to content

Commit a6c05b9

Browse files
committed
config.txt extras env
1 parent 1017ec8 commit a6c05b9

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/board/raspberry-pi-4/config.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ device_tree=bcm2711-rpi-4-b.dtb
1313
dtoverlay=rpi-env
1414
dtoverlay=infix-key
1515
dtoverlay=vc4-kms-v3d-pi4
16-
dtoverlay=vc4-kms-dsi-7inch,rotation=180
17-
disable_splash=1
1816
lcd_rotate=2
1917

2018

src/board/raspberry-pi-4/uboot/extras.config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
CONFIG_OF_OVERLAY_LIST="rpi-env infix-key"
33
# CONFIG_ENV_IS_IN_FAT is not set
44
CONFIG_CMD_BMP=y
5+
CONFIG_CMD_RPI_DISPLAY=y
56
CONFIG_SPLASH_SCREEN=y
67
CONFIG_SPLASH_SCREEN_ALIGN=y
78
CONFIG_BMP=y
89
CONFIG_BMP_24BPP=y
9-
#CONFIG_VIDEO_BMP_GZIP=y
1010
CONFIG_VIDEO=y
1111
CONFIG_VIDEO_BMP_RLE8=y
12-
#CONFIG_SILENT_CONSOLE=y

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
stdin = "serial";
1818
splashpos = "m,m";
1919
splashfile = "splash.bmp";
20+
checkdisplay = "if testrpidisplay; then; setenv fdtfile broadcom/bcm2711-rpi-4-b-dsi.dtb; else; setenv fdtfile broadcom/bcm2711-rpi-4-b.dtb; fi";
2021
bootcmd = "fatload mmc 0:1 ${loadaddr} ${splashfile}; bmp display ${loadaddr}; run ixboot";
2122

2223
ixpreboot = /incbin/("scripts/ixpreboot.sh");

0 commit comments

Comments
 (0)