aboutsummaryrefslogtreecommitdiff
path: root/wic/arm-reference-image.corstone500.wks
diff options
context:
space:
mode:
Diffstat (limited to 'wic/arm-reference-image.corstone500.wks')
-rw-r--r--wic/arm-reference-image.corstone500.wks16
1 files changed, 16 insertions, 0 deletions
diff --git a/wic/arm-reference-image.corstone500.wks b/wic/arm-reference-image.corstone500.wks
new file mode 100644
index 0000000..42c3ce7
--- /dev/null
+++ b/wic/arm-reference-image.corstone500.wks
@@ -0,0 +1,16 @@
+# WIC partitioning for corstone500
+# Layout and maximum sizes:
+#
+# FIP image: 1 MB
+# Linux kernel: 12 MB
+# Ramdisk rootfs: dynamic size
+#
+
+# Rawcopy of the FIP binary
+part --source rawcopy --sourceparams="file=fip.bin-a5ds" --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}/arm-reference-image-corstone500.cpio.gz.u-bootimg" --no-table \ No newline at end of file