meta-digi-arm: u-boot-dey: Modify boot script for mainline kernel use
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
2eaade486f
commit
7aff3ee169
|
|
@ -0,0 +1,16 @@
|
||||||
|
#
|
||||||
|
# U-Boot bootscript for NAND images created by Yocto.
|
||||||
|
#
|
||||||
|
if test "${board}" = "ccimx6ulsbc"; then
|
||||||
|
setenv fdt_file zImage-imx6ul-ccimx6ulsbcpro.dtb
|
||||||
|
else
|
||||||
|
setenv fdt_file zImage-imx6ul-ccimx6ulsbcexpress.dtb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "${mtdbootpart}" = "recovery"; then
|
||||||
|
setenv boot_initrd true
|
||||||
|
setenv initrd_file uramdisk-recovery.img
|
||||||
|
else
|
||||||
|
true
|
||||||
|
fi
|
||||||
|
dboot linux nand ${mtdbootpart}
|
||||||
Loading…
Reference in New Issue