Odroid XU4 Armbian based UUID booting (SD card tested) (#510)
This commit is contained in:
parent
159ec4c6ce
commit
ef1706b3df
3
config/bootenv/odroidxu4-next.txt
Normal file
3
config/bootenv/odroidxu4-next.txt
Normal file
@ -0,0 +1,3 @@
|
||||
kerneladdr=0x40800000
|
||||
initrdaddr=0x42000000
|
||||
ftdaddr=0x44000000
|
||||
@ -1,6 +1,3 @@
|
||||
|
||||
setenv rootdev "/dev/mmcblk1p1"
|
||||
|
||||
# a boot script for U-Boot / Odroid XU4
|
||||
#
|
||||
# It requires a list of environment variables to be defined before load (in includes files uboot/.../exy*.h):
|
||||
@ -8,12 +5,15 @@ setenv rootdev "/dev/mmcblk1p1"
|
||||
# system dependent: mmcbootdev, mmcbootpart, mmcrootdev, mmcrootpart, rootfstype
|
||||
#
|
||||
|
||||
setenv kerneladdr 0x40800000
|
||||
setenv initrdaddr 0x42000000
|
||||
setenv ftdaddr 0x44000000
|
||||
setenv rootdev "/dev/mmcblk1p1"
|
||||
setenv load_addr 0x44000000
|
||||
|
||||
setenv consolecfg "console=tty1 console=ttySAC2,115200n8"
|
||||
|
||||
if load mmc ${mmcbootdev}:${mmcbootpart} ${load_addr} /boot/armbianEnv.txt || load mmc ${mmcbootdev}:${mmcbootpart} ${load_addr} armbianEnv.txt; then
|
||||
env import -t ${load_addr} ${filesize}
|
||||
fi
|
||||
|
||||
setenv bootargs "${consolecfg} root=${rootdev} rootfstype=${rootfstype} rootwait rw earlyprintk ${opts}";
|
||||
load mmc ${mmcbootdev}:${mmcbootpart} ${kerneladdr} /boot/zImage;
|
||||
load mmc ${mmcbootdev}:${mmcbootpart} ${initrdaddr} /boot/uInitrd;
|
||||
|
||||
@ -23,6 +23,8 @@ case $BRANCH in
|
||||
BOOTCONFIG=odroid-xu4_defconfig
|
||||
UBOOT_FILES="sd_fusing.sh xu4_blobs/bl1.bin.hardkernel xu4_blobs/bl2.bin.hardkernel.1mb_uboot u-boot-dtb.bin xu4_blobs/tzsw.bin.hardkernel"
|
||||
BOOTSCRIPT="boot-odroid-xu4-next.cmd:boot.cmd"
|
||||
BOOTENV_FILE='odroidxu4-next.txt'
|
||||
HAS_UUID_SUPPORT=yes
|
||||
|
||||
KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
|
||||
KERNELBRANCH=$MAINLINE_KERNEL_BRANCH
|
||||
|
||||
Loading…
Reference in New Issue
Block a user