diff --git a/boot.cmd b/boot.cmd index 77a0252..c0ff17c 100644 --- a/boot.cmd +++ b/boot.cmd @@ -1,11 +1,6 @@ setenv load_addr "0x9000000" setenv overlay_error "false" # default values -setenv verbosity "1" -setenv console "both" -setenv bootlogo "false" -setenv rootfstype "ext4" -setenv earlycon "off" setenvrootdev setenvunamer setenv envfile "${prefix}uEnv.txt-${unamer}" @@ -23,22 +18,9 @@ if test -e ${devtype} ${devnum} ${envfile}; then echo "${envfile} imported into environment" fi -if test "${logo}" = "disabled"; then setenv logo "logo.nologo"; fi - -if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi -if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS2,1500000 ${consoleargs}"; fi -if test "${earlycon}" = "on"; then setenv consoleargs "earlycon ${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 the boot script was loaded from if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:1 partuuid; fi -setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}" - load ${devtype} ${devnum} ${ramdisk_addr_r} ${prefix}uInitrd-${unamer} load ${devtype} ${devnum} ${kernel_addr_r} ${prefix}vmlinuz-${unamer}