generic aarch64 in qemu

This forum is for discussion about general software issues.

generic aarch64 in qemu

Postby oskude » Sun Mar 20, 2016 2:25 pm

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
oskude
 
Posts: 2
Joined: Sun Mar 20, 2016 2:20 pm

Re: generic aarch64 in qemu

Postby WarheadsSE » Sun Mar 20, 2016 6:16 pm

Some amount of boot logs would be very helpful.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: generic aarch64 in qemu

Postby oskude » Sun Mar 20, 2016 8:52 pm

oskude
 
Posts: 2
Joined: Sun Mar 20, 2016 2:20 pm

Re: generic aarch64 in qemu

Postby WarheadsSE » Mon Mar 21, 2016 11:38 am

Base on what I see in the log, it looks like a missing module.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 29 guests