#
✕ nick:marcan
#asahi-dev · 2022-10-29 10:33
marcanI'm not opposed to making m1n1 forward that, same as Lina did for the GPU, but only if those values are actually meaningful
#asahi-dev · 2022-10-29 10:32
marcanyeah, I thought they were always the same (in my cursory looks in the past) but apparently not, or not any more
#asahi-dev · 2022-10-29 10:31
marcanapparently my M1 Studio and jannau's disagree
#asahi-dev · 2022-10-29 10:31
marcanthere's minor variation in microvolt values between pcore tables from machine to machine
#asahi-dev · 2022-10-29 10:31
marcanso here's the fun thing: Lina discovered yesterday that that's not constant
#asahi-dev · 2022-10-29 10:24
marcanchadmed: why do we need the voltages?
#asahi-dev · 2022-10-29 10:23
marcanpyqt5 makes more sense IMO
#asahi-dev · 2022-10-29 10:23
marcanmillenialhacker: I'd rather the installer be maintainable by other people, most of us aren't familiar with swiftui
#asahi-dev · 2022-10-29 10:23
marcanwe already established it's not too big to bundle
#asahi-dev · 2022-10-29 10:22
marcanpyqt5 should work in recovery mode as long as we bundle it
#asahi-dev · 2022-10-29 08:24
marcansome of the main.py logic could probably be moved to shared code (like some of the decisions around what operations to offer and enumerating partitions)
#asahi-dev · 2022-10-29 08:24
marcannot sure how much of the code could be shared. I guess probably the most reasonable thing would be to rewrite most of main.py and then change the other modules to report progress/errors via some kind of callback or abstraction, instead of just printing messages to stdout.
#asahi-dev · 2022-10-29 08:23
marcanit would be nice to have a wizard-style installer
#asahi-dev · 2022-10-29 08:15
marcanlooks like the homebrew dylib might work, let's go with that
#asahi-dev · 2022-10-29 08:14
marcanmaybe one day once I run out of other things to do
#asahi-dev · 2022-10-29 08:14
marcanit's possible, but no solid plans here
#asahi-dev · 2022-10-29 08:12
marcanI'm tempted to just vendor the .dylib into our installer repo and call it a day
#asahi-dev · 2022-10-29 08:11
marcaninstaller releng
#asahi-dev · 2022-10-29 08:11
marcanor maybe I can just include libffi
#asahi-dev · 2022-10-29 08:10
marcanhm, now how do I fix this... is there some way to invoke lzfse decompression in RecoveryOS? or just... bundle img4tool?
#asahi-dev · 2022-10-29 08:09
marcanrmk: Krzysztof has... a certain attitude, that's for sure
#asahi-dev · 2022-10-29 08:03
marcannow how do I work around this...
#asahi-dev · 2022-10-29 08:02
marcandammit. recoveryOS doesn't have libffi, which is needed for ctypes to work.... argh!
#asahi-dev · 2022-10-29 06:43
marcan(thanks for trying to upstream this, and sorry that it's become such a mess)
#asahi-dev · 2022-10-29 06:43
marcanthen if I end up having to rearchitect that thing we won't lose review state
#asahi-dev · 2022-10-29 06:43
marcanrmk: if you have a tree with review comments addressed I can try to merge it into mine to make sure we don't diverge into a mess
#asahi-dev · 2022-10-29 06:16
marcanother than that no
#asahi-dev · 2022-10-29 06:16
marcantpw_rules: the kernel gained /lib/firmware/vendor as a load path
#asahi-dev · 2022-10-29 06:14
marcanI *think* I can get tipd i2c physically out the Type C ports with my glasgow/arduino rig, so I can use that to debug if needed, but first I need a repro...
#asahi-dev · 2022-10-29 06:13
marcando we have any good repros for that? I still haven't seen it myself...
#asahi-dev · 2022-10-29 06:13
marcanso I think the only major issue with the new kernels is the tipd i2c thing?
#asahi-dev · 2022-10-27 15:08
marcanoof. that's another thing on my list, I need to schedule my second booster...
#asahi-dev · 2022-10-27 15:07
marcanI think I'll get some early sleep today (early = midnight...)
#asahi-dev · 2022-10-27 15:07
marcanthank you!
#asahi-dev · 2022-10-27 15:05
marcanah, didn't know about that convention
#asahi-dev · 2022-10-27 15:05
marcan(also only hits some random kernel test bot builds)
#asahi-dev · 2022-10-27 15:05
marcanforgot about the include
#asahi-dev · 2022-10-27 15:05
marcanhttps://mrcn.st/p/u3iiOVKy that :)
#asahi-dev · 2022-10-27 15:04
marcanah wait, I can get a patch out
#asahi-dev · 2022-10-27 15:03
marcanthat should be it then, if I didn't forget anything
#asahi-dev · 2022-10-27 15:03
marcanah no, not on this one I think
#asahi-dev · 2022-10-27 15:02
marcanoh and there was a linter thing
#asahi-dev · 2022-10-27 15:02
marcanand I don't remember if this applied to smc or it was already there, but: in the Kconfig, if there are bare COMPILE_TESTs, use (COMPILE_TEST && 64BIT) since that driver won't build on 32bit properly
#asahi-dev · 2022-10-27 15:02
marcansmc_rtkit.c increase SMC_RECV_TIMEOUT to 500 (this is mostly an issue with the hypervisor, but I suspect mailbox shenanigans and I want to play it safe)
#asahi-dev · 2022-10-27 15:01
marcanoh also, I fixed some stuff up in there in my tree, though I think I squashed it. let me summarize if you don't mind it ad hoc?
#asahi-dev · 2022-10-27 15:00
marcanrmk: thank you :)
#asahi-dev · 2022-10-27 15:00
marcanI also never got a reply to my comment to the cypress dude who introduced a broadcom firmware file with a cypress name... given that, I think I'm going to send a fixup patch to rename it, and he can choose to complain, or not, because I don't want precedent that broadcom chips are now cypress chips unless someone from those companies confirms they are actually a rebrand and not just a subset
#asahi-dev · 2022-10-27 14:59
marcanand IIRC he never replied to my question about that
#asahi-dev · 2022-10-27 14:59
marcanso I have no idea why he would want that, or how I would do it in a way that makes sense
#asahi-dev · 2022-10-27 14:59
marcanhaving the actual mfd core just be a dumb stub in drivers/mfd invoked by a driver in drivers/platform makes *no* sense to me

plus ›