#
✕ nick:nickchan
#asahi-re · 2026-05-04 14:15
nickchanso the only option of x86_64 compat would be to run under sptm in EL1 (so pagetables actually work)
#asahi-re · 2026-05-04 14:15
nickchanaaaaaaaaaaaaaaaa
#asahi-re · 2026-05-04 14:02
nickchanreading the asahi kernel code ACTLR_EL1 being RES0 must be the case
#asahi-re · 2026-05-04 13:57
nickchan(Also check the if bits in HACR_EL2 could be set)
#asahi-re · 2026-05-04 13:56
nickchan Does ACTLR_EL1 behave as RES0?
#asahi-re · 2026-05-04 13:56
nickchan>...Apple TSO but it is broken
#asahi-re · 2026-03-05 01:10
nickchanStandard Efficiency Super Performance
#asahi-re · 2026-03-05 01:10
nickchanxnu cluster types:
#asahi-re · 2026-03-05 01:10
nickchankernelcache.release.mac17j
#asahi-re · 2026-02-19 03:39
nickchanmode 2 should be shallow
#asahi-re · 2026-02-13 11:49
nickchan"Firmware/all_flash/iBoot.*.RELEASE.im4p"
#asahi-re · 2026-02-13 11:49
nickchanand of course iBootStage2 as well
#asahi-re · 2026-02-13 11:49
nickchan"Firmware/all_flash/LLB.*.RELEASE.im4p"
#asahi-re · 2026-02-13 11:48
nickchanI can locate iBootStage1 just fine in macOS 26.2 ipsw
#asahi-re · 2026-02-07 12:43
nickchanfrom vphone600ap dt included in some pcc firmwares
#asahi-re · 2026-02-07 12:41
nickchan"device-tree-tag" property in ADT => EmbeddedDeviceTrees-11156.42.1 (example)
#asahi-re · 2026-02-07 12:22
nickchannnym: I think it's just another name of ADT
#asahi-re · 2026-02-06 17:31
nickchanedt = EmbeddedDeviceTree
#asahi-re · 2026-01-28 09:03
nickchanive needed to set cdw12 to 0 on t8015
#asahi-re · 2026-01-14 18:36
nickchanso can't all the logic just be in iboot
#asahi-re · 2026-01-14 18:35
nickchanin the case of raw bin
#asahi-re · 2026-01-14 18:35
nickchani mean the final fuos img4 is not a macho
#asahi-re · 2026-01-14 05:43
nickchankclo => Kernel Cache Lowest Virtual Address; kcep => Kernel Cache Entry Point;
#asahi-re · 2026-01-14 05:41
nickchanso it's all 4cc
#asahi-re · 2026-01-14 05:41
nickchanand it really isn't obfuscated it just need to fit inside a uint32_t
#asahi-re · 2026-01-14 05:39
nickchannnym: how about raw m1n1.bin's boot properties?
#asahi-re · 2026-01-13 11:33
nickchanokay wrong channel
#asahi-re · 2026-01-13 11:33
nickchanon apple a11 ios 16 firmware reading more than 0x80 bytes of BMSN causes SError in SMC SRAM range so i have to modify the driver to check key size before reading
#asahi-re · 2026-01-13 07:08
nickchanI use machos sometimes but I roll my own .ld script
#asahi-re · 2026-01-13 07:08
nickchanno one is seriously using the original m1n1 macho these days are there?
#asahi-re · 2026-01-13 06:58
nickchanso dummy segments can be added without affecting the file layout
#asahi-re · 2026-01-13 06:58
nickchanin any case for segments it seems that apple's parsers will accept filesize=0 vmsize=0 segments
#asahi-re · 2026-01-13 06:57
nickchanbut that's probably because macs uses fileset
#asahi-re · 2026-01-13 06:56
nickchani tried giving kmutil a m1n1 macho pretending to be a prelink kernelcache with __TEXT, __PRELINK_TEXT and __LAST and kmutil didn't like it either
#asahi-re · 2026-01-13 06:55
nickchanthe m1m1 macho problem goes beyond just __TEXT
#asahi-re · 2026-01-12 09:34
nickchanit might lose state after s2ram but reconfig probably programs the bit again
#asahi-re · 2025-12-28 11:32
nickchanstill no good same-EL xnu tracing...
#asahi-re · 2025-12-28 11:30
nickchanuses m1n1's hv load/store emulator of course :)
#asahi-re · 2025-12-28 11:29
nickchannot anything related to specific peripherals thogh, i think
#asahi-re · 2025-12-28 11:28
nickchan+ the sizes of the mmio region is used for patchfinding and that info is also available from adt
#asahi-re · 2025-12-28 11:26
nickchanmostly some structs related to generic arm stuff
#asahi-re · 2025-12-28 11:25
nickchanhttps://github.com/HoolockLinux/iboot_tracer
#asahi-re · 2025-12-28 11:25
nickchani have released my a11 iboot tracer (note this thing itself is filled with binary RE cause it needs to force link code into iboot)
#asahi-re · 2025-12-14 03:59
nickchanso i presume when bits are set in AGTCNTRDIR_EL{1,2,12} your reg access gets redirected to those 24 MHz custom registers instead of the standard 1 GHz ones
#asahi-re · 2025-12-14 03:58
nickchanso they kind of have to keep the 24 MHz counter going
#asahi-re · 2025-12-14 03:58
nickchanbut... apple exposed those regs to EL0 and maybe their vmapple guests has assumptions about timers as well
#asahi-re · 2025-12-14 03:57
nickchanarmv8.6 does require 1GHz timer
#asahi-re · 2025-12-14 03:57
nickchanchadmed: <https://github.com/apple-oss-distributions/xnu/blob/43a90889846e00bfb5cf1d255cdc0a701a1e05a4/pexpert/pexpert/arm64/H15.h#L49> probably just means 24 MHz timer
#asahi-re · 2025-12-14 03:55
nickchanmore clearly: git diff xnu-11215.1.10 xnu-11417.121.6 -- osfmk/arm64/machine_routines.c
#asahi-re · 2025-12-14 03:53
nickchanAGTCNTV_TVAL_EL0 = S3_1_C15_C15_4, AGTCNTVCT_EL0 = S3_4_C15_C11_7, AGTCNTVCTSS_EL0 = S3_4_C15_C10_6, AGTCNTV_CTL_EL0 = S3_1_C15_C0_5, AGTCNTKCTL_EL1 = S3_4_C15_C9_6

plus ›