- Add the necessary machine, multiconfig and wks file. - Add entry in images list. - Add info in README.
Signed-off-by: Vijai Kumar K <[email protected]> --- README.md | 6 ++++++ conf/machine/pine64-plus.conf | 19 +++++++++++++++++++ .../pine64-plus-jailhouse-demo.conf | 14 ++++++++++++++ images.list | 1 + wic/pine64-plus.wks | 16 ++++++++++++++++ 5 files changed, 56 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/README.md b/README.md index 8841513..99d9f0d 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,12 @@ is support. You can boot the board directly from the generated SD card image. The mini UART on the GPIO header (pin 6/8/10: Ground/TXD/RXD) is used as serial console. +## Pine64+ + +The [Pine64+](https://www.pine64.org/devices/single-board-computers/pine-a64/) +with Allwinner A64 is supported with its 2GB edition. You can boot the board +directly from the generated SD card image. UART0 available via EXP 10 connector +(pin 7/8/9: TXD/RXD/GND) is used as serial console. For details refer [here](https://linux-sunxi.org/Pine64#Serial_port_.2F_UART). Community Resources ------------------- 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 <[email protected]> +# +# 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 <[email protected]> +# +# 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 <[email protected]> +# +# 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20200214162440.27509-4-vijaikumar.kanagarajan%40gmail.com.
