ChanServ changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
manawyrm has quit [Ping timeout: 480 seconds]
hays has quit [Remote host closed the connection]
hays has joined #asahi-re
manawyrm has joined #asahi-re
Zopolis4 has joined #asahi-re
Zopolis4 has quit []
Burger has joined #asahi-re
Burger has quit [Quit: Textual IRC Client: www.textualapp.com]
eiln__ has joined #asahi-re
eiln__ has quit []
eiln_ has joined #asahi-re
<eiln_> for reference i rebased with the t8103 nodes https://github.com/eiln/linux/tree/ane-dt
<eiln_> so the power domains aren't described in the dt
<eiln_> but the base address is hardcoded as string literals(!) in the fw
<eiln_> it goes like:
<eiln_> pPMUAddress == (size_t*)(0x28e08c000)
<eiln_> false == GetPowerStatus(PowerDomain_Id_H13_ANE_BASE)
<eiln_> false == GetPowerStatus(PowerDomain_Id_H13_ANE_SET1)
<eiln_> false == GetPowerStatus(PowerDomain_Id_H13_ANE_SET2)
<eiln_> false == GetPowerStatus(PowerDomain_Id_H13_ANE_SET3)
<eiln_> false == GetPowerStatus(PowerDomain_Id_H13_ANE_SET4)
<eiln_> the above is equivalent for all h13 except the 'pPMUAddress' line, which is
<eiln_> ane0: 0x28e08c000
<eiln_> ane1: 0x28e684000
<eiln_> ane2: 0x228e08c000
<eiln_> ane3: 0x228e684000
<eiln_> i need
<eiln_> p.pmgr_adt_clocks_enable("/arm-io/ane%d")
<eiln_> p.pmgr_adt_clocks_enable("/arm-io/dart-ane%d")
<eiln_> trace_device("/arm-io/ane%d", mode=TraceMode.SYNC)
<eiln_> trace_device("/arm-io/dart-ane%d", mode=TraceMode.SYNC)
<eiln_> trace_range(irange(pPMUAddress, 0x38), mode=TraceMode.SYNC, name="ane%d-pd")
<eiln_> substituting with whatever's available
<eiln_> also curious how ane1/ane3 is handled (if at all) bc strings suggest they're probed?
<eiln_> oh and trace_device("/arm-io/error-handler", False)
<eiln_> and++ there's prob a noisy performance counter in the "ane%d" range, pls shut it off
chipxxx has joined #asahi-re
chipxxx has quit [Remote host closed the connection]
eiln_ has quit [Remote host closed the connection]
ah- has joined #asahi-re
thasti has joined #asahi-re
hays has quit [Remote host closed the connection]
chadmed has quit [Remote host closed the connection]
chadmed has joined #asahi-re
nyilas has joined #asahi-re
hays has joined #asahi-re
nela has quit [Quit: bye!]
nela has joined #asahi-re
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has joined #asahi-re
fortich has joined #asahi-re
chipxxx has joined #asahi-re
chipxxx has quit [Remote host closed the connection]
fortich has quit [Quit: fortich]
chipxxx has joined #asahi-re
fortich has joined #asahi-re
stipa has joined #asahi-re
seb4nihel has joined #asahi-re
Cyrinux9 has quit []
Cyrinux9 has joined #asahi-re
roxfan2 has quit [Ping timeout: 480 seconds]
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi-re
roxfan has joined #asahi-re
nyilas has quit [Remote host closed the connection]
nopeslide13 has quit []
nopeslide13 has joined #asahi-re
roxfan2 has joined #asahi-re
roxfan has quit [Ping timeout: 480 seconds]