mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
arm-bsp/fvp-base*: Introduce WIC support for fvp-base* machines
Add wks script that contains two partitions. Rootfs is populated to second partition, because the first one is empty, to keep compatibility with image_types_disk_img.bbclass and use the same root device set in u-boot bootargs parameter. Both wic and disk.img files are built by default. Issue-Id: SCM-2698 Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Change-Id: Ib5b5c3a7aa6e8fe9fa90a2955ae1e461caa01356 Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -8,7 +8,9 @@
|
|||||||
MACHINE_FEATURES = "optee"
|
MACHINE_FEATURES = "optee"
|
||||||
|
|
||||||
IMAGE_CLASSES += "image_types_disk_img"
|
IMAGE_CLASSES += "image_types_disk_img"
|
||||||
IMAGE_FSTYPES += "disk.img"
|
IMAGE_FSTYPES += "disk.img wic"
|
||||||
|
|
||||||
|
WKS_FILE ?= "fvp-base.wks"
|
||||||
|
|
||||||
# Disk image configuration
|
# Disk image configuration
|
||||||
# We don't use the first partition
|
# We don't use the first partition
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# For fvp-base* machines we just need to populate the rootfs partition
|
||||||
|
# but to keep backwards compatibility with disk.img,
|
||||||
|
# we need to create first partition empty
|
||||||
|
|
||||||
|
part --label empty --source empty --ondisk sda --size="1M" --system-id 8e --align 1024
|
||||||
|
part / --source rootfs --ondisk sda --fstype=ext4 --label root --size="2048"
|
||||||
Reference in New Issue
Block a user