From 7aff3ee169bced952d72bb246612834f89a0320d Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Mon, 3 Sep 2018 18:35:02 +0200 Subject: [PATCH] meta-digi-arm: u-boot-dey: Modify boot script for mainline kernel use Signed-off-by: Alex Gonzalez --- .../u-boot/u-boot-dey/use-mainline-bsp/boot.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/use-mainline-bsp/boot.txt 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}