Port-arm archive

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

Re: NetBSD/arm64 on QEMU



I just tested this kernel from releng and it booted for me on QEMU 3.0.0:

http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/kernel/netbsd-GENERIC64.img.gz


On Sun, 30 Sep 2018, Jared McNeill wrote:

On Sun, 30 Sep 2018, Andreas Gustafsson wrote:

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

Yep.

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

Looks like your kernel is not up to date. This was fixed by the following commit:

http://mail-index.netbsd.org/source-changes/2018/09/29/msg099606.html

Cheers,
Jared



Home | Main Index | Thread Index | Old Index