Comments (5)
@aBradleyUno If you're wondering why the platform name is a bunch of tildes ("~~~~~"):
modifydevicetree.py
probably erased the top level compatible
node in the device tree. In that script, I only whitelisted the top level platform kext for the iPhone X, which has compatible: b'D22AP\x00iPhone10,3\x00AppleARM\x00'
.
This compatible property loads the AppleARMPlatform kext, so even if you fix the modifydevicetree to whitelist that property for your device tree, you'll still get this error since there's no kext - but at least you'll get a better platform name in the error.
from xnu.
@zhuowei Ok so I got the platform message in the panic, and while trying to build a kextcache I got this
Unsupported.kext doesn't support architecture 'arm64'; skipping.
Private.kext doesn't support architecture 'arm64'; skipping.
Mach.kext doesn't support architecture 'arm64'; skipping.
MACFramework.kext doesn't support architecture 'arm64'; skipping.
Libkern.kext doesn't support architecture 'arm64'; skipping.
Kasan.kext doesn't support architecture 'arm64'; skipping.
IOKit.kext doesn't support architecture 'arm64'; skipping.
BSDKernel.kext doesn't support architecture 'arm64'; skipping.
Adding /Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/IOSystemManagement.kext to prelinked kernel.
Adding /Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/IONVRAMFamily.kext to prelinked kernel.
Adding /Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/ApplePlatformFamily.kext to prelinked kernel.
Adding /Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/AppleNMI.kext to prelinked kernel.
Adding /Volumes/Darm64/System/Library/Extensions/System.kext to prelinked kernel.
command file /Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported
reveals something weird
/Volumes/Darm64/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported: Mach-O 64-bit kext bundle ppc64
from xnu.
What command did you run to generate the kernelcache?
from xnu.
sudo kextcache -z -a arm64 -c /Volumes/Darm64/kernelcache.debug -K BUILD/obj/mach.debug /Volumes/Darm64/System/Library/Extensions -v 6
from xnu.
@zhuowei so, my bad, wrong cpu type there. Now Assertion failed: (nNonSplitKexts), function __OSKextGetPLKSegSizes, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/IOKitUser/IOKitUser-1483.201.1/kext.subproj/OSKext.c, line 16718. zsh: abort sudo kextcache -z -a arm64 -c /Volumes/Darm64/kernelcache.debug -K -v 6
from xnu.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xnu.