#asahi-re · 2022-03-19 18:59
jannauwas mostly a notification that the issue has been fixed#asahi-re · 2022-03-19 18:59
jannaurqou_: sure. what are you looking at? MMIO hardware is obviously stable and the firmware interfaces have been stable withing 12.x as far as we have seen#asahi-re · 2022-03-19 18:49
rqou_jannau: thanks, but i'll probably just stick to 12.1 for now because i don't want to have to reinstall macos *again*#asahi-re · 2022-03-19 14:12
jannaurqou_: https://github.com/AsahiLinux/m1n1/pull/172#asahi-re · 2022-03-19 10:27
rqou_i've finally gotten this to work (booting 12.1 via m1n1 hypervisor). going to sleep now, i will probably have more questions on how to get started with the tracing infrastructure in the morning#asahi-re · 2022-03-19 09:25
rqou_i have a m1 max machine with enough space, it's just that the installer is being dumb rn and failing#asahi-re · 2022-03-19 09:15
kode54that's useful if you actually have >256GB of storage space#asahi-re · 2022-03-19 08:04
rqou_+1, thanks#asahi-re · 2022-03-19 08:03
jannaurqou_: `softwareupdate --fetch-full-installer --full-installer-version 12.1` will download a full installer into Applications to install that version into a new apfs container#asahi-re · 2022-03-19 08:01
rqou_ah well, what's the procedure for installing an older version to trace?#asahi-re · 2022-03-19 08:00
svenand there is that someone :)#asahi-re · 2022-03-19 07:59
jannaurqou_: probably nothing, I get that as well but haven't manged to look into it#asahi-re · 2022-03-19 07:59
sven*ran#asahi-re · 2022-03-19 07:59
sveniirc someone else ram into a similar panic a few days ago#asahi-re · 2022-03-19 07:59
Jamie[m]1somebody else has mentioned that problem, I'm not sure if anyone has 12.3 working under hv#asahi-re · 2022-03-19 07:59
rqou_python command: python proxyclient/tools/run_guest.py blob/release-kernel.macho -- "debug=0x14e serial=3 apcie=0xfffffffe wdt=-1"#asahi-re · 2022-03-19 07:58
rqou_panic: https://gist.github.com/rqou/d20f22af61cd401169093b0a21903cdc#asahi-re · 2022-03-19 07:58
rqou_hi, trying to setup hypervisor tracing of macos 12.3 on a m1 max and getting a kernel panic with both release and development kernels. what am i doing wrong?#asahi-re · 2022-03-17 04:36
Jamie[m]1👍#asahi-re · 2022-03-17 04:36
marcanso we'd still have to re-ghidra at some point#asahi-re · 2022-03-17 04:36
marcanI already extracted a few examples and saw that#asahi-re · 2022-03-17 04:36
marcanthey *do* change those firmwares with updates sometimes though#asahi-re · 2022-03-17 04:36
marcanwe could do the cyclic hash thing offline#asahi-re · 2022-03-17 04:36
Jamie[m]1yeah okay #asahi-re · 2022-03-17 04:36
marcandon't want to complicate things in the installer#asahi-re · 2022-03-17 04:35
Jamie[m]1(my thinking is that would allow the same firmware version to be shifted around in an image without re-ghidraing for each update)#asahi-re · 2022-03-17 04:35
marcanit's easy enough to find the offsets offline#asahi-re · 2022-03-17 04:35
marcanI'd just use a sha1 or whatever#asahi-re · 2022-03-17 04:35
JTLmarcan: sensible#asahi-re · 2022-03-17 04:35
Jamie[m]1how about we hardcode length plus cyclic hash#asahi-re · 2022-03-17 04:34
Jamie[m]1heh#asahi-re · 2022-03-17 04:21
marcanJamie[m]1: yeah, my idea was to just write a ghidra script to do this and the actual installer will just use hardcoded offsets and hashes for validation#asahi-re · 2022-03-17 01:58
rkjnsnIs there another symbol immediately following the firmware? When I was looking at the legacy wifi kext, just reading up to (but not including) the next byte some symbol pointed to got me the right size.#asahi-re · 2022-03-16 10:23
Jamie[m]1additionally, you might want to extract the tunables array? they're at the symbol avd (which again is duplicated for each model, and the length and exact meaning can only be determined through code analysis)#asahi-re · 2022-03-16 10:22
Jamie[m]1(when i say "the binary" above, i mean the AppleAVD kext binary)#asahi-re · 2022-03-16 10:19
Jamie[m]1are you just gonna hardcode length plus some identifying heuristic to match the current exact firmware blob?#asahi-re · 2022-03-16 10:18
Jamie[m]1(i.e. both those things only come from analyzing the code)#asahi-re · 2022-03-16 10:17
Jamie[m]1as is finding their lengths#asahi-re · 2022-03-16 10:17
Jamie[m]1but telling which is which is nontrivial#asahi-re · 2022-03-16 10:17
Jamie[m]1continuing regarding AVD firmware, the offsets for all the firmwares for different AVD versions can be found, since each one is at a symbol called avdM3 in the binary#asahi-re · 2022-03-16 08:34
svenand from what I can tell just constant values that they'd usually stuff into a tunable#asahi-re · 2022-03-16 08:33
svenwith fun registers like LANE0_AUSPMA_TX_SHM_BLK_TXA_IMP_REG2.PMA_TXA_MARGIN or LANE0_AUSPMA_RX_SHM_TJ_BLK_RXA_VREF_CTRL22.PMA_RXA_VREF_BIAS_SEL#asahi-re · 2022-03-16 08:33
svendisplay port bring up is ~200 lines in the mmio trace and a bunch of that seems to be some kind of "write magic value to magic register"#asahi-re · 2022-03-14 06:13
rabbitzany suggestion https://docs.google.com/document/d/1T5rOhHGQvTlfj7zMHWImHALQ9hJPlyTS/edit?usp=sharing&ouid=100976977371543538488&rtpof=true&sd=true , Teaser Finished ... .#asahi-re · 2022-03-14 05:50
rabbitzhttps://docs.google.com/document/d/16xzfOLHkuaKWL0yg2evzdJLXKjuN8Gi_/edit?usp=sharing&ouid=100976977371543538488&rtpof=true&sd=true any suggestion ?#asahi-re · 2022-03-14 05:48
rabbitzhttps://docs.google.com/document/d/16xzfOLHkuaKWL0yg2evzdJLXKjuN8Gi_/edit?usp=sharing&ouid=100976977371543538488&rtpof=true&sd=true , 0day book on going , any suggestion ? ... .#asahi-re · 2022-03-08 08:41
clrwf0x80Hi everybody! May I have bootable image for asahi linux for m1?#asahi-re · 2022-03-04 10:55
agrafD'oh. Found it on google right after I sent the message above: https://oftc.irclog.whitequark.org/asahi-dev/2021-01-31#asahi-re · 2022-03-04 10:54
agrafI don't have a working test system with m1n1 running. Does anyone happen to have the real hardware value for ID_AA64MMFR2_EL1 on M1/M1 Pro handy?#asahi-re · 2022-03-02 14:37
svenah.. that actually fits with that general control register as well