Trivial things and self-note

Blog @ Ben | imbushuo


  • Home
  • Archive
  • Categories
  • Tags
  • Links
  •    

© 2022 Bingxing Wang

Theme Typography by Makito

Proudly published with Hexo

Build XNU 6153.141.1 ARM64

Posted at 2020-09-07 Comments uncategorized  arm64 darwin xnu 

Darwin Kernel Version 19.6.0: Mon Sep  7 21:53:47 EDT 2020; binwang:XNU/BUILD/obj/DEVELOPMENT_ARM64_BCM2837

It is similar to building XNU 4903, but a few things changed. I am just writing down my quick diff here:

  • Dependencies have version dump, take the latest version. dtrace/CTF Tools need to have macosx.internal SDK string replaced with the public macOS SDK string.
  • Missing a LLVM header file. Get it from here.
  • I also commented the embedded map thing out, but there’s one more place referencing it compared to 4903.
  • IODMACommand.iig generates a duplicated const qualifier. Remove the additional const qualifier at line 116.
  • Other steps are similar.

make LOGCOLORS=y SDKROOT=iphoneos ARCH_CONFIGS=ARM64 MACHINE_CONFIGS=BCM2837 KERNEL_CONFIGS=DEVELOPMENT ARCH_STRING_FOR_CURRENT_MACHINE_CONFIG=arm64

 Previous post: Migrated Blog from WordPress to Hexo Next post: Load Kernel-Mode Code in User-Mode Process 

© 2022 Bingxing Wang

Theme Typography by Makito

Proudly published with Hexo