#asahi-dev · 2023-11-28 20:50
john-cabajCorrect#asahi-dev · 2023-11-28 20:26
j`eybut dont want to miss stuff that was upstreamed in 6.6?#asahi-dev · 2023-11-28 20:26
j`eyjohn-cabaj: you mean you have a 6.5 kernel tree, and want to port the patches from the curent 6.6 asahi tree?#asahi-dev · 2023-11-28 20:21
john-cabajApologies if this has been discussed, but have any Asahi patches been upstreamed in 6.6 not in 6.5? It's easy enough to backport Asahi commits following the v6.6 tag, but if any patches fell in 6.6, it's trickier to determine.#asahi-dev · 2023-11-28 18:09
nicolas17macOS 14.2 beta 4 is out#asahi-dev · 2023-11-28 16:48
svenI‘m very curious about the root cause for this :)#asahi-dev · 2023-11-28 16:47
DannyBin any cse, this has all been useful so far. i'll go try some stuff here and see what happens #asahi-dev · 2023-11-28 16:47
DannyBgot it#asahi-dev · 2023-11-28 16:47
sventhe mmu should work with MMC left in whatever state iboot leaves it - at least for m1#asahi-dev · 2023-11-28 16:42
DannyBOne random thing i noticed - we init the mcc, and init the mmu, but we never actually set the cache to a known state (disabled or enabled). mcc_init just sets up the registers. Apple's MCC init explicitly disables and then enables cache.#asahi-dev · 2023-11-28 16:36
svenim pretty sure the memory allocation functions just do internal bookkeeping and ignore whatever the mmu does #asahi-dev · 2023-11-28 16:32
nicolas17yeah no rush, thanks!#asahi-dev · 2023-11-28 16:32
DannyBokay, i'll be near it in an hour or two#asahi-dev · 2023-11-28 16:32
nicolas17(you may want to redact ECID if you post the whole output :P)#asahi-dev · 2023-11-28 16:32
DannyBgotcha#asahi-dev · 2023-11-28 16:32
nicolas17DannyB: enter DFU, run "irecovery -q" from the other machine, it will show CPRV and SRTG (bootrom version)#asahi-dev · 2023-11-28 16:31
DannyBi wil do that#asahi-dev · 2023-11-28 16:31
DannyBI have not tried writing our value earlier#asahi-dev · 2023-11-28 16:29
DannyB(or MTE if it's supported and enabled)#asahi-dev · 2023-11-28 16:29
DannyB@sven: We do call memory allocation functions prior to setting the TCR. But the MMU is disabled. So the only effect could be from top byte ignore i guess?#asahi-dev · 2023-11-28 16:28
DannyBnicolas17: I have one. what do you need? (I'm not near it for a few hours, but can get it when i am back)#asahi-dev · 2023-11-28 16:16
maz11.0 or similar.#asahi-dev · 2023-11-28 16:15
mazI'm still on whatever the thing came with.#asahi-dev · 2023-11-28 16:15
kettenisguess I did update it at some point#asahi-dev · 2023-11-28 16:15
kettenisasahi,system-fw-version: '12.3'#asahi-dev · 2023-11-28 16:14
mazmaybe the FW on my M1 is a bit too old (never updated).#asahi-dev · 2023-11-28 16:10
kettenisit only seems to work if you power down the machine with CS connected to another machine#asahi-dev · 2023-11-28 16:09
svencentral scrutinizer, hardware that talks usb pd to send those Apple VDM commands #asahi-dev · 2023-11-28 16:09
nicolas17CS?#asahi-dev · 2023-11-28 16:09
kettenisthere is a quirk though#asahi-dev · 2023-11-28 16:09
kettenisworks on my M1 mini#asahi-dev · 2023-11-28 16:03
mazhuh, I never realised: generating a reset command from a CS on a M2 that is powered-off brings it back to life (tested on M2 Pro mini and M2 MBA). doesn't work on my M1 mini.#asahi-dev · 2023-11-28 15:48
j`eythat's what DannyB has#asahi-dev · 2023-11-28 15:47
nicolas17does anyone here have M3 Max? Siguza was looking for the bootrom version and CPRV (which appear on the DFU serial string)#asahi-dev · 2023-11-28 15:45
nicolas17there are M2 keys#asahi-dev · 2023-11-28 15:23
svenalso looked for missing barriers but we have a isb inbetween setting up tcr and enabling the mmu #asahi-dev · 2023-11-28 15:19
svenwhat happens if you just write the m1n1 value twice? does that also fix it? :D#asahi-dev · 2023-11-28 15:18
sven*gets#asahi-dev · 2023-11-28 15:18
sveni'm still very confused because we overwrite TCR anyway. what state is left that get cleared by first setting that one to zero?#asahi-dev · 2023-11-28 15:17
svenI think there are keys floating around for some iboots#asahi-dev · 2023-11-28 15:15
DannyBWe are basically trying to figure out if iBoot has put it in a different state or what#asahi-dev · 2023-11-28 15:15
DannyBfor m3 vs m2, if anything#asahi-dev · 2023-11-28 15:15
DannyBand see what the heck it's doing#asahi-dev · 2023-11-28 15:15
DannyBi actually was going to ask if anyone has ever decrypted iboot on macos#asahi-dev · 2023-11-28 15:14
DannyByes#asahi-dev · 2023-11-28 15:13
svendouble checked that we also overwrite tcr from m1n1 so the previous value really shouldn’t matter :/#asahi-dev · 2023-11-28 15:04
svenit’s still so weird that first writing zero to tcr makes everything work #asahi-dev · 2023-11-28 14:50
DannyBAnyway, let me turn off sprr perms and see if that works without messing with TCR.#asahi-dev · 2023-11-28 14:47
DannyBabove#asahi-dev · 2023-11-28 14:46
DannyBand boot is