Support Orange Pi Zero2 W

This commit is contained in:
orangepi-xunlong
2023-06-15 18:07:52 +08:00
parent 5b98978bd1
commit a2713f5075
17 changed files with 1455 additions and 3294 deletions

View File

@@ -27,7 +27,11 @@ fi
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
if test "${bootlogo}" = "true"; then setenv consoleargs "bootsplash.bootfile=bootsplash.orangepi ${consoleargs}"; fi
if test "${bootlogo}" = "true"; then
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
else
setenv consoleargs "splash=verbose ${consoleargs}"
fi
# get PARTUUID of first partition on SD/eMMC it was loaded from
# mmc 0 is always mapped to device u-boot (2016.09+) was loaded from

View File

@@ -53,8 +53,8 @@ fdt set disp boot_disp1 <${boot_disp1}>
fdt set disp boot_disp2 <${boot_disp2}>
fdt set disp tv_vdid <${tv_vdid}>
fdt set disp fb0_width <${fb0_width}>
fdt set disp fb0_height <${fb0_height}>
fdt set /soc/disp fb0_width <${fb0_width}>
fdt set /soc/disp fb0_height <${fb0_height}>
fdt set mmc0 cap-sd-highspeed
#fdt set mmc0 sd-uhs-sdr50