From 34ea0e1f7e96709b22e0af70e431478b803818ee Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 11 Sep 2023 17:20:57 +0100 Subject: [PATCH] misc/emulation: add note about u-boot on qemu Signed-off-by: Leah Rowe --- site/docs/misc/emulation.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/site/docs/misc/emulation.md b/site/docs/misc/emulation.md index 617b975..c31da3e 100644 --- a/site/docs/misc/emulation.md +++ b/site/docs/misc/emulation.md @@ -23,19 +23,23 @@ In order to test the resulting roms, you must have qemu installed on the host ma Test the roms by pointing qemu to the rom in bios mode. For example: -`qemu-system-x86_64 -bios bin/qemu_x86_12mb/grub_qemu_x86_12mb_libgfxinit_corebootfb_usqwerty.rom` +`qemu-system-x86_64 -bios bin/qemu_x86_12mb/grub_qemu_x86_12mb_libgfxinit_corebootfb_usqwerty_noblobs.rom` -`qemu-system-x86_64 -bios bin/qemu_x86_12mb/uboot_payload_qemu_x86_12mb_libgfxinit_corebootfb.rom -serial stdio` +`qemu-system-x86_64 -bios bin/qemu_x86_12mb/uboot_payload_qemu_x86_12mb_libgfxinit_corebootfb_noblobs.rom -serial stdio` There is basic support for an arm64 virtual machine as well, although the payloads are not as developed as the x86 one: ./build boot roms qemu_arm64_12mb ``` -qemu-system-aarch64 -bios bin/qemu_arm64_12mb/uboot_payload_qemu_arm64_12mb_libgfxinit_corebootfb.rom \ +qemu-system-aarch64 -bios bin/qemu_arm64_12mb/uboot_payload_qemu_arm64_12mb_libgfxinit_corebootfb_noblobs.rom \ -M virt,secure=on,virtualization=on,acpi=on -cpu cortex-a53 -m 768M -serial stdio -vga none -display none ``` +NOTE: After the 20230625 release, U-Boot support was removed from x86 Qemu; it's +also problematic on ARM-based Qemu. Only x86 qemu, with other payloads, is to +be considered reliable for now. + Use Cases =========