how can we boot the generic aarch64 image [1] with qemu-system-aarch64 [2]?
i created a raw disk image (vfat+ext4), copied the files over from the tarball and created boot/startup.nsh:
$this->bbcode_second_pass_code('', '
Image root=/dev/vda2 initrd=initramfs-linux.img
')
got a prebuild qemu aarch64 efi [3] and start qemu with:
$this->bbcode_second_pass_code('', '
qemu-system-aarch64 -m 1024 -cpu cortex-a57 -M virt -bios ./QEMU_EFI.fd -serial stdio -drive if=none,file=aarch64alarm.raw,id=hd0 -device virtio-blk-device,drive=hd0
')
the startup.nsh is run, but kernel fails at
$this->bbcode_second_pass_code('', '
ERROR: Unable to find root device '/dev/vda2'
')
what am i missing?
do we need to do more steps than with x86 efi?
or maybe a bug?
[1] http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz
[2] https://www.archlinux.org/packages/extr ... rch-extra/
[3] https://wiki.linaro.org/LEG/UEFIforQEMU