evbarm-earmv6hf in qemu

Benny Siegert <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi!

I am trying to get an emulated VM with two or more cores running NetBSD evbarm-earmv6hf.

I tried adding earmv6hf support to anita (https://github.com/bsiegert/anita/tree/earmv6hf) by adding the following:

- qemu with machine set to raspi2b
- kernel as https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/evbarm-earmv6hf/binary/kernel/netbsd-RPI2.gz
- root FS based on https://cdn.netbsd.org/pub/NetBSD/NetBSD-10.0/evbarm-earmv6hf/binary/gzimg/rpi.img.gz

This results in  the following qemu command line:

qemu-system-arm \
    -m 1024 \
    -drive file=work-https---cdn.netbsd.org-pub-NetBSD-NetBSD-10.0-evbarm-earmv6hf-+a5c40c52/wd0.img,format=raw,media=disk,snapshot=off \
    -nographic \
    -M raspi2b \
    -append root=ld0a \
    -kernel work-https---cdn.netbsd.org-pub-NetBSD-NetBSD-10.0-evbarm-earmv6hf-+a5c40c52/netbsd-RPI2

However, this doesn’t work at all. There is no output, or a black screen when running the same without -nographic.

Does anyone have a working setup to test earmv6hf? If so, how?

— 
Benny
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.