From: Jan Kiszka <[email protected]> Add the remaining bits to enable building of an SD card image for the Avnet Ultra96 board.
Signed-off-by: Jan Kiszka <[email protected]> --- conf/machine/ultra96.conf | 24 ++++++++++++++++++++++++ conf/multiconfig/ultra96-jailhouse-demo.conf | 14 ++++++++++++++ images.list | 1 + wic/ultra96.wks | 16 ++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 conf/machine/ultra96.conf create mode 100644 conf/multiconfig/ultra96-jailhouse-demo.conf create mode 100644 wic/ultra96.wks diff --git a/conf/machine/ultra96.conf b/conf/machine/ultra96.conf new file mode 100644 index 0000000..022024a --- /dev/null +++ b/conf/machine/ultra96.conf @@ -0,0 +1,24 @@ +# +# Jailhouse, a Linux-based partitioning hypervisor +# +# Copyright (c) Siemens AG, 2019 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +DISTRO_ARCH = "arm64" + +IMAGE_TYPE = "wic-img" +IMAGER_INSTALL += "u-boot-ultra96" +IMAGER_BUILD_DEPS += "u-boot-ultra96" +IMAGE_INSTALL_append = " u-boot-script" + +IMAGE_BOOT_FILES = "/usr/lib/u-boot/ultra96/boot.bin;boot.bin" + +PREFERRED_PROVIDER_u-boot-ultra96 = "u-boot-ultra96" +PREFERRED_PROVIDER_u-boot-tools = "u-boot-ultra96" + +IMAGE_PREINSTALL_append = " firmware-ti-connectivity" diff --git a/conf/multiconfig/ultra96-jailhouse-demo.conf b/conf/multiconfig/ultra96-jailhouse-demo.conf new file mode 100644 index 0000000..eccb51f --- /dev/null +++ b/conf/multiconfig/ultra96-jailhouse-demo.conf @@ -0,0 +1,14 @@ +# +# Jailhouse, a Linux-based partitioning hypervisor +# +# Copyright (c) Siemens AG, 2019 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +MACHINE = "ultra96" + +DISTRO = "jailhouse-demo" diff --git a/images.list b/images.list index 3c12c54..8dfeca8 100644 --- a/images.list +++ b/images.list @@ -5,3 +5,4 @@ nuc6cay Intel NUC (NUC6CAY, 8 GB RAM) espressobin Marvell ESPRESSObin (1 GB edition) macchiatobin Marvell MACCHIATObin hikey620 LeMaker HiKey (Kirin 620 SoC, 2 GB edition) +ultra96 Avnet Ultra96 diff --git a/wic/ultra96.wks b/wic/ultra96.wks new file mode 100644 index 0000000..305cc1e --- /dev/null +++ b/wic/ultra96.wks @@ -0,0 +1,16 @@ +# +# Jailhouse, a Linux-based partitioning hypervisor +# +# Copyright (c) Siemens AG, 2019 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +part --source bootimg-partition --ondisk mmcblk0 --fstype vfat --label boot --align 1 --size 16 --overhead-factor 1 --extra-space 0 + +part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --label platform --align 1024 --active + +bootloader --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.
