Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/arm64 on QEMU



Jared,

You wrote:
> SMP=8
> MEM=2g
> qemu-system-aarch64 -M virt -cpu cortex-a57 -smp $SMP -m $MEM \
>    -drive if=none,file=arm64.img,id=hd0 -device virtio-blk-device,drive=hd0 \
>    -netdev type=user,id=net0 -device virtio-net-device,netdev=net0,mac=00:11:22:33:44:55 \
>    -kernel netbsd.img -append root=ld4a

Thank you for working on this!

Is the netbsd.img above an uncompressed binary/kernel/netbsd-GENERIC64.img.gz
from the release build?

I tried running build.sh release with -m evbarm -a aarch64 and then

  gunzip <$release/evbarm/binary/gzimg/arm64.img.gz >arm64.img
  gunzip <$release/evbarm/binary/kernel/netbsd-GENERIC64.img.gz >netbsd.img

followed by the commands quoted above, but they failed with:

  WARNING: Image format was not specified for 'arm64.img' and probing guessed raw.
           Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
           Specify the 'raw' format explicitly to remove the restrictions.
  VNC server running on ::1:5900
  rom: requested regions overlap (rom bootloader. free=0x000000004095f6cc, addr=0x0000000040000000)
  qemu-system-aarch64: rom check and register reset failed

This is using QEMU 3.0.0 from pkgsrc.
-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index