From bc267130c9165920c74fd01b5700bb3627b99866 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 13 May 2014 18:18:37 +0200 Subject: [PATCH] meta-digi-arm: make u-boot boot script platform specific https://jira.digi.com/browse/DEL-1061 Signed-off-by: Javier Viguera --- .../{ => ccimx6adpt}/boot-sd.txt | 0 .../u-boot-dey-2013.04/ccimx6sbc/boot-sd.txt | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) rename meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/{ => ccimx6adpt}/boot-sd.txt (100%) create mode 100644 meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6sbc/boot-sd.txt diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/boot-sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6adpt/boot-sd.txt similarity index 100% rename from meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/boot-sd.txt rename to meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6adpt/boot-sd.txt diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6sbc/boot-sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6sbc/boot-sd.txt new file mode 100644 index 000000000..3e526aae1 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey-2013.04/ccimx6sbc/boot-sd.txt @@ -0,0 +1,16 @@ +# +# U-Boot bootscript for SD images created by Yocto. +# +# Layout: +# * U-Boot (raw copied) +# * Boot partion (FAT) with kernel images and DTB +# * Rootfs partion (EXT4) +# +# +--------------+----------------------+-------------------------+ +# | U-BOOT (RAW) | BOOT_PARTITION (FAT) | ROOTFS_PARTITION (EXT4) | +# +--------------+----------------------+-------------------------+ +# +setenv mmcroot /dev/mmcblk${mmcdev}p2 +setenv uimage uImage +setenv fdt_file imx6-ccimx6sbc-ldo.dtb +dboot linux mmc ${mmcdev}:${mmcpart}