diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-03-08 20:32:12 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-17 11:56:57 +0100 |
commit | 79f3310451fcf32a27b357a6311e03413b5c93ca (patch) | |
tree | 6dba960466245de3c36450aff51d4825b1438b0a /Documentation/boards | |
parent | 2613ac868df391a22cf2e35dbd719c47b64fae41 (diff) | |
download | barebox-79f3310451fcf32a27b357a6311e03413b5c93ca.tar.gz barebox-79f3310451fcf32a27b357a6311e03413b5c93ca.tar.xz |
ARM64: qemu-virt64: migrate to generic DT image
Current qemu-virt64 barebox support doesn't look much like what's
offered on physical boards. It's not relocatable, lacks PBL and
doesn't use device tree. As qemu-system-aarch64 -M virt -kernel
already supplies an external device tree, we could just replace
all existing support with BOARD_ARM_GENERIC_DT, which builds a
barebox image that reuses an externally passed device tree.
The 32-bit ARM VIRT support has some board code for host name
setting and overlay applying to handle environment and state
on flash. We could do without that, given the new virtio-blk
support, but the code is already there, so reuse it and drop
all current virt64-specific board code.
As the barebox ELF image resulting from the build can no longer be
directly booted as before and only with -kernel, not -bios, rename
the Kconfig symbol, so existing users can notice this during build.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/boards')
-rw-r--r-- | Documentation/boards/aarch64-qemu-virt.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/boards/aarch64-qemu-virt.rst b/Documentation/boards/aarch64-qemu-virt.rst index 5f6cd882d5..42e7d00bfe 100644 --- a/Documentation/boards/aarch64-qemu-virt.rst +++ b/Documentation/boards/aarch64-qemu-virt.rst @@ -8,7 +8,8 @@ Running barebox on QEMU aarch64 virt machine ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Usage:: + $ qemu-system-aarch64 -m 2048M \ -cpu cortex-a57 -machine virt \ -display none -serial stdio \ - -kernel ../barebox/barebox + -kernel ./images/barebox-dt-2nd.img |