From: Jan Kiszka <[email protected]>

Add the remaining bits to enable building of an SD card image for the
Marvell MACCHIATObin board.

Signed-off-by: Jan Kiszka <[email protected]>
---
 conf/multiconfig/macchiatobin-jailhouse.conf | 20 ++++++++++++++++++++
 images.list                                  |  1 +
 scripts/lib/wic/canned-wks/macchiatobin.wks  | 14 ++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 conf/multiconfig/macchiatobin-jailhouse.conf
 create mode 100644 scripts/lib/wic/canned-wks/macchiatobin.wks

diff --git a/conf/multiconfig/macchiatobin-jailhouse.conf 
b/conf/multiconfig/macchiatobin-jailhouse.conf
new file mode 100644
index 0000000..2998556
--- /dev/null
+++ b/conf/multiconfig/macchiatobin-jailhouse.conf
@@ -0,0 +1,20 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Siemens AG, 2018
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# SPDX-License-Identifier: MIT
+#
+
+MACHINE = "macchiatobin"
+
+DISTRO = "jailhouse-demo"
+DISTRO_ARCH = "arm64"
+
+IMAGE_TYPE = "wic-img"
+WKS_FILE = "macchiatobin"
+IMAGER_INSTALL += "u-boot-macchiatobin"
+IMAGER_BUILD_DEPS += "u-boot-macchiatobin"
diff --git a/images.list b/images.list
index ac0f787..feec756 100644
--- a/images.list
+++ b/images.list
@@ -3,4 +3,5 @@ qemuarm64       QEMU ARM64 virtual target
 orangepi-zero  Orange Pi Zero (256 MB edition)
 nuc6cay                Intel NUC (NUC6CAY, 8 GB RAM)
 espressobin    Marvell ESPRESSObin (1 GB edition)
+macchiatobin   Marvell MACCHIATObin
 hikey          LeMaker HiKey (2 GB edition)
diff --git a/scripts/lib/wic/canned-wks/macchiatobin.wks 
b/scripts/lib/wic/canned-wks/macchiatobin.wks
new file mode 100644
index 0000000..6d2197e
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/macchiatobin.wks
@@ -0,0 +1,14 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Siemens AG, 2018
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# SPDX-License-Identifier: MIT
+#
+
+part u-boot --source rawcopy --sourceparams 
"file=/usr/lib/u-boot/macchiatobin/flash-image.bin" --no-table --align 2048 
--size 2M
+
+part / --source rootfs --ondisk mmcblk1 --fstype ext4 --label platform 
--active --align 1024
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to