#
✕ nick:marcan
#asahi-dev · 2021-12-20 19:04
marcanthat partition is System Recovery
#asahi-dev · 2021-12-20 19:04
marcanFWIW 1TR is a bit of a misnomer here
#asahi-dev · 2021-12-20 13:02
marcanGlanzmann: if I haven't pushed it yet it's because it's not ready
#asahi-dev · 2021-12-20 11:50
marcanif we must we *could* ship two different builds and have the installer pick... but then you get to join Apple in the I-don't-know-how-to-build-universal-kernels hall of shame ;)
#asahi-dev · 2021-12-20 11:45
marcanbut contiguous
#asahi-dev · 2021-12-20 11:45
marcanusable RAM is a chunk from the middle since there are carveouts on both ends
#asahi-dev · 2021-12-20 11:44
marcankettenis: yes
#asahi-dev · 2021-12-20 11:42
marcanone more zero
#asahi-dev · 2021-12-20 11:30
marcanso if we're leaving them disabled this is the same as the old behavior there
#asahi-dev · 2021-12-20 11:30
marcanhowever, that part itself just calls chip disable for each core individually first
#asahi-dev · 2021-12-20 11:30
marcanbluerise: that's the case for the full process that includes re-enabling
#asahi-dev · 2021-12-20 11:25
marcanthe commit that introduced it in linux was like that from the start :)
#asahi-dev · 2021-12-20 11:25
marcanor rather maybe they're just pairs instead of groups of 4 like in the other DARTs
#asahi-dev · 2021-12-20 11:22
marcan500 looks like the TTBRs, but they're 64-bit instead of 32-bit?
#asahi-dev · 2021-12-20 11:21
marcan100c is probably the TCRs but with different bits?
#asahi-dev · 2021-12-20 11:20
marcan800 looks like a mapping table
#asahi-dev · 2021-12-20 11:19
marcanI think these support 64 SIDs? which explains everything getting shifted
#asahi-dev · 2021-12-20 11:19
marcanJamie[m]1: looks like some blocks moved around, e.g. 70 -> 228
#asahi-dev · 2021-12-20 10:56
marcanthe question again here is, is this a thing that was wrong all along, or do we actually need to release reset for older chipsets
#asahi-dev · 2021-12-20 10:56
marcanyeah, something like that
#asahi-dev · 2021-12-20 10:52
marcanbluerise: so apparently the cores are *already* in reset on cold startup... and it's *releasing* reset that breaks it
#asahi-dev · 2021-12-20 10:51
marcanha, that worked
#asahi-dev · 2021-12-20 10:49
marcanactually, there's one thing I didn't try...
#asahi-dev · 2021-12-20 10:44
marcanlike a bad reset really
#asahi-dev · 2021-12-20 10:44
marcanso it sounds like "something went horribly wrong at the logic / clock / etc level"
#asahi-dev · 2021-12-20 10:44
marcanI get weird fault addresses, sometimes small, sometimes starting with ff and such, and the blocks they hit also change (sometimes the CR4, sometimes PCIe, sometimes something else)
#asahi-dev · 2021-12-20 10:43
marcandoing the resets just causes something to go horribly wrong with the AXI interfaces, and 1 second after boot it almost always crashes hard with AXI errors
#asahi-dev · 2021-12-20 10:42
marcanI tried a bunch of stuff with the reset sequence, including a workaround I found in that android driver, but nothing worked
#asahi-dev · 2021-12-20 10:41
marcanif it *doesn't* then that would be very interesting and might lead to a fix for the reset sequence on linux :-)
#asahi-dev · 2021-12-20 10:41
marcanthis is CR4, so yeah, I expect openbsd to run into the firmware explosion on 4387 (the telltale that things are about to go wrong is if the first line of the console log complains about reset_status)
#asahi-dev · 2021-12-20 10:40
marcanthe android driver I found also supports up to 3, so this isn't apple-specific
#asahi-dev · 2021-12-20 10:40
marcanand 4387 has *three* and I added support for that, only to realize it wasn't helping
#asahi-dev · 2021-12-20 10:38
marcancool
#asahi-dev · 2021-12-20 10:38
marcanand I don't particularly care as long as it works
#asahi-dev · 2021-12-20 10:38
marcanoh, the kernel bump fixed it? good to know
#asahi-dev · 2021-12-20 10:37
marcanso I guess I can tweet :-)
#asahi-dev · 2021-12-20 10:37
marcanno idea why it used not to
#asahi-dev · 2021-12-20 10:37
marcanand yeah firefox works now
#asahi-dev · 2021-12-20 10:37
marcanJamie[m]1: I'd say "ugh, another big driver to reverse engineer", but honestly knowing Apple they might actually come up with one of the sanest wifi chipset ifaces out there...
#asahi-dev · 2021-12-20 10:36
marcanat least on 4387 the ARM firmware resets the D11 cores (and presumably does it in a way that works, not what Linux does)
#asahi-dev · 2021-12-20 10:36
marcanbut maybe it's not needed on anything
#asahi-dev · 2021-12-20 10:36
marcanthe other driver I found does not do the reset, so a priori I'm just going to special case *all* the chips I add in this patch series and not do it either on those
#asahi-dev · 2021-12-20 10:34
marcanwe know they're just as bad inside as they're outside :p
#asahi-dev · 2021-12-20 10:34
marcanI'd say this is a Broadcom person so they should know better... but this is Broadcom we're talking about here
#asahi-dev · 2021-12-20 10:33
marcanj`ey: yeah, I feel like someone knew about the passphrase interface but not the raw one for some reason, and then guessed (right) that the standard-ish hex passphrase form would work, and rolled with it
#asahi-dev · 2021-12-20 10:33
marcanthe former breaks badly and randomly on 4387
#asahi-dev · 2021-12-20 10:33
marcankettenis: do you know if the driver does a reset of the D11/802.11 cores on init/around firmware upload, or only of the ARM core?
#asahi-dev · 2021-12-20 10:31
marcanif this had been added later, it would've been a new flag, or 0 would mean passphrase
#asahi-dev · 2021-12-20 10:31
marcanwhich is why I guessed that (and guessed right)
#asahi-dev · 2021-12-20 10:31
marcanso you'd expect clearing it to do something useful

plus ›