mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00
wic: Fix image generation for i.MX with SPL and U-Boot
Some boards expects a specific binary name. Example : Pico i.MX7D required the u-boot-dtb.img file (instead of u-boot.img). Signed-off-by: Joris Offouga <offougajoris@gmail.com>
This commit is contained in:
parent
2980eea559
commit
7f92a04172
|
@ -13,7 +13,7 @@
|
|||
# 0 1kiB 69kiB 4MiB 16MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
|
||||
#
|
||||
part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1
|
||||
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69
|
||||
part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69
|
||||
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 16
|
||||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
# 0 1kiB 69kiB 4MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
|
||||
#
|
||||
part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1
|
||||
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk mmcblk --no-table --align 69
|
||||
part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69
|
||||
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096
|
||||
|
||||
bootloader --ptable msdos
|
Loading…
Reference in New Issue
Block a user