#asahi-dev · 2021-07-19 05:32
svenfwiw, the secure enclave is also somehow involved in HDCP#asahi-dev · 2021-07-18 15:12
sveni.. uh... so maybe that RPC protocol isn't as ugly as it looks :P#asahi-dev · 2021-07-18 15:06
svenor "just" reverse engineer that RTKit firmware crap and write a driver that does MMIO pokes :P#asahi-dev · 2021-07-12 17:41
svenyeah, i didn't see any non-coherence either even when the iommus are in bypass mode#asahi-dev · 2021-07-12 14:50
svenwe know that they have an internal linux port from some xnu comments#asahi-dev · 2021-07-12 14:45
sventhat's just speculation though. could've also been internal pressure from their engineers who also want linux on those machines ;)#asahi-dev · 2021-07-12 14:44
sventhey're not trying to obstruct - they just have no reason to make the hw more complex#asahi-dev · 2021-07-12 14:44
sventhey built the hardware that way because it works nicely with mac os. they don't care about anything else#asahi-dev · 2021-07-12 14:42
svenright now i expect everyone to use a kernel with 16k pages anyway since only the basics are upstreamed so far#asahi-dev · 2021-07-12 14:42
svenyeah#asahi-dev · 2021-07-12 14:41
sventhe goal is to eventually have something like "boot into 1TR, open a terminal and run curl alx.sh | bash"#asahi-dev · 2021-07-12 14:40
svenmight make adoption at the beginning easier#asahi-dev · 2021-07-12 14:40
svenbut at least you could boot a normal distro installer that way and then switch to a custom kernel later on#asahi-dev · 2021-07-12 14:40
svennot imho#asahi-dev · 2021-07-12 14:39
svenfwiw, the current version boots on 4k kernels in bypass mode. what probably won't work for a while is thunderbolt and wifi#asahi-dev · 2021-07-12 14:38
svenbut i'll see if i can get a patch accepted that makes the iommu framework play nicely with a bigger granule once the initial DART version (+ some other important drivers) are upstream#asahi-dev · 2021-07-12 14:37
svenyeah, we shouldn't expect to get 4k iommu pages#asahi-dev · 2021-07-06 20:06
svenhttps://github.com/AsahiLinux/m1n1/pull/87/files and this boots SEPOS. the sks and sbio endpoints don't appear yet though#asahi-dev · 2021-07-01 18:35
svenand from a brief glance they all seem to have a different binary ipc protocol#asahi-dev · 2021-07-01 18:35
svenhttps://github.com/AsahiLinux/m1n1/pull/85/files if anyone wants to look into the SEP. it tells us all its endpoint names. the sks endpoint is probably responsible for keychain stuff and sbio is for the biometric stuff i believe#asahi-dev · 2021-06-22 08:29
sventhose should just be the tunables then#asahi-dev · 2021-06-22 06:15
svenand i don't know what most of them do#asahi-dev · 2021-06-22 06:15
svenmarcan: only during init or later as well? because during initialization it'll poke those registers from the tunables #asahi-dev · 2021-06-21 21:39
svenyou underestimate my procrastination!#asahi-dev · 2021-06-21 20:33
svenand i've been too lazy to fix that#asahi-dev · 2021-06-21 20:33
sveni never updated it since january or so#asahi-dev · 2021-06-21 20:33
sveni'm pretty sure it's because my mac os version is old#asahi-dev · 2021-06-21 19:15
svenmarcan: did you see any special flags or bits in the PTE when the DART mapped device memory?#asahi-dev · 2021-06-21 04:46
svenvery nice :-)#asahi-dev · 2021-06-20 09:56
svencould also be some weird dma issue that causes memory corruption. though i guess that's not likely if it always fails with the same error#asahi-dev · 2021-06-19 06:55
svennice! :)#asahi-dev · 2021-06-18 15:39
svenlet me know if you have any other issues though. i'm not even sure how many people have tested that dart code yet :)#asahi-dev · 2021-06-18 15:38
svenconnecting the usb stick after linux has booted only works if the port hasn't been used before that#asahi-dev · 2021-06-18 15:38
svenc1truz[m]: so the problem is that the usb c controller has a very strange quirk when it comes to replugging anything. having the usb stick connected before booting linux definitely works#asahi-dev · 2021-06-18 15:37
sven_jannau_: true. but that shouldn't cause an SError in the dart probe.#asahi-dev · 2021-06-18 15:35
svenweird, but glad it works now :-)#asahi-dev · 2021-06-18 15:35
svenwhat was fixed on june 10th? i think the clocks should've been enabled long before that#asahi-dev · 2021-06-18 15:33
svenbut even older ones should work#asahi-dev · 2021-06-18 15:33
sventhat certainly can't hurt#asahi-dev · 2021-06-18 15:32
svenweird. then all clock gates should be enabled#asahi-dev · 2021-06-18 15:32
sveni'm not sure if the usb clocks get enabled when concatenating it to m1n1#asahi-dev · 2021-06-18 15:32
svenc1truz[m]: did you load the kernel over usb?#asahi-dev · 2021-06-18 15:30
svenyeah.. haven't had the time to implement what tony suggested yet :/#asahi-dev · 2021-06-18 15:29
svenhm, so usb should work without u-boot i think#asahi-dev · 2021-06-18 12:45
svenhttps://github.com/svenpeter42/linux/commits/pcie/hack that should have usb+pcie when launched through https://github.com/kettenis/u-boot/tree/apple-m1-m1n1-pcie. maybe.#asahi-dev · 2021-06-18 12:44
sventhere's also a branch somewhere for pcie (which gives you usb-a ports and ethernet)#asahi-dev · 2021-06-12 12:21
sveniirc the firmware updating is also different, i wasn't able to dump the flash with the TI commands#asahi-dev · 2021-06-12 12:20
svenyeah, it also has that special SPSS command and doesn't require to be told to switch to source/sink mode etc.#asahi-dev · 2021-05-30 19:10
svenactually, siguza documented it. looks it's XNU itself which setups KTRR https://siguza.github.io/KTRR/