mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
Revert removal of armbianEnv.txt load on odroid-xu4 (#2226)
Fixes breakage of setting board_name, usbstoragequirks, and extraargs on odroid-xu4 via armbianEnv.txt Co-authored-by: hunter <hunter@localhost>
This commit is contained in:
parent
c6e01744e3
commit
36aef09c8c
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ setenv verbosity "1"
|
|||
# To update boot loader on your eMMC use the nand-sata-install tool
|
||||
# run copy_uboot_sd2emmc
|
||||
|
||||
if ext4load mmc 0:1 0x44000000 /boot/armbianEnv.txt || fatload mmc 0:1 0x44000000 armbianEnv.txt || ext4load mmc 0:1 0x44000000 armbianEnv.txt; then env import -t 0x44000000 ${filesize}; 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=ttySAC2,115200n8 ${consoleargs}"; fi
|
||||
if test "${bootlogo}" = "true"; then setenv consoleargs "bootsplash.bootfile=bootsplash.armbian ${consoleargs}"; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue