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:
Alex Gonzalez 2018-09-03 18:35:02 +02:00
parent 2eaade486f
commit 7aff3ee169
1 changed files with 16 additions and 0 deletions

View File

@ -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}