Git Product home page Git Product logo

darwin-xnu-build's People

Contributors

blacktop avatar dependabot[bot] avatar jprx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darwin-xnu-build's Issues

macOS 13.2 Infinite boot state

The build was successful with the build.sh script, but when booting with the corresponding kc file, it goes into an infinite boot state.
My Mac OS environment is as follows
MacBook pro (m1pro)
macOS version: 13.2
Xcode version: 14.3
Building macOS version: 13.2
build command :
KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=T6000 ./build.sh --kc (withdout CodeQL DB)

I disabled SIP ("csrutil disable") and also ran "bputil -a" to allow custom boot-args to be sent to the kernel.

Also, I added boot-arg like this
sudo nvram boot-args="-unsafe_kernel_text "
(I also tried "wlan.skywalk.enable=0 dk=0", but it failed).

If you run it on a different version (14.2), the kc build will give an error that the symbol cannot be found in "com.apple.driver.AppleH11ANEInterface". I only succeeded with kc build on version 13.2. However, as mentioned before, it goes into an infinite boot state.

Can I get a workaround for this problem?

Thanks.

libtool error when building

Hi,

First of all, thanks for the script! I'm getting an error below and don't know what is causing it. I'm using Apple Silicon Mac but I guess that's not an issue here.

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/mortar/Desktop/goodies/darwin-xnu-build/build/dtrace.obj/dtrace.build/Release/libelf.build/Objects-normal/arm64/clscook.o is not an object file (not allowed in a library)
Libtool /Users/mortar/Desktop/goodies/darwin-xnu-build/build/dtrace.obj/UninstalledProducts/macosx/libelf.a normal (in target 'libelf' from project 'dtrace')

Am I mssing something? I just run ./build.sh,that's all.

Thanks in advance

Installation and UTM Host

Hey there!

Awesome work on your library, I was hoping to play around with a custom kernel in a UTM VM for 13.5 (first attempt) and then 13.2 (second attempt) and ran into some trouble. I know 13.5 isn't officially supported, but is the general workflow:

KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=VMAPPLE ./build.sh --kc
and then in Recovery Mode

bputil -a
csrutil disable
kmutil configure-boot -c /path/to/darwin-xnu-build/fakeroot/oss-xnu.macOS.13.x.release.vmapple.kc.release

It seems to build okay I just can't get the kernel to boot. Do you have any thoughts on it? Thanks!

osx 12?

was curious if maybe you know something that works with osx12? The guides on osx11 already don't apply which is so sadge and annoying... ':(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.