marcan changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | RE policy: https://alx.sh/re | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
<davidrysk[m]> https://github.com/bazad/devicetree-parse doesn't crash for me on the MBP one
<Shiz> okay, dt parser works
<Shiz> here it is, although it seems i got ninja'd :p
<Shiz> https://txt.shiz.me/NDIxNWI5MW parser output (note that all values are bytes and i am lazy)
ransom has joined #asahi-re
ransom_ has joined #asahi-re
<jn__> #address-cells, value [02 00 00 00]. looks like it's in little endian
<Shiz> fixed output to at least print strings where appropriate according to heuristics
ransom has quit [Ping timeout: 240 seconds]
<j`ey> that loads v slowly
<j`ey> thanks
<jn__> getting readable, thanks
<jn__> for length%4==0 or length%8==0, little-endian conversion might make sense (not sure what the right heuristic is)
<jn__> ugh lol, the i2c nodes have a typo in the #address-cells property, it's #address-cels
<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"
<Shiz> yep, already on that
<Shiz> string lists parsed
<jn__> awesome
<Shiz> also in git now
<Shiz> feel free to add any appropriate https://github.com/Shizmob/img4/blob/master/dt.py#L25
stemnic has joined #asahi-re
<jn__> /cpus/cpu0/interrupts is "F", i think the string heuristic should only trigger if there's one nul byte at the end
<jn__> (i don't have a DT blob to test with, otherwise i'd send a PR)
<Shiz> pushed
stormclad has joined #asahi-re
ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ransom has joined #asahi-re
stormclad has quit [Ping timeout: 272 seconds]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ransom has joined #asahi-re
ransom_ has joined #asahi-re
ransom has quit [Ping timeout: 264 seconds]
ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pg12_ has joined #asahi-re
pg12 has quit [Ping timeout: 260 seconds]
Tokamak has joined #asahi-re
ransom has joined #asahi-re
bear24rw has joined #asahi-re
bear24rw has quit [Client Quit]
<rwhitby> For 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
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<artemist> why the hell does apple have to call it "dart" (something rather hard to search for) rather than just, like, IOMMU table
<artemist> They really do like taking terminology from ppc
<winocm> PowerPC will never die
<davidrysk[m]> I wonder just how many engineers involved with PowerPC bringup came back to Apple to get M1 going :)
<marcan> artemist: I'm going to guess it came from GART? except Device instead of Graphics?
<marcan> oh, not quite
<marcan> Device Address Resolution Table
<marcan> GART is Graphics Address Remapping Table
diz3y has quit [Ping timeout: 256 seconds]
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak_ has joined #asahi-re
Tokamak has joined #asahi-re
Tokamak_ has quit [Ping timeout: 260 seconds]
aratuk has joined #asahi-re
stormclad has joined #asahi-re
aratuk has quit [Ping timeout: 265 seconds]
stormclad has quit [Ping timeout: 246 seconds]
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aratuk has joined #asahi-re
aratuk_ has joined #asahi-re
aratuk_ has quit [Read error: Connection reset by peer]
aratuk__ has joined #asahi-re
aratuk__ has quit [Remote host closed the connection]
aratuk_ has joined #asahi-re
aratuk has quit [Ping timeout: 264 seconds]
aratuk_ has quit [Ping timeout: 264 seconds]
maor26 has joined #asahi-re
suskun_ has joined #asahi-re
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 246 seconds]
shawnj2[m] has joined #asahi-re
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 246 seconds]
Mary_- has joined #asahi-re
Mary_ has quit [Ping timeout: 240 seconds]
suskun_ has quit [Remote host closed the connection]
suskun_ has joined #asahi-re
suskun_ has quit [Client Quit]
vimal has quit [Quit: Leaving]
Tokamak has joined #asahi-re
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 260 seconds]
brinly has joined #asahi-re
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi-re
bakk[m] has joined #asahi-re
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 246 seconds]
qyousef has quit [Quit: WeeChat 2.8]
qyousef has joined #asahi-re
qyousef has quit [Quit: WeeChat 2.8]
qyousef has joined #asahi-re
qyousef has quit [Ping timeout: 240 seconds]
konstater has quit [*.net *.split]
qyousef has joined #asahi-re
DarthCloud has quit [Remote host closed the connection]
DarthCloud has joined #asahi-re
eric_engestrom has joined #asahi-re
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 264 seconds]
ransom has joined #asahi-re
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ransom has joined #asahi-re
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 240 seconds]
maor26 has quit [Ping timeout: 264 seconds]
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aratuk has joined #asahi-re
aratuk has quit [Ping timeout: 246 seconds]
modwizcode has quit [Quit: Later]
ransom has joined #asahi-re
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]