Add video mode config
This commit is contained in:
parent
63caf3276e
commit
8627ac0d20
@ -97,11 +97,14 @@ prepare_uboot_script() {
|
||||
echo "setenv bootcmd 'if test -n \${fel_booted} && test -n \${scriptaddr}; then echo '(FEL boot)'; source \${scriptaddr}; fi; mtdparts; ubi part UBI; ubifsmount ubi0:rootfs; ubifsload \$fdt_addr_r /boot/sun5i-r8-chip.dtb; ubifsload \$kernel_addr_r /boot/zImage; bootz \$kernel_addr_r - \$fdt_addr_r'" >> "${UBOOT_SCRIPT_SRC}"
|
||||
echo "setenv fel_booted 0" >> "${UBOOT_SCRIPT_SRC}"
|
||||
|
||||
echo "echo Enabling splash" >> "${UBOOT_SCRIPT_SRC}"
|
||||
echo "echo Enabling Splash" >> "${UBOOT_SCRIPT_SRC}"
|
||||
echo "setenv stdout serial" >> "${UBOOT_SCRIPT_SRC}"
|
||||
echo "setenv stderr serial" >> "${UBOOT_SCRIPT_SRC}"
|
||||
echo "setenv splashpos m,m" >> "${UBOOT_SCRIPT_SRC}"
|
||||
|
||||
echo "echo Configuring Video Mode"
|
||||
echo "setenv video-mode sunxi:640x480-24@60,monitor=composite-ntsc" >> "${UBOOT_SCRIPT_SRC}"
|
||||
|
||||
echo "saveenv" >> "${UBOOT_SCRIPT_SRC}"
|
||||
|
||||
if [[ "${METHOD}" == "fel" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user