summaryrefslogtreecommitdiff
path: root/resources/coreboot/qemu_arm64_12mb/board.cfg
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-08 14:14:16 +0300
committerAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-10 14:19:00 +0300
commit3d5bd034c5cfa1c4bf370004311345a2f67900e4 (patch)
tree4a52ca9fd1e8d9bc4ad1ac17b10e2f87f8c29ce4 /resources/coreboot/qemu_arm64_12mb/board.cfg
parentd14731beefd661324a85008b1b35a64bb3f4db92 (diff)
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 <alpernebiyasak@gmail.com>
Diffstat (limited to 'resources/coreboot/qemu_arm64_12mb/board.cfg')
-rw-r--r--resources/coreboot/qemu_arm64_12mb/board.cfg4
1 files changed, 4 insertions, 0 deletions
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"