Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to boot using the compiled kernel file #20

Open
tumusudheer opened this issue Oct 17, 2024 · 0 comments
Open

Not able to boot using the compiled kernel file #20

tumusudheer opened this issue Oct 17, 2024 · 0 comments

Comments

@tumusudheer
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant