On Nov 28, 2020, at 2:19 PM, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
Hi Chris --
Here's a kernel that implements the Linux boot protocol and includes a Linux Arm64 kernel image header, along with an initrd image:
http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/kernel/netbsd-GENERIC64.img.gz
http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/installation/ramdisk/ramdisk.fs
Take care,
Jared
On Sat, 28 Nov 2020, Chris Hanson wrote:
macOS 11 comes with a new Virtualization.framework that makes it straightforward to implement a “headless” virtual machine that should be able to run anything that follows the Linux “kernel, command line, initial RAM disk image” boot protocol and supports a standard set of VirtIO devices. (This is available on Macs with both Apple Silicon and Intel CPUs, though it doesn’t do CPU emulation. An example is here: <https://github.com/KhaosT/SimpleVM>.)
Has anyone built a kernel and initial RAM disk image for NetBSD for “generic” 64-bit ARM (arm64/aarch64) that I could try on Apple Silicon? (I assume such boot pieces already exist for NetBSD on 64-bit Intel; if they do, how are they named? I’d be happy to try that on Macs with Intel CPUs as well, of course.)
— Chris