I tried writing Leap 15.2 EFI image to a SD card and slotting it into a
board, and it just works.
However, booting openSUSE in qemu is really difficult.
First you need the qemu which by deafult provides only aarch64 uefi, you
need to ask for the arm32 one:
zypper in qemu-arm qemu-uefi-aarch32
Than you need to create flash images for the firmware - at least there
are numerous guides that tell you that. Imagine it just worked like x86
dd if=/dev/zero of=flash0.img bs=1M count=64
dd if=/dev/zero of=flash1.img bs=1M count=64
dd if=/usr/share/qemu/aavmf-aarch32-code.bin of=flash0.img conv=notrunc
dd if=/usr/share/qemu/aavmf-aarch32-vars.bin of=flash1.img conv=notrunc
Finally you can boot the image
qemu-system-aarch64 -nographic -machine virt -drive
-device virtio-blk,drive=drive0,bootindex=0 -drive
after a lot of output grub comes up and complains:
error: failed to install/update FDT.
Loading Linux 5.8.7-1-default ...
Loading initial ramdisk ...
Press any key to continue...
That is when it does complain. Initially you select from the menu and
grub just immediately returns to the menu overwriting any error shown
with the menu background.
Is there a way to run ARM Tumbleweed in qemu?
I might be better off with statically linked qemu-user I suppose.
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org