#
#asahi · 2026-07-26 16:42
chaos_princessuploading firmware and boot chain measurements into the security coprocessor
#asahi · 2026-07-26 16:41
linkmauveWhat do you use that for? Accessing dmabuf from the kernel?
#asahi · 2026-07-26 16:37
chaos_princessdma_map_resource wrappers
#asahi · 2026-07-26 16:37
chaos_princessyou know what would be cool and somewhat easy
#asahi · 2026-07-26 16:35
linkmauveThanks. :)
#asahi · 2026-07-26 16:35
chaos_princessk@chaosmail.tech
#asahi · 2026-07-26 16:34
linkmauveIs your email address the one in 9158b8e363b408c9f19fbc43776dcd0a708b02d8?
#asahi · 2026-07-26 16:34
linkmauveAck!
#asahi · 2026-07-26 16:34
chaos_princesssure, cc me on the series too.
#asahi · 2026-07-26 16:33
linkmauveSo I don’t know what to work on next, perhaps input.
#asahi · 2026-07-26 16:33
linkmauveFor DRM I’m kinda blocked by Lyude’s KMS bindings anyway, I’ll let them get them back in shape.
#asahi · 2026-07-26 16:33
linkmauveWanna review my next nvmem series, so that I can move on to other things, and perhaps snd at some point?
#asahi · 2026-07-26 16:30
chaos_princessand https://github.com/WhatAmISupposedToPutHere/linux/commit/9158b8e363b408c9f19fbc43776dcd0a708b02d8
#asahi · 2026-07-26 16:30
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/sound/soc/apple/aop_audio.rs
#asahi · 2026-07-26 16:30
chaos_princesspmuch
#asahi · 2026-07-26 16:30
linkmauvechaos_princess, so currently you’re calling into the unsafe bindgen functions?
#asahi · 2026-07-26 16:29
linkmauveWell, mixing different sources in hardware would be useful I think.
#asahi · 2026-07-26 16:29
chaos_princessthe asahi mic drivers are in rust, and are made mostly by me, i want someone-who-is-not-me to do the bindings :P
#asahi · 2026-07-26 16:28
chaos_princessi don't think linux will ever be able to do anything but outpit pcm
#asahi · 2026-07-26 16:28
linkmauveWhat do you want to do with it btw? Would you like to work on that together?
#asahi · 2026-07-26 16:27
linkmauveI’ve done nothing with the AI and DSP parts of the Wii so far, and the latter even requires programming for its own very weird 16-bit architecture.
#asahi · 2026-07-26 16:27
linkmauveSound is an area I know pretty much nothing about!
#asahi · 2026-07-26 16:27
linkmauveIf I can make it easier for the next person, then I’ll gladly do it!
#asahi · 2026-07-26 16:26
chaos_princessmake sound bindings plz
#asahi · 2026-07-26 16:26
linkmauveWell, I’m equally interested in making Rust-for-Linux progress than I am in making the Wii work.
#asahi · 2026-07-26 16:25
chaos_princessas someone who also wrote a rust driver or two - being a trailblazer is not worth it :P
#asahi · 2026-07-26 16:25
linkmauveAnd Rust is obviously where my interest is. :)
#asahi · 2026-07-26 16:24
linkmauveSo that we can just boot mainline on the Wii without having to have a special build with downstream patches.
#asahi · 2026-07-26 16:24
linkmauveBut I’d like to merge the patches directly in mainline, I already did that for a few drivers some years ago (this OTP driver, RTC, as well as EEPROM), but now I want to get everything in there.
#asahi · 2026-07-26 16:23
linkmauveI routinely rebase them on top of mainline lately.
#asahi · 2026-07-26 16:23
chaos_princess(in retrospect - my mistake was not being aware that dt probe is not done recursively)
#asahi · 2026-07-26 16:23
chaos_princessand haven't managed to progress past the otp driver then :P
#asahi · 2026-07-26 16:23
linkmauveOh nice!
#asahi · 2026-07-26 16:22
linkmauveAnd io is still very much in flux, every new kernel changes its abstractions.
#asahi · 2026-07-26 16:22
chaos_princessSo, funny story, my first (completely failed) attempt at doing "kernel dev" was trying to forward-port the wii/gc patchset from 2.6 to, idk, 4.something i think?
#asahi · 2026-07-26 16:22
linkmauveI was working on the DRM driver, but that also needs big-endian support, so I went back to nvmem first as it’s a much simpler subsystem.
#asahi · 2026-07-26 16:22
chaos_princess> I wanted to try something simple before jumping to more advanced stuff like DRM or V4L2 drivers.
#asahi · 2026-07-26 16:21
linkmauveI converted that to Rust a few months ago, but had things to fix especially around big-endian support: https://lore.kernel.org/rust-for-linux/20260204040505.8447-1-linkmauve@linkmauve.fr/T/
#asahi · 2026-07-26 16:20
linkmauveI’m still working on drivers for the Wii, and didn’t want to maintain nintendo-otp.c any longer.
#asahi · 2026-07-26 16:19
chaos_princessbtw, what are you cooking up that needs rust nvmem bindings?
#asahi · 2026-07-26 16:16
linkmauveOk.
#asahi · 2026-07-26 16:16
chaos_princessit kind of does not matter since the cells do not go that high
#asahi · 2026-07-26 16:15
linkmauveI have no past-ppc Apple hardware to test this theory though, but I think the very last byte isn’t exposed by this driver.
#asahi · 2026-07-26 16:15
linkmauveHi, I’m working on the nvmem subsystem atm, and I noticed in drivers/nvmem/apple-spmi-nvmem.c that .max_register is set to 0xffff, but .size is set to 0xffff. Shouldn’t the latter be 0x10000 instead?
#asahi · 2026-07-25 11:11
barusu[ERROR tuxvdmtool] vdmtool: ControllerTimeout
#asahi · 2026-07-25 11:11
barusu[INFO tuxvdmtool::cd321x] Busy Check Failed with VAL = 1934443606
#asahi · 2026-07-25 11:11
barusu[INFO tuxvdmtool::cd321x] Busy Check Failed with VAL = 1934443606
#asahi · 2026-07-25 11:11
barusu[INFO tuxvdmtool::cd321x] Rebooting target into DFU mode...
#asahi · 2026-07-25 11:11
barusu[INFO tuxvdmtool::i2c] Safely opening failed ==> Forcefully opening device...
#asahi · 2026-07-25 11:11
barusu[INFO tuxvdmtool] Using I2C bus:/dev/i2c-0 address:0x38

plus ›