[1/4] arm-bsp/corstone500: add image and container file

Message ID 20220401144128.3517236-2-rui.silva@linaro.org
State New
Headers show
Series arm-bsp/corstone500: add kas, runfvp and wks | expand

Commit Message

Rui Miguel Silva April 1, 2022, 2:41 p.m. UTC
Now that we have the wic_nopt class in meta-arm we can add the
the wks file to create the final image for this platform.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
---
 meta-arm-bsp/wic/core-image-minimal.corstone500.wks | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-arm-bsp/wic/core-image-minimal.corstone500.wks

Patch

diff --git a/meta-arm-bsp/wic/core-image-minimal.corstone500.wks b/meta-arm-bsp/wic/core-image-minimal.corstone500.wks
new file mode 100644
index 000000000000..0ab359c40a1e
--- /dev/null
+++ b/meta-arm-bsp/wic/core-image-minimal.corstone500.wks
@@ -0,0 +1,12 @@ 
+# WIC partitioning for corstone500
+# Layout and maximum sizes (to be defined):
+#
+
+# Rawcopy of the FIP binary
+part --source rawcopy --sourceparams="file=fip.bin" --no-table --align 1 --fixed-size 1
+
+# Rawcopy of the kernel binary
+part --source rawcopy --sourceparams="file=zImage" --no-table --fixed-size 12
+
+# Rawcopy of the rootfs
+part --source rawcopy --sourceparams="file=${IMGDEPLOYDIR}/core-image-minimal-corstone500.squashfs" --no-table