Port-arm archive

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

Re: VM-friendly 64-bit ARM binaries that use Linux bootloader & VirtIO support?



Yep! If you './build.sh -U -m evbarm64 kernel=GENERIC64', you will get both 'netbsd' (ELF kernel) and 'netbsd.img' (plain binary w/ Linux header) artifacts in the obj directory.

Take care,
Jared


On Sat, 28 Nov 2020, Chris Hanson wrote:

Thanks! Are all the “img” kernels built with the Linux kernel image header?

 — Chris

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





Home | Main Index | Thread Index | Old Index