- Add the necessary machine, multiconfig and wks file.
- Add entry in images list.

Signed-off-by: Vijai Kumar K <vijaikumar.kanagara...@gmail.com>
---
 conf/machine/pine64-plus.conf                 | 19 +++++++++++++++++++
 .../pine64-plus-jailhouse-demo.conf           | 14 ++++++++++++++
 images.list                                   |  1 +
 wic/pine64-plus.wks                           | 16 ++++++++++++++++
 4 files changed, 50 insertions(+)
 create mode 100644 conf/machine/pine64-plus.conf
 create mode 100644 conf/multiconfig/pine64-plus-jailhouse-demo.conf
 create mode 100644 wic/pine64-plus.wks

diff --git a/conf/machine/pine64-plus.conf b/conf/machine/pine64-plus.conf
new file mode 100644
index 0000000..0949ab4
--- /dev/null
+++ b/conf/machine/pine64-plus.conf
@@ -0,0 +1,19 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Vijai Kumar K, 2020
+#
+# Authors:
+#  Vijai Kumar K <vijaikumar.kanagara...@gmail.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+DISTRO_ARCH = "arm64"
+
+IMAGE_TYPE = "wic-img"
+IMAGER_INSTALL += "u-boot-pine64-plus"
+IMAGER_BUILD_DEPS += "u-boot-pine64-plus"
+PREFERRED_PROVIDER_u-boot-pine64-plus = "u-boot-pine64-plus"
+
+IMAGE_INSTALL += "u-boot-script"
diff --git a/conf/multiconfig/pine64-plus-jailhouse-demo.conf 
b/conf/multiconfig/pine64-plus-jailhouse-demo.conf
new file mode 100644
index 0000000..5e66c94
--- /dev/null
+++ b/conf/multiconfig/pine64-plus-jailhouse-demo.conf
@@ -0,0 +1,14 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Vijai Kumar K, 2020
+#
+# Authors:
+#  Vijai Kumar K <vijaikumar.kanagara...@gmail.com>
+#
+# SPDX-License-Identifier: MIT
+#
+#
+MACHINE = "pine64-plus"
+
+DISTRO = "jailhouse-demo"
diff --git a/images.list b/images.list
index 26a802d..b794d85 100644
--- a/images.list
+++ b/images.list
@@ -7,3 +7,4 @@ macchiatobin    Marvell MACCHIATObin
 hikey620       LeMaker HiKey (Kirin 620 SoC, 2 GB edition)
 ultra96                Avnet Ultra96
 rpi4           Raspberry Pi 4 (1 GB edition)
+pine64-plus    Pine64+ (Allwinner A64, 2GB edition)
diff --git a/wic/pine64-plus.wks b/wic/pine64-plus.wks
new file mode 100644
index 0000000..aacca04
--- /dev/null
+++ b/wic/pine64-plus.wks
@@ -0,0 +1,16 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Vijai Kumar K, 2020
+#
+# Authors:
+#  Vijai Kumar K <vijaikumar.kanagara...@gmail.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+part u-boot --source rawcopy --sourceparams 
"file=/usr/lib/u-boot/pine64-plus/u-boot-sunxi-with-spl.bin" --no-table --align 
8
+
+part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --label platform 
--align 1024
+
+bootloader --append "rootwait mem=1792M"
-- 
2.17.1

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20200213134430.3052-4-vijaikumar.kanagarajan%40gmail.com.

Reply via email to