diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/use-mainline-bsp/boot.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/use-mainline-bsp/boot.txt new file mode 100644 index 000000000..8ad8e8c96 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/use-mainline-bsp/boot.txt @@ -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}