Skip to content

Not able to boot using the compiled kernel file #20

@tumusudheer

Description

@tumusudheer

I was able to successfullt build the kernel file oss-xnu.macOS.15.0.kc.vmapple on my laptop is running mac os 15.0 (24A335).
With the following command:
MACOS_VERSION='15.0' KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=VMAPPLE ./build.sh --kc

I'm trying to use qemu-system-aarch64 to boot using the kernel, on the same mac laptop. But, I'm not able to boot a VM. This is the exact command used for qemu.

 > qemu-system-aarch64 -machine virt -cpu cortex-a57 -m 1024M  -kernel darwin-xnu-build/fakeroot/oss-xnu.macOS.15.0.kc.vmapple -drive file=bootable_os_folders/qroot.img,format=raw -append "root=/dev/vda rw console=ttyAMA0" -nographic

qroot.img is ext4 image which contains some toybox commands for init and some empty directory root structure such as usr, bin, lib etc.

Can you help me how to use the compiled kernel file oss-xnu.macOS.15.0.kc.vmapple to boot ? which applications you used to test and the commands ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions