#
#asahi-re · 2021-01-10 03:54
marcanDevice Address Resolution Table
#asahi-re · 2021-01-10 03:54
marcanoh, not quite
#asahi-re · 2021-01-10 03:50
marcanartemist: I'm going to guess it came from GART? except Device instead of Graphics?
#asahi-re · 2021-01-10 03:45
davidrysk[m]I wonder just how many engineers involved with PowerPC bringup came back to Apple to get M1 going :)
#asahi-re · 2021-01-10 03:39
winocmPowerPC will never die
#asahi-re · 2021-01-10 03:38
artemistThey really do like taking terminology from ppc
#asahi-re · 2021-01-10 03:38
artemistwhy the hell does apple have to call it "dart" (something rather hard to search for) rather than just, like, IOMMU table
#asahi-re · 2021-01-10 03:30
rwhitbyFor future reference, Apple Configurator 2 stored the .ipsw file at ~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Firmware/UniversalMac_11.1_20C69_Restore.ipsw
#asahi-re · 2021-01-10 00:50
Shizpushed
#asahi-re · 2021-01-10 00:45
jn__(i don't have a DT blob to test with, otherwise i'd send a PR)
#asahi-re · 2021-01-10 00:44
jn__ /cpus/cpu0/interrupts is "F", i think the string heuristic should only trigger if there's one nul byte at the end
#asahi-re · 2021-01-10 00:40
Shizfeel free to add any appropriate https://github.com/Shizmob/img4/blob/master/dt.py#L25
#asahi-re · 2021-01-10 00:38
Shizalso in git now
#asahi-re · 2021-01-10 00:37
jn__awesome
#asahi-re · 2021-01-10 00:36
Shizstring lists parsed
#asahi-re · 2021-01-10 00:36
Shizhttps://txt.shiz.me/MzQ1ZDVkNm.txt
#asahi-re · 2021-01-10 00:35
Shizyep, already on that
#asahi-re · 2021-01-10 00:35
jn__Shiz: another useful heuristic: multi-string properties, e.g. compatible: [69 32 63 2c 74 38 31 30 31 00 69 32 63 2c 73 35 6c 38 39 34 30 78 00 69 69 63 2c 73 6f 66 74 00] -> compatible = "i2c,t8101", "i2c,s5l8940x", "iic,soft"
#asahi-re · 2021-01-10 00:33
jn__ugh lol, the i2c nodes have a typo in the #address-cells property, it's #address-cels
#asahi-re · 2021-01-10 00:31
jn__for length%4==0 or length%8==0, little-endian conversion might make sense (not sure what the right heuristic is)
#asahi-re · 2021-01-10 00:30
jn__getting readable, thanks
#asahi-re · 2021-01-10 00:28
j`eythanks
#asahi-re · 2021-01-10 00:28
Shizhttps://txt.shiz.me/MmUwMTRmND.txt is faster
#asahi-re · 2021-01-10 00:28
j`eythat loads v slowly
#asahi-re · 2021-01-10 00:27
Shizfixed output to at least print strings where appropriate according to heuristics
#asahi-re · 2021-01-10 00:27
Shizhttps://txt.shiz.me/MmUwMTRmND
#asahi-re · 2021-01-10 00:25
jn__#address-cells, value [02 00 00 00]. looks like it's in little endian
#asahi-re · 2021-01-10 00:16
Shizhttps://txt.shiz.me/NDIxNWI5MW parser output (note that all values are bytes and i am lazy)
#asahi-re · 2021-01-10 00:15
Shizhere it is, although it seems i got ninja'd :p
#asahi-re · 2021-01-10 00:15
Shizhttps://github.com/Shizmob/img4/blob/master/dt.py
#asahi-re · 2021-01-10 00:12
Shizokay, dt parser works
#asahi-re · 2021-01-10 00:09
davidrysk[m]https://github.com/bazad/devicetree-parse doesn't crash for me on the MBP one
#asahi-re · 2021-01-09 23:56
jn__yes, please
#asahi-re · 2021-01-09 23:55
Shiz(as one does)
#asahi-re · 2021-01-09 23:55
ShizI think i'll write my own dt parser
#asahi-re · 2021-01-09 23:54
jn__ah, i see
#asahi-re · 2021-01-09 23:54
Shizbecause dodgy buffer things
#asahi-re · 2021-01-09 23:54
Shizjn__: the proper values are visible with -v, but that triggers a crash :)
#asahi-re · 2021-01-09 23:51
jn__the cold core and the hot core, respectively :) (based on power consumption)
#asahi-re · 2021-01-09 23:51
Shizyeah, we do already know the cores are called icestorm and firestorm :p
#asahi-re · 2021-01-09 23:50
j`ey +--compatible 22 bytes: apple,icestorm
#asahi-re · 2021-01-09 23:49
jn__hmm, it shows single-cell properties as (null), that's kind of not useful
#asahi-re · 2021-01-09 23:47
Shizhttps://txt.shiz.me/MGMzYTgxZD naive unchecked dtdump output
#asahi-re · 2021-01-09 19:54
Shizspeculating that if coih and/or a linked auxk/fuos manifest exists, it will go through loading that instead of nsih
#asahi-re · 2021-01-09 19:46
Shizupdated glossary
#asahi-re · 2021-01-09 19:39
Shizand an extra field for the img4 hash of either of them
#asahi-re · 2021-01-09 19:39
Shizthe boot policy has optional linked manifests for each of those
#asahi-re · 2021-01-09 19:39
Shizwhile "fuOS" may refer to a fully custom OS
#asahi-re · 2021-01-09 19:39
Shizso it seems that "kcOS" may refer to a custom kernel cache (but still macOS)
#asahi-re · 2021-01-09 19:39
davidrysk[m]but in some cases you still need maximum performance

plus ›