#
✕ nick:kettenis_
#asahi-dev · 2023-01-20 14:43
kettenis_sven: what thunderbolt ethernet is that? the apple one?
#asahi-dev · 2023-01-19 12:11
kettenis_ouch
#asahi-dev · 2023-01-18 23:50
kettenis_jannau: thanks; trying to decide what I should order to get the maximum amount of hardware diversity for a minimum number of machines
#asahi-dev · 2023-01-18 22:51
kettenis_jannau: any clue about the ethernet on the new mini's?
#asahi-dev · 2023-01-18 14:05
kettenis_IIRC from my analysis the tunables for the "normal" PCIe ports did fix up some stuff in the PCI Express Capability Structure
#asahi-dev · 2023-01-18 14:05
kettenis_is there a tunable that tries to fix this up perhaps?
#asahi-dev · 2023-01-18 14:04
kettenis_sven: misreporting slot capabilities is par for the course on x86 as well
#asahi-dev · 2023-01-01 12:21
kettenis_looks like powering off the wifi chip (through the SMC gpio) saves a bit over 0.1 W in power
#asahi-dev · 2022-11-30 09:54
kettenis_marcan maz: thanks
#asahi-dev · 2022-11-29 11:54
kettenis_tis way the machines will be obsolete before things are fully upstreamed
#asahi-dev · 2022-11-29 11:53
kettenis_oh FFS, is there any hope for doing this sort of thing without bikeshedding things to death
#asahi-dev · 2022-11-22 11:22
kettenis_marcan: with restore you mean DFU mode? That isn't realy macOS isn't it?
#asahi-dev · 2022-11-22 11:19
kettenis_does macOS even offer device mode functionality?
#asahi-dev · 2022-11-22 10:52
kettenis_there are different "glue" drivers though
#asahi-dev · 2022-11-22 10:50
kettenis_OpenBSD is a bit more forgiving in that respect
#asahi-dev · 2022-11-22 10:50
kettenis_I think linux and u-boot behave the same in that respect
#asahi-dev · 2022-11-21 16:16
kettenis_ah, that reminds me, need to test how well that works under OpenBSD now that I have suspend/resume (mostly) working
#asahi-dev · 2022-11-19 23:49
kettenis_ok, found a smoking gun; something is up with my spi/keyboard/touchpad driver
#asahi-dev · 2022-11-19 12:15
kettenis_jannau: yes, and it doesn't seem to make a difference
#asahi-dev · 2022-11-19 11:50
kettenis_no response at all after I send the initial IOP power state message
#asahi-dev · 2022-11-19 11:50
kettenis_not getting that far
#asahi-dev · 2022-11-19 11:32
kettenis_so it must be my code in OpenBSD
#asahi-dev · 2022-11-19 11:32
kettenis_m1n1 can bring it up, although experiments/smc.py does manage to provoke a crash
#asahi-dev · 2022-11-19 11:10
kettenis_guess it is time to bring out m1n1 on this machine
#asahi-dev · 2022-11-19 11:08
kettenis_I don't get *any* response from the SMC after upgrading the primary macOS to 12.6.1
#asahi-dev · 2022-11-18 23:47
kettenis_but allegedly the M1 Air has the same issue
#asahi-dev · 2022-11-18 23:47
kettenis_this is on the 13" M1 Macbook
#asahi-dev · 2022-11-18 23:46
kettenis_mm, so after upgrading to macOS 12.6.1, I can't wake up the SMC anymore
#asahi-dev · 2022-11-17 11:13
kettenis_marcan: upstreaming MTP would be good, but it would probably be easier if we upstream the dt bindings first
#asahi-dev · 2022-11-16 14:45
kettenis_thos have made it into master
#asahi-dev · 2022-11-16 14:45
kettenis_also cherry-picked the two usb improvements that jannau made/instigated on that branch
#asahi-dev · 2022-11-16 14:06
kettenis_ok, just pushed a dummy atcphy driver to the u-boot asahi branch
#asahi-dev · 2022-11-16 11:09
kettenis_on the bright side, booting from nvme still works, and OpenBSD is still mostly happy with that device tree
#asahi-dev · 2022-11-16 11:07
kettenis_ok, so we do indeed need a dummy phy driver that also actts as a reset controller
#asahi-dev · 2022-11-16 10:58
kettenis_is that a hack or does atcphy really control part of the dwc3 controller?
#asahi-dev · 2022-11-16 10:57
kettenis_hmm, so atcphy acts as a reset controller for the usb controller?
#asahi-dev · 2022-11-16 09:33
kettenis_if one of you points me at the right device tree, I can have a look at it
#asahi-dev · 2022-11-15 10:28
kettenis_we're also putting the infsrastructure in place to update the stage2 m1n1 from OpenBSD
#asahi-dev · 2022-11-15 10:26
kettenis_we had an OpenBSD hackathon last week and I made some good progress on implementing "s2idle" for OpenBSD/arm64
#asahi-dev · 2022-11-15 10:24
kettenis_marcan: I suppose the size of the region should be maede bigger, but I couln't quickly find out what it should be
#asahi-dev · 2022-11-15 10:22
kettenis_reg = <0x10000 4>;
#asahi-dev · 2022-11-15 10:22
kettenis_and then ps_disp0_cpu0 has:
#asahi-dev · 2022-11-15 10:21
kettenis_reg = <0x2 0x3b700000 0 0x10000>;
#asahi-dev · 2022-11-15 10:21
kettenis_pmgr on the 8112 has:
#asahi-dev · 2022-11-15 10:21
kettenis_marcan: did you see my comment about the pmgr registers in the device tree last week?
#asahi-dev · 2022-11-15 10:19
kettenis_sven: thanks
#asahi-dev · 2022-11-15 10:18
kettenis_it is unlikely that I'll copy any of the code, but there are so many registers that I may end up copying those bits
#asahi-dev · 2022-11-15 10:14
kettenis_is that intentional?
#asahi-dev · 2022-11-15 10:14
kettenis_sven: I noticed that some of the atc phy code is gpl-only instead of dual gpl+mit
#asahi-dev · 2022-11-10 14:39
kettenis_found it; wasn't cleaning up sart entries and ran out

plus ›