#
#asahi-dev · 2023-04-11 10:26
svenshould get back to staring at thunderbolt
#asahi-dev · 2023-04-11 10:21
marcanpushed the m1n1 changes back to main, hope I didn't regress the other socs :p
#asahi-dev · 2023-04-11 09:30
kettenis_U-Boot runs so we can wait until DCP is fixed
#asahi-dev · 2023-04-11 09:29
_jannau_yes, probably due to DCP setup issues on m2 (pro) mini. not intended to end up with empty reserved regions
#asahi-dev · 2023-04-11 09:29
kettenis_marcan: added two comments to https://github.com/AsahiLinux/linux/commit/7400cf11996a4715f65a64949db1b0cf407268a9 for things that you probably want to fix when cleaning up the linux pcie diff
#asahi-dev · 2023-04-11 09:20
kettenis_guess that is because the dcp setup stuff in m1n1 doesn't run?
#asahi-dev · 2023-04-11 09:19
kettenis_ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
#asahi-dev · 2023-04-11 09:17
kettenis_marcan, jannau: regarding reserved-regions, I noticed that U-Boot complained about reserved regions with size 0
#asahi-dev · 2023-04-11 08:52
jannaulinux changes are in https://github.com/jannau/linux/tree/t602x/bringup
#asahi-dev · 2023-04-11 08:51
jannauyes https://github.com/jannau/m1n1/commit/e1a2e6fddbd9d4222aabd99734ff3497050533a6
#asahi-dev · 2023-04-11 08:48
marcanwe need the reserved-regions stuff right?
#asahi-dev · 2023-04-11 08:47
marcando you have m1n1 changes?
#asahi-dev · 2023-04-11 08:46
_jannau_DCP might just work on the macbooks
#asahi-dev · 2023-04-11 08:46
marcanok, so now really just DCP/GPU left (and wifi I guess, we'll see how bad the new chips are)
#asahi-dev · 2023-04-11 08:45
marcansd card reader works even :)
#asahi-dev · 2023-04-11 08:45
marcan[ 46.894306] mmcblk0: p1
#asahi-dev · 2023-04-11 08:45
marcan[ 46.878307] mmcblk0: mmc0:59b4 ED2S5 119 GiB
#asahi-dev · 2023-04-11 08:45
marcan# [ 46.861422] mmc0: new ultra high speed SDR104 SDXC card at address 59b4
#asahi-dev · 2023-04-11 08:44
marcanpushed, will clean up the commits later
#asahi-dev · 2023-04-11 08:44
marcanyay :)
#asahi-dev · 2023-04-11 08:44
marcan[ 1.341841] pci 0000:02:00.0: [17a0:9755] type 00 class 0x080501
#asahi-dev · 2023-04-11 08:44
marcanaaaaargh, it's the power gate
#asahi-dev · 2023-04-11 08:31
marcanok, config space is fully dead so something is wrong here
#asahi-dev · 2023-04-11 08:28
marcanpushed a bunch of stuff to linux/m1n1 on t602x/bringup for both, but pcie still doesn't work :/
#asahi-dev · 2023-04-11 07:26
alex_certainly worth looking for USB4 eGPU support there then
#asahi-dev · 2023-04-11 06:46
marcanlooks like MSIs changed too, there's now a table thing
#asahi-dev · 2023-04-11 06:36
marcanthis is probably Mac Pro related, they're preparing for real general purpose PCIe slots
#asahi-dev · 2023-04-11 06:36
marcanrid2sid got moved out, presumably to make a lot more space there
#asahi-dev · 2023-04-11 06:36
marcanper port changed too
#asahi-dev · 2023-04-11 06:34
jannaure pcie: shifting registers to make space for more ports?
#asahi-dev · 2023-04-11 06:34
dottedmagjannau: Yep, TB. OK.
#asahi-dev · 2023-04-11 06:33
jannaudottedmag: that's a thunderbolt display? thanks but not at this time. m2* mac mini hdmi out has priority
#asahi-dev · 2023-04-11 06:19
marcanok, re pcie, more registers moved individually, so this is going to be a proper device variant now
#asahi-dev · 2023-04-11 05:45
dottedmagjannau: Would you like to see the more traces from that two-tile 5K monitor, or the ones I made last year are enough to understand how M1 drives it?
#asahi-dev · 2023-04-11 02:05
marcanjannau: m1n1 gets the links up at least I think, so linux probably takes them down during its init (and then fails to do the right dance to bring them up again)
#asahi-dev · 2023-04-10 22:38
chadmed_marcan, kettenis_: oof sorry about that, i guess nothing complained about it when i booted because it wasnt wired up :p
#asahi-dev · 2023-04-10 22:02
jannauthe aperture from dt change misses to limit ias based on dma_max, fixup included
#asahi-dev · 2023-04-10 22:01
jannauvm-base for dcp/disp0 is not used by iboot/macos and the reserved regions / locked dart do not work with 4 levels so it's using an aperture of 0, vm-size (2**36)
#asahi-dev · 2023-04-10 21:58
jannaumarcan: https://github.com/jannau/linux/tree/t602x/bringup has at least half-working dcp
#asahi-dev · 2023-04-10 21:50
jannaurichyliu2: work in progress. works as proof of concept. the main issue appears to be the integration with the typec framework and wonkyness of the dwc3 xhci part
#asahi-dev · 2023-04-10 21:46
richyliu2what's the status on external display support on m1 mbp? anything i can help with?
#asahi-dev · 2023-04-10 21:28
kettenis_I can access config and mmio space on the devices, so the link must be up in my case
#asahi-dev · 2023-04-10 21:11
jannauwhich isn't use in in the openbsd driver. links do not come up with that removed
#asahi-dev · 2023-04-10 21:02
jannauit timeouts on getting CORE_RC_PHYIF_STAT_REFCLK back from CORE_RC_PHYIF_STAT
#asahi-dev · 2023-04-10 20:58
kettenis_and presumably the asmedia xhci needs firmware to work
#asahi-dev · 2023-04-10 20:57
kettenis_but then I don't have drivers for most of the PCIe devices in OpenBSD
#asahi-dev · 2023-04-10 20:56
kettenis_I don't have the darts yet though, so devices don't work
#asahi-dev · 2023-04-10 20:56
kettenis_that is the only change I made to the OpenBSD driver
#asahi-dev · 2023-04-10 20:55
jannaufor backward compatibility: append the region and access it via reg-names. if it is absent compute a base from "rc" so that the offsets are equal
#asahi-dev · 2023-04-10 20:52
jannaukettenis_: is that the only change? seems not be enough for the linux driver and dt

plus ›