#
✕ nick:marcan
#asahi-dev · 2022-09-18 14:39
marcanalso fixed up the power button on desktops
#asahi-dev · 2022-09-18 14:39
marcaniMac USB works now
#asahi-dev · 2022-09-18 14:39
marcanpushed the new kernel for now, also includes the t8103 power domain fix
#asahi-dev · 2022-09-18 14:39
marcanyeah, it's on my list :)
#asahi-dev · 2022-09-18 14:23
marcanalright, going to push another kernel bump
#asahi-dev · 2022-09-18 14:23
marcanah, it was just a timing issue. looks like were right on the edge for the reset timeout, the HV time stealing was making it work.
#asahi-dev · 2022-09-18 14:13
marcaninteresting...
#asahi-dev · 2022-09-18 14:13
marcannope, same sha1
#asahi-dev · 2022-09-18 14:12
marcanunless the firmware is just wrong?
#asahi-dev · 2022-09-18 14:12
marcanmysterious
#asahi-dev · 2022-09-18 14:12
marcanbut not bare metal, or not the arch linux package, or something
#asahi-dev · 2022-09-18 14:11
marcanit does work under the hypervisor
#asahi-dev · 2022-09-18 14:11
marcanoh weird
#asahi-dev · 2022-09-18 14:09
marcanthe pacman repo
#asahi-dev · 2022-09-18 14:08
marcanhopefully this fixes the firmware extraction race conditions
#asahi-dev · 2022-09-18 14:08
marcanto asahi-dev
#asahi-dev · 2022-09-18 14:08
marcanbut other than that, just pushed some major upgrades to asahi-scripts and related stuff
#asahi-dev · 2022-09-18 14:08
marcansadly the asmedia firmware upload thing doesn't seem to actually work on the imac :(
#asahi-dev · 2022-09-18 08:27
marcanI don't see a robher ack to the admac change though?
#asahi-dev · 2022-09-18 08:27
marcanoh, yeah, the latter can wait
#asahi-dev · 2022-09-18 01:21
marcanit's just adding iommus and power-domains props :)
#asahi-dev · 2022-09-18 00:44
marcanwe're going to keep tweaking sensor names over time, and it doesn't make much sense to have a giant hardcoded list in the driver
#asahi-dev · 2022-09-18 00:43
marcanIMO the sensors should go in the DT. the driver is otherwise completely generic. I'd like robher's opinion on this though.
#asahi-dev · 2022-09-17 18:15
marcanalright, I'm off to sleep, hope that helps get you up and running :)
#asahi-dev · 2022-09-17 18:14
marcanmy mind just went off thinking SMC depended on it because it's an ASC
#asahi-dev · 2022-09-17 18:14
marcanyeah, then it's okay, an DART as a module is too
#asahi-dev · 2022-09-17 18:14
marcanSMC uses SRAM shared memory, not DART
#asahi-dev · 2022-09-17 18:13
marcanis tired, I *really* should sleep
#asahi-dev · 2022-09-17 18:13
marcanit's fine as a module
#asahi-dev · 2022-09-17 18:13
marcanSMC has no DART
#asahi-dev · 2022-09-17 18:13
marcansorry, I just derped
#asahi-dev · 2022-09-17 18:13
marcanoh wait
#asahi-dev · 2022-09-17 18:13
marcanif you don't, then you need to be aware that you'll get no simpledrm framebuffer without modules being available
#asahi-dev · 2022-09-17 18:13
marcanif you have CONFIG_GPIO_MACSMC=y like we do, you should also build in DART, otherwise there's no point
#asahi-dev · 2022-09-17 18:12
marcanit always ends up in the initramfs but yeah, I want people to get framebuffer without waiting for modules
#asahi-dev · 2022-09-17 18:12
marcandcavalca: okay then I didn't intend it to be :)
#asahi-dev · 2022-09-17 18:12
marcanlooks like I did, lol
#asahi-dev · 2022-09-17 18:11
marcanis it? did I miss that?
#asahi-dev · 2022-09-17 18:11
marcanif you use the same DTs with that though, you want all that chain built in, which includes macsmc and macsmc-gpio...
#asahi-dev · 2022-09-17 18:11
marcanon our kernels we build it in since it's in the dependency chain for backlight-gpio which is a dep for simpledrm in the DT, but that's a temporary hack
#asahi-dev · 2022-09-17 18:10
marcan(if unsure, I'd build it in, it's a very core driver)
#asahi-dev · 2022-09-17 18:10
marcanif you build the DART as a module, make sure you don't have anything that depends on it built in
#asahi-dev · 2022-09-17 18:09
marcanarnd: thank you!
#asahi-dev · 2022-09-17 18:09
marcanbut 4K kernels won't work with PCIe so you really want 16K
#asahi-dev · 2022-09-17 18:08
marcanwhich means once the USB controller tries to use the other one, it'll fail
#asahi-dev · 2022-09-17 18:08
marcan(I think?)
#asahi-dev · 2022-09-17 18:08
marcanthe USB DARTs are supposed to be bypassable (so will work in 4K kernels, just with no security), but without the driver you only get one of the two DARTs bypassed as left behind by u-boot
#asahi-dev · 2022-09-17 18:08
marcanno DART driver explains the USB issues
#asahi-dev · 2022-09-17 18:05
marcanoh, that's a bug?
#asahi-dev · 2022-09-17 18:05
marcanpossibly the DART driver itself?

plus ›