#
#asahi-re · 2021-02-10 15:14
davidrysk[m]also I assume that iBoot uses some of the Apple features like PAC
#asahi-re · 2021-02-10 15:14
marcanI don't know how to write kexts though :-) (yet)
#asahi-re · 2021-02-10 15:14
marcansure
#asahi-re · 2021-02-10 15:14
davidrysk[m]marcan: is it possible to dump them after macOS has booted, e.g. using a kext?
#asahi-re · 2021-02-10 15:00
marcanhttps://github.com/AsahiLinux/docs/wiki/HW:ARM-System-Registers-Dumps full vendor-specific register dump
#asahi-re · 2021-02-08 21:13
never_released:P
#asahi-re · 2021-02-08 21:13
never_releasedA12 didn't have EL2
#asahi-re · 2021-02-08 20:38
davidrysk[m]heh I Think you're right
#asahi-re · 2021-02-08 20:31
j`eyisn't that from the arm arm?
#asahi-re · 2021-02-08 20:30
davidrysk[m]marcan: some of the RE'd PAC code from the A12 iOS kernel seems to check HCR_EL2.E2H -- https://googleprojectzero.blogspot.com/2019/02/examining-pointer-authentication-on.html
#asahi-re · 2021-02-07 18:25
marcanthese are device tunables, not cpu tunables, AIUI
#asahi-re · 2021-02-07 18:24
marcanthey are in the adt
#asahi-re · 2021-02-07 18:24
marcanyes
#asahi-re · 2021-02-07 18:24
davidrysk[m]it also seems to have per-machine tunables
#asahi-re · 2021-02-07 18:24
marcaneverything applies tunables
#asahi-re · 2021-02-07 18:24
davidrysk[m]huh AppleT8103PMGR.kext has functions that apply tunables...
#asahi-re · 2021-02-07 16:18
roxfanwlan.uart.baudrate hmm
#asahi-re · 2021-02-07 15:47
modwizcodeThanks for the dump though I've needed this for awhile but putting it off in favor of other work
#asahi-re · 2021-02-07 15:47
modwizcodeWell I'm not planning on coming to japan or wherever to steal your wifi so I think you're probably safe for now
#asahi-re · 2021-02-07 15:35
marcan(if you care about this)
#asahi-re · 2021-02-07 15:35
marcanbut yeah don't go sharing your devicetrees/nvram dumps
#asahi-re · 2021-02-07 15:34
marcan(it's my guest network so meh)
#asahi-re · 2021-02-07 15:33
marcannow we know they're stored as wpa hashes :p
#asahi-re · 2021-02-07 15:33
marcanah yeah, it is in there, oh well :D
#asahi-re · 2021-02-07 15:32
marcanthere's enough crypto garbage after the network name that it might be the hashed password :D
#asahi-re · 2021-02-07 15:32
marcanat least not in plaintext :p
#asahi-re · 2021-02-07 15:32
rootspring[m]Uh oh
#asahi-re · 2021-02-07 15:31
marcanhttps://hub.marcan.st/t/devtree_after_iboot.bin I *think* that only has my wifi network name in there and not the password but :-)
#asahi-re · 2021-02-07 15:30
modwizcodemarcan (or whoever) can I get a binary dump of an adt from a mac mini?
#asahi-re · 2021-02-07 11:27
marcanit does sound like debug something; hibernate debug stuff writes to both the debug-console and dockchannel uart
#asahi-re · 2021-02-07 11:21
marcan | reg: [00 80 12 3d 00 00 00 00 00 00 01 00 00 00 00 00 00 c0 10 3d 00 00 00 00 18 00 00 00 00 00 00 00]
#asahi-re · 2021-02-07 11:20
marcandockchannel-uart is in the devtree
#asahi-re · 2021-02-07 11:18
marcanI think even the lightning ones support a serial mode
#asahi-re · 2021-02-07 11:17
marcanthat's where all the stupid auth stuff was done too IIRC, at least until they started switching to USB
#asahi-re · 2021-02-07 11:17
marcaniPhones had a serial port to talk to docks/accessories (acc serial)
#asahi-re · 2021-02-07 11:17
marcanroxfan: "dockchannel" as in something on old iPhones or M1 stuff?
#asahi-re · 2021-02-06 22:27
davidrysk[m]seems it might be an alternate debug uart?
#asahi-re · 2021-02-06 22:18
davidrysk[m]roxfan: xnu seems to do some stuff with the dockchannel-uart in pexpert/arm/pe_serial.c
#asahi-re · 2021-02-06 22:03
roxfanbut looks like dumping is not implemented
#asahi-re · 2021-02-06 22:02
roxfanseems adt.c in m1n1 can parse it
#asahi-re · 2021-02-06 21:58
roxfanno, the devtree from bootloader
#asahi-re · 2021-02-06 21:58
davidrysk[m]roxfan: a live ioreg dump from macOS?
#asahi-re · 2021-02-06 21:56
roxfani wonder if "debug USB" is related to dockchannel-uart
#asahi-re · 2021-02-06 21:55
roxfandoes anyone have device tree dump?
#asahi-re · 2021-02-04 23:17
roxfanapparently there is some uart called "dockchannel"
#asahi-re · 2021-02-04 22:26
roxfanshit breaks when you don't have regression tests
#asahi-re · 2021-02-04 22:19
macc24marcan: if i can get linux on my 4S, i may be able to test the driver on it
#asahi-re · 2021-02-04 19:18
krbtgtand it was great
#asahi-re · 2021-02-04 19:18
krbtgti saw them put the work in
#asahi-re · 2021-02-04 19:18
krbtgtyup

plus ›