meta-digi-arm: make u-boot boot script platform specific

https://jira.digi.com/browse/DEL-1061

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-05-13 18:18:37 +02:00
parent 59f33e67c6
commit bc267130c9
2 changed files with 16 additions and 0 deletions

View File

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