#
#asahi-dev · 2023-04-10 11:44
jannauI'll do the same include trick as for the macbook pros
#asahi-dev · 2023-04-10 11:44
jannauthe m2 pro mac mini is very close to the mac studio
#asahi-dev · 2023-04-10 11:41
marcanpushed the kernel
#asahi-dev · 2023-04-10 11:41
marcanwill look at the rest later
#asahi-dev · 2023-04-10 11:41
marcan4-level DART works and MTP starts up, though the HID descriptors are borked (possibly some MTP firmware ABI change)
#asahi-dev · 2023-04-10 11:18
marcanfor the laptops I added ~everything, didn't look at the mini at all though
#asahi-dev · 2023-04-10 11:18
marcanthat device isn't done
#asahi-dev · 2023-04-10 11:18
marcanah yeah
#asahi-dev · 2023-04-10 11:17
jannauthe Makefile? probably just an oversight
#asahi-dev · 2023-04-10 11:16
chadmedoh its on purpose
#asahi-dev · 2023-04-10 11:16
jannauyes
#asahi-dev · 2023-04-10 11:16
chadmedoh and the Makefile in the dt directory is missing t6020-j474s.dtb
#asahi-dev · 2023-04-10 11:15
jannaukettenis_: no, it doesn't work but it boots
#asahi-dev · 2023-04-10 11:13
chadmedits just the darts
#asahi-dev · 2023-04-10 11:13
chadmedyeah nothing hanging off pcie probes
#asahi-dev · 2023-04-10 11:13
chadmedill play some more tomorrow, basically just waiting for DCP and id consider it useable rn tbh
#asahi-dev · 2023-04-10 11:13
kettenis_jannau: but pcie doesn't actually work does it?
#asahi-dev · 2023-04-10 11:12
kettenis_if I disable pcie darts and pcie itself, openbsd boots fine with marcan's dts
#asahi-dev · 2023-04-10 11:12
chadmedyeah it was dying on 0x595xxxxx
#asahi-dev · 2023-04-10 11:12
jannauchadmed: it trips over the unused pcie port 1. disabling that one is sufficient, enabling port 2 and 3 (ethernet and xhci) causes no issues
#asahi-dev · 2023-04-10 11:01
chadmedah well, progress is progress
#asahi-dev · 2023-04-10 11:00
kettenis_I'm using a usb dongle
#asahi-dev · 2023-04-10 11:00
kettenis_unfortunately, yes
#asahi-dev · 2023-04-10 11:00
chadmedthe ethernet adapters are attached over pcie right
#asahi-dev · 2023-04-10 10:59
chadmedawesome smc, rtc and nvme work
#asahi-dev · 2023-04-10 10:55
marcanpushed
#asahi-dev · 2023-04-10 10:52
jannaukettenis_: problem is in the hypervisor, works after adding 0x6020 to 'elif chip_id in (0x6021,):'
#asahi-dev · 2023-04-10 10:51
marcanthis looks like we aren't handling the fault clearing properly...
#asahi-dev · 2023-04-10 10:51
marcan[ 5.730759] apple-dart 2a9808000.iommu: translation fault: status:0x90180000 stream:1 code:0x0 (unknown) at 0xfffffc040
#asahi-dev · 2023-04-10 10:51
marcan[ 5.730756] apple_dart_t8110_irq: 12570 callbacks suppressed
#asahi-dev · 2023-04-10 10:51
kettenis_I have true serial ;)
#asahi-dev · 2023-04-10 10:51
kettenis_but I'm not using the hypervisor
#asahi-dev · 2023-04-10 10:50
kettenis_still works when pointed at the latest m1n1
#asahi-dev · 2023-04-10 10:49
jannaudisable all pcie darts
#asahi-dev · 2023-04-10 10:47
chadmedhypervisor explodes on some dart code though which is nice :)
#asahi-dev · 2023-04-10 10:47
chadmedadding 0x6020 to that in hv/__init__.py fixed it
#asahi-dev · 2023-04-10 10:45
kettenis_ah, my boot script is still pointing to the m1n1 tree I was using before
#asahi-dev · 2023-04-10 10:44
chadmedhm
#asahi-dev · 2023-04-10 10:44
chadmedelif chip_id in (0x6021,):
#asahi-dev · 2023-04-10 10:41
chadmed12 core
#asahi-dev · 2023-04-10 10:39
chadmedfails on j474s here too
#asahi-dev · 2023-04-10 10:38
kettenis_works here it seems; 10-core j474s as well
#asahi-dev · 2023-04-10 10:35
jannaukettenis_: does m1n1 bring up the secondary cpu cores? fails here on the 10 core j474s
#asahi-dev · 2023-04-10 10:23
jannausure, but I don't think we want to use the extra level if it is not necessary
#asahi-dev · 2023-04-10 10:19
kettenis_and I can still boot my hacked openbsd install from usb
#asahi-dev · 2023-04-10 10:18
kettenis_cool, the latest m1n1 works fine as a proxy on my m2 pro
#asahi-dev · 2023-04-10 10:13
marcanmight as well implement this extra level though, for future-proofing
#asahi-dev · 2023-04-10 10:12
marcanthough that might be an offset
#asahi-dev · 2023-04-10 10:11
marcan TXM. IBM.[ b. 4] buf_size = 0x200000
#asahi-dev · 2023-04-10 10:11
marcan TXM. IBM.[ 3. 8] buf_addr = 0x10000008000

plus ›