darm64 / xnu Goto Github PK
View Code? Open in Web Editor NEWResearch into porting the XNU kernel to ARM devices.
Home Page: https://discord.gg/bYzusvB
License: Other
Research into porting the XNU kernel to ARM devices.
Home Page: https://discord.gg/bYzusvB
License: Other
Line 1224 in 1eb20fd
I'm not completely sure but I think we need some kexts.
After
Reading startup extensions.
Loading Kernel External Components.
Reading built-in kernel personalities for I/O Kit drivers.
Sending all eligible registered kexts' personalities to the IOCatalogue but not starting matching.
0 kext personality sent to the IOCatalogue; matching not started.
Kernel panics with
panic(cpu 0 caller 0xfffffff00785dd0c): "Unable to find driver for this platform: \"~~~~~~~~~~~~~~~~~~~~~~~~\".\n"
Nested panic detected:Kernel data abort. (saved state: 0xffffffe01b50aee0)
x0: 0xfffffff00700e852 x1: 0x0000000000000000 x2: 0x000000000000000d x3: 0x0000000000000000
x4: 0x0000000000000001 x5: 0x0000000000000001 x6: 0x0000000000000000 x7: 0xffffffe01b4ebb64
x8: 0x0000000000000000 x9: 0xffffffe00020e080 x10: 0xffffffe00020e080 x11: 0x0000000000000000
x12: 0x0000000000000010 x13: 0x0000000000000066 x14: 0xffffffe002000000 x15: 0xfffffff007128e30
x16: 0xdeb8f177deb8f177 x17: 0xdeb8f177deb8f177 x18: 0xfffffff0072ed000 x19: 0xdeb8f177deb8f177
x20: 0x0000000000000000 x21: 0xffffffe01b50b4b0 x22: 0xfffffff0072ed534 x23: 0x00000000600003c4
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0xdeb8f177deb8f177 x27: 0xdeb8f177deb8f177
x28: 0xdeb8f177deb8f177 fp: 0xffffffe01b50b250 lr: 0xfffffff007117db0 sp: 0xffffffe01b50b230
pc: 0xfffffff0072fbccc cpsr: 0x600003c4 esr: 0x96000005 far: 0x0000000000000014
The call trace is the following.
Do you guys think this is the kernel asking us for the basic kexts or is it something else?
I'm very interested in this project and I was wondering if this could run on the BCM2711, Raspberry Pi 4
Great project :)
I really like the idea of it, and it honestly feels like darwin-on-arm is sorta coming back.
I was wondering if you had a todo list of things that should be implemented (such as filling in functions that were "stubbed" out) and perhaps building a toolchain to compile on *nix.
Also: you accepting pull reqs? :P
On linking I get this
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/local/lib/kernel/libfirehose_kernel.a, file was built for archive which is not the architecture being linked (arm64): /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/local/lib/kernel/libfirehose_kernel.a
undef: ___firehose_buffer_tracepoint_flush
undef: ___firehose_buffer_create
undef: ___firehose_buffer_tracepoint_reserve
undef: ___firehose_merge_updates
Undefined symbols for architecture arm64:
"___firehose_buffer_tracepoint_flush", referenced from:
__firehose_trace in lto.o
"___firehose_buffer_create", referenced from:
_oslog_init in lto.o
"___firehose_buffer_tracepoint_reserve", referenced from:
__firehose_trace in lto.o
"___firehose_merge_updates", referenced from:
_oslogioctl in lto.o
ld: symbol(s) not found for architecture arm64
make: *** [all] Error 2
Currently we are able to build a mach0 binary, the boot process starts but panics everywhere... If you have experience with lldb please PM @abradleyuno on twitter.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.