From 3d5bd034c5cfa1c4bf370004311345a2f67900e4 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Thu, 8 Dec 2022 14:14:16 +0300 Subject: coreboot: Add qemu_arm64_12mb board Add a build for QEMU AArch64 virtual machine using U-Boot as payload. Coreboot config is based on the following defconfig: CONFIG_CBFS_SIZE=0x00c00000 CONFIG_BOARD_EMULATION_QEMU_AARCH64=y CONFIG_CONSOLE_CBMEM_BUFFER_SIZE=0x20000 CONFIG_COREBOOT_ROMSIZE_KB_12288=y CONFIG_UART_PCI_ADDR=0x0 The resulting ROM can be booted with a command line like: qemu-system-aarch64 \ -machine virt,secure=on,virtualization=on \ -cpu cortex-a53 -m 1G \ -vga none -display none -serial stdio \ -bios bin/qemu_arm64_12mb/uboot_*.rom However, this is little more than a proof of concept because U-Boot upstream is missing coreboot integration on non-x86 boards, which could have been useful for e.g. a framebuffer. Signed-off-by: Alper Nebi Yasak --- resources/coreboot/qemu_arm64_12mb/board.cfg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 resources/coreboot/qemu_arm64_12mb/board.cfg (limited to 'resources/coreboot/qemu_arm64_12mb/board.cfg') diff --git a/resources/coreboot/qemu_arm64_12mb/board.cfg b/resources/coreboot/qemu_arm64_12mb/board.cfg new file mode 100644 index 00000000..6b9a58a9 --- /dev/null +++ b/resources/coreboot/qemu_arm64_12mb/board.cfg @@ -0,0 +1,4 @@ +cbtree="default" +romtype="normal" +arch="AArch64" +payload_uboot="y" -- cgit v1.2.1