From: Jan Kiszka <[email protected]> Add the remaining bits to enable building of an SD card image for the LeMake HiKey board (2 GB edition).
Signed-off-by: Jan Kiszka <[email protected]> --- conf/multiconfig/hikey-jailhouse.conf | 21 +++++++++++++++++++++ images.list | 1 + scripts/lib/wic/canned-wks/hikey.wks | 16 ++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 conf/multiconfig/hikey-jailhouse.conf create mode 100644 scripts/lib/wic/canned-wks/hikey.wks diff --git a/conf/multiconfig/hikey-jailhouse.conf b/conf/multiconfig/hikey-jailhouse.conf new file mode 100644 index 0000000..399b1cc --- /dev/null +++ b/conf/multiconfig/hikey-jailhouse.conf @@ -0,0 +1,21 @@ +# +# Jailhouse, a Linux-based partitioning hypervisor +# +# Copyright (c) Siemens AG, 2018 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0 +# + +MACHINE = "hikey" + +DISTRO = "jailhouse-demo" +DISTRO_ARCH = "arm64" + +IMAGE_TYPE = "wic-img" +WKS_FILE = "hikey" +IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}" + +IMAGE_PREINSTALL_append = " firmware-ti-connectivity" diff --git a/images.list b/images.list index 6613567..ac0f787 100644 --- a/images.list +++ b/images.list @@ -3,3 +3,4 @@ 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) +hikey LeMaker HiKey (2 GB edition) diff --git a/scripts/lib/wic/canned-wks/hikey.wks b/scripts/lib/wic/canned-wks/hikey.wks new file mode 100644 index 0000000..6d74f7e --- /dev/null +++ b/scripts/lib/wic/canned-wks/hikey.wks @@ -0,0 +1,16 @@ +# +# Jailhouse, a Linux-based partitioning hypervisor +# +# Copyright (c) Siemens AG, 2018 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0 +# + +part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk mmcblk1 --label efi --part-type EF00 --align 1024 + +part / --source rootfs --ondisk mmcblk1 --fstype ext4 --label platform --align 1024 --use-uuid + +bootloader --ptable gpt --timeout=3 --append "mem=1820M" -- 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.
