#
✕ nick:yuka
#asahi-dev · 2026-07-17 18:38
yukaso as advertised
#asahi-dev · 2026-07-17 18:38
yukathx!
#asahi-dev · 2026-07-17 18:29
yukacan easily be determined using https://github.com/AsahiLinux/m1n1/pull/628
#asahi-dev · 2026-07-17 18:29
yuka^ dcuart irq nums, I take contributions for all the missing "real" values
#asahi-dev · 2026-07-17 18:29
yukahttps://termbin.com/ppwg
#asahi-dev · 2026-07-17 18:09
yuka*360
#asahi-dev · 2026-07-17 18:09
yuka(t6050 was adt = 370, real = 702)
#asahi-dev · 2026-07-17 18:07
yukaM4 Max has 360 according to adt, would be good to confirm that but I guess it's correct and the others are copy and paste errors on the apple side
#asahi-dev · 2026-07-17 18:05
yukathx to flokli for setting up his M4 Pro Mac Mini for remote access ;)
#asahi-dev · 2026-07-17 18:05
yukaadt = 360, real = 816
#asahi-dev · 2026-07-17 18:05
yukaM4 Pro (t6040, j773s) irq num in the device tree is also wrong
#asahi-dev · 2026-07-17 17:53
yuka✅️ wrote an experiment for determining dockchannel-uart irq num
#asahi-dev · 2026-07-17 17:21
yukathe dockchannel uart I'm currently working on is such an instance
#asahi-dev · 2026-07-17 17:19
yukafair
#asahi-dev · 2026-07-17 17:18
yukaI don't really know at which granularity it works
#asahi-dev · 2026-07-17 17:18
yukayou mean it can be adjusted in software (if it is baudrate)?
#asahi-dev · 2026-07-17 17:17
yukabut unless we can actually fix the baudrate/whatever compatibility issue, it's a bit pointless, no?
#asahi-dev · 2026-07-17 17:16
yukait's probably possible to figure that out
#asahi-dev · 2026-07-17 17:16
yukaSo until now every time I needed a linux serial console, I commented out the samsung_tty init, and then it would work but then stuff wouldn't be set up correctly and I had to spam a lot of keys to get the console to refresh
#asahi-dev · 2026-07-17 17:15
yukayes, but don't forget the linux-side init also changed and now breaks the serial on t8140
#asahi-dev · 2026-07-17 17:05
yukaI need to clean it up a bit and add support for interrupt-based TX, but this is already very useful for these newer devices which have broken debug-uarts c:
#asahi-dev · 2026-07-17 17:04
yukaand on t6050 too!
#asahi-dev · 2026-07-17 17:00
yukadcuart as linux console works on t8140 🎉
#asahi-dev · 2026-07-17 16:51
yukasomeone needs to run it on t602x too, since there is no interrupt specified in the adt
#asahi-dev · 2026-07-17 16:51
yukaI will try to write a tool to find the correct interrupt num based on aic HWSTATE
#asahi-dev · 2026-07-17 16:43
yukaThe t8140 one wasn't wrong in the adt, but I mistyped when copying it to the device tree
#asahi-dev · 2026-07-17 16:33
yukafor reference, I meant 702 is the irq num for M5 Pro (t6050), not M5 (t8142). But since I don't have a base M5 device, I sometimes think of the M5 pro as the "M5 (class)" device ;)
#asahi-dev · 2026-07-17 16:29
yukathis is going to be fun... validating each individual SoC's irq nums
#asahi-dev · 2026-07-17 16:29
yukaadt says 360 but it's 702
#asahi-dev · 2026-07-17 16:29
yukait's just wrong in the adt
#asahi-dev · 2026-07-17 16:29
yukafor M5
#asahi-dev · 2026-07-17 16:29
yukafound the irq num
#asahi-dev · 2026-07-17 16:29
yukaOh!
#asahi-dev · 2026-07-17 16:22
yukado we know of any situation where mac os actually uses the dockchannel uart with interrupts?
#asahi-dev · 2026-07-17 16:21
yukathe config area differs in two bits, which I can't write
#asahi-dev · 2026-07-17 16:20
yukawhere t8132 immediately throws interrupts once unmasked and t6050 I've never seen an interrupt being thrown
#asahi-dev · 2026-07-17 16:20
yukaI diffed the mmio areas (that I know of) of dockchannel-uart on t8132 vs t6050
#asahi-dev · 2026-07-17 06:56
yukawhich is crazy fast, it takes ~15min most of which is waiting for single-threaded rust crate compilation and copying stuff around
#asahi-dev · 2026-07-17 06:55
yukaWhen I need to build a non-tiny config (like the nixos allmodconfig-ish I run on my daily driver), I build it remotely on an Ampere One server
#asahi-dev · 2026-07-17 06:54
yukaI'm only using it with a tiny initrd, many things may not work
#asahi-dev · 2026-07-17 06:53
yukatake it with a big grain of salt
#asahi-dev · 2026-07-17 06:53
yukahttps://x0.at/Nm00
#asahi-dev · 2026-07-17 06:53
yukamy tinyconfig + absolute basics + most non-rusty/dcp/gpu apple drivers takes 45sec
#asahi-dev · 2026-07-17 06:52
yukayes
#asahi-dev · 2026-07-17 06:51
yukaCarlos: defconfig on M3 Max (14-core) takes 8m26s
#asahi-dev · 2026-07-17 06:45
yukalet me check how long defconfig takes
#asahi-dev · 2026-07-17 06:41
yukaif you do make tinyconfig (it will override your current config) it will result in a config with everything disabled (yes, everything, you need to add back printk support)
#asahi-dev · 2026-07-17 06:40
yukabuilding a minimal/tiny kernel config isn't easy but it helps with compile times a lot
#asahi-dev · 2026-07-17 06:40
yukaDepends completely on the config
#asahi-dev · 2026-07-16 19:46
yukait falls back to unencrypted

plus ›