mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Update boot-sunxi.cmd
'setenv console "display"' in boot-sunxi.cmd & in armbianEnv.txt had the same effect as 'setenv console "both"'. That was due to a false if-statement in boot-sunxi.cmd:41 Fixed that, so 'setenv console "display"' will not co-enable the serial console anymore.
This commit is contained in:
@@ -38,8 +38,9 @@ if test -e ${devtype} ${devnum} ${prefix}armbianEnv.txt; then
|
||||
env import -t ${load_addr} ${filesize}
|
||||
fi
|
||||
|
||||
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
|
||||
if test "${console}" = "display"; then setenv consoleargs "console=tty1"; fi
|
||||
if test "${console}" = "serial"; then setenv consoleargs "console=ttyS0,115200"; fi
|
||||
if test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi
|
||||
if test "${earlycon}" = "on"; then setenv consoleargs "earlycon ${consoleargs}"; fi
|
||||
if test "${bootlogo}" = "true"; then
|
||||
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
|
||||
|
||||
Reference in New Issue
Block a user