#
✕ nick:kettenis
#asahi · 2021-12-29 15:52
kettenisseparate machine connected using a type-C to type-C cable
#asahi · 2021-12-29 15:52
kettenisso expect that it works on NetBSD as well
#asahi · 2021-12-29 15:51
kettenisI don't think I added any code to make this work
#asahi · 2021-12-29 15:50
kettenisucom1 at umodem1
#asahi · 2021-12-29 15:50
kettenisumodem1 at uhub1 port 5 configuration 1 interface 2 "Asahi Linux m1n1 uartproxy 4089443" rev 2.00/1.00 addr 4
#asahi · 2021-12-29 15:50
kettenisucom0 at umodem0
#asahi · 2021-12-29 15:49
kettenisumodem0 at uhub1 port 5 configuration 1 interface 0 "Asahi Linux m1n1 uartproxy 4089443" rev 2.00/1.00 addr 4
#asahi · 2021-12-29 15:49
kettenisrose_: shows up on OpenBSD as ucom0 and ucom1
#asahi · 2021-12-29 14:56
kettenisit's not supposed to do that
#asahi · 2021-12-29 14:52
kettenisit says that a lot
#asahi · 2021-12-29 13:42
kettenisbut most of the "special" keys (such as the arrows) are currently not mapped
#asahi · 2021-12-29 13:41
kettenisthe keyboard should work in grub
#asahi · 2021-12-29 12:12
kettenisinside the SPMI PMU
#asahi · 2021-12-29 00:12
kettenisbut the u-boot one should work for the kernel as well
#asahi · 2021-12-29 00:11
kettenistpw_rules: there are still some small differences
#asahi · 2021-12-29 00:04
kettenisu-boot
#asahi · 2021-12-29 00:01
kettenisno sound support in u-boot, but I did resync the device trees
#asahi · 2021-12-28 23:42
kettenisjust pushed spi keyboard support to the u-boot branch
#asahi · 2021-12-28 14:48
kettenismarcan: maybe you should look into what happens with the Linux device tree; I think we want to prevent it from being installed and/or shipped by distros as part of their device tree package
#asahi · 2021-12-24 18:29
kettenismarcan: the sun4m architecture included an IOMMU!
#asahi · 2021-12-23 17:36
kettenisyes
#asahi · 2021-12-22 17:49
kettenismps: does it do that on every boot?
#asahi · 2021-12-21 19:45
kettenisit is
#asahi · 2021-12-21 19:39
kettenismarcan: ah, different power state for smc
#asahi · 2021-12-21 19:03
kettenisbut maybe I should just drop the smc code from u-boot
#asahi · 2021-12-21 19:02
ketteniscurrently trying to figure out if I can shut down the SMC in u-boot and bring it back up in OpenBSD
#asahi · 2021-12-21 19:01
kettenisI've update https://github.com/AsahiLinux/docs/wiki/HW:SMC with my findings
#asahi · 2021-12-21 18:59
kettenisI've got the basic battery stuff figured out
#asahi · 2021-12-21 15:52
kettenissince I shut things down, Linux can start everything it wants and manage the SART
#asahi · 2021-12-21 15:51
kettenisNVMe itself doesn't need the SART
#asahi · 2021-12-21 15:51
kettenisbit of a hack maybe, but as long as I can get away with that it is a nice simplification
#asahi · 2021-12-21 15:50
kettenissince I don't start syslog and effectively nack crashlog and ioreport, I have nothing to put into the SART
#asahi · 2021-12-21 15:45
kettenisit doesn't use SART either
#asahi · 2021-12-21 15:45
kettenisfirefox317: indeed, u-boot doesn't use interrupts
#asahi · 2021-12-21 15:44
kettenisthe upstreamed version still uses a hardcoded address for the debug uart though, and the debug uart is still enabled by default
#asahi · 2021-12-21 15:42
kettenistpw_rules: the upstreamed code is using the device tree, but the branch still uses a hardcoded address I think
#asahi · 2021-12-21 15:40
kettenisserial port address also changed, so that might screw things up
#asahi · 2021-12-21 13:04
kettenisyou'll have to wait
#asahi · 2021-12-21 13:03
kettenismps: that's not going to work
#asahi · 2021-12-21 13:02
kettenis12:15 <@marcan> https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/pcie_enable_devices.py
#asahi · 2021-12-21 12:59
kettenisdoes the pci device show up when you do lspci?
#asahi · 2021-12-21 11:40
kettenisfuture asahi reports will likely include a paragraph on OpenBSD though
#asahi · 2021-12-21 11:39
kettenisas400[m]: not really; I don't get paid to do this stuff, so I don't do any reporting ;)
#asahi · 2021-12-21 11:38
kettenismps: yes
#asahi · 2021-12-21 11:30
kettenisnot yet
#asahi · 2021-12-21 11:27
kettenisbut I don't have an M1 Pro/Max machine yet
#asahi · 2021-12-21 11:26
kettenisyes
#asahi · 2021-12-21 11:23
kettenistrue
#asahi · 2021-12-21 11:21
kettenisor use u-boot ;)
#asahi · 2021-12-19 08:47
kettenis(I haven't spent a lot of time investigating that problem since it tries a 2nd time when the interface is brought up and that attempt almost always succeeds)

plus ›