#asahi · 2023-07-06 12:18
chadmedgiven that no one's been game to publicly tackle it since that hunch was probably correct :P#asahi · 2023-07-06 12:17
chadmedwhere we kinda figured that it would be easier to do that in the long run than reverse apple's #asahi · 2023-07-06 12:17
chadmedthats what i was talking about earlier #asahi · 2023-07-06 12:17
chadmedyeah thats exactly what it is #asahi · 2023-07-06 12:17
ydaltonthat looks like it could be custom firmware for the M3 #asahi · 2023-07-06 12:16
chadmedi think it was just a proof of concept #asahi · 2023-07-06 12:16
chadmedlooks like it just pokes interrupts #asahi · 2023-07-06 12:15
ydaltoni'm pretty new to arm assembly so#asahi · 2023-07-06 12:15
chadmedit works with the experiment in their m1n1 branch #asahi · 2023-07-06 12:15
chadmedno clue on specifics :P #asahi · 2023-07-06 12:14
ydaltonchadmed: do you know what that assembler R wrote does?#asahi · 2023-07-06 12:12
chadmedhop in #asahi-re for a sec #asahi · 2023-07-06 12:12
ydaltonhm, idk if the script will work, i've had trouble running anything dart related#asahi · 2023-07-06 12:10
chadmedand then kicks the mailbox #asahi · 2023-07-06 12:10
chadmediirc it uploads all the fw#asahi · 2023-07-06 12:10
chadmedyup #asahi · 2023-07-06 12:09
ydaltonuntil 0x2690a0000 i think#asahi · 2023-07-06 12:09
chadmedthats it#asahi · 2023-07-06 12:09
ydaltonaround 0x269080000#asahi · 2023-07-06 12:09
chadmedat 0x2something-something iirc#asahi · 2023-07-06 12:09
chadmedyeah the assload of data on boot is the firmware getting uploaded and then read back#asahi · 2023-07-06 12:08
chadmedthat will probably ping her #asahi · 2023-07-06 12:08
chadmedoh she is here#asahi · 2023-07-06 12:08
ydaltoni've noticed tracing the MMIO to and from the avd it does send a lot of binary data, including during bootup. i presume that could be the firmware?#asahi · 2023-07-06 12:08
chadmedhttps://github.com/ArcaneNibble/m1n1/blob/avd/proxyclient/experiments/avd_m1cro.S#asahi · 2023-07-06 12:05
ydaltonthen there was another binary file but idk what that is#asahi · 2023-07-06 12:05
chadmedshe might still have it if you ask her, i dont think she hangs around here anymore though#asahi · 2023-07-06 12:05
ydaltonR's, the one referenced in the python script#asahi · 2023-07-06 12:05
chadmedR's? or apple's?#asahi · 2023-07-06 12:04
ydaltoni'd like to get my hands on that firmware tho#asahi · 2023-07-06 12:04
chadmedit didnt really work anyway :P#asahi · 2023-07-06 12:04
chadmedjamie figured out a bunch of the apple firmware interface that i got stuck on and i started writing a tracer for it but unfortunately i had to detonate my rootfs and it's lost to time #asahi · 2023-07-06 12:03
chadmedso that was a good start :P#asahi · 2023-07-06 12:03
chadmedi believe so, she had a firmware binary somewhere and uploaded it to the firmware zone in the SIP's mmio range and it did... something #asahi · 2023-07-06 12:02
ydaltonchadmed: that was using the python script right?#asahi · 2023-07-06 12:01
ydaltonyeah i found out avd is basically a Cortex M3#asahi · 2023-07-06 12:01
chadmedR got as far as getting the M3 to say hello to her with her own firmware iirc #asahi · 2023-07-06 12:00
chadmedspecifically with avd the firmware is utterly deranged (it kinda looks like samsung if you squint) and i believe both R and Jamie came to the conclusion that it would be easier to just write our own firmware for the M3 and poke at random bits of hardware directly#asahi · 2023-07-06 12:00
ydaltoninteresting, but ave does have its own firmware#asahi · 2023-07-06 11:59
chadmedydalton: avd, ave and apr do not run rtkit just in case you werent aware #asahi · 2023-07-06 11:50
ydaltonhm, explains why i wasn't able to find it#asahi · 2023-07-06 11:50
_jannau__https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon#firmware-overview#asahi · 2023-07-06 11:49
_jannau__I think the avd firmware is embedded in the macos driver#asahi · 2023-07-06 11:46
ydaltonthat i could find at least#asahi · 2023-07-06 11:46
ydaltonave does have firmware tho#asahi · 2023-07-06 11:44
ydaltonwait, i read R's python script for avd but i wasn't about to find firmware that was referenced in that script#asahi · 2023-07-06 11:43
ChaosPrincessavd doesnt have a rtkit but something even more cursed#asahi · 2023-07-06 11:42
j`eyI think some people were talking about ignoring rtkit for AVD too right?#asahi · 2023-07-06 11:42
ChaosPrincessyes#asahi · 2023-07-06 11:41
ydaltonbut ANE does have an rtkit right?