#
✕ nick:sven
#asahi · 2021-07-25 15:51
svenor, well, nvme needs ASC which usually goes through a DART but here is uses SART
#asahi · 2021-07-25 15:51
svennvme needs ASC + SART
#asahi · 2021-07-25 15:49
sven*but i don't know what
#asahi · 2021-07-25 15:49
svenand nvme kinda works if you boot through u-boot as well
#asahi · 2021-07-25 15:49
svenfor the rest of the branches.. i2c needs a gpio controller for the interrupt, pcie needs the dt bindings (i think kettenis submitted some but i don't want what their status is)+u-boot for the bringup+dart
#asahi · 2021-07-25 15:46
svenugh, yeah. that's gonna be fun
#asahi · 2021-07-25 15:39
sven*states
#asahi · 2021-07-25 15:38
sventhe only thing that just works is the dart branch fwiw. the rest is in various state of broken and/or requires hacks :D
#asahi · 2021-07-25 11:44
svenalright, i think i'm happy with dart/dev now. would be great if some people could test it to make sure everything still works and then i'll probably send v5 a week or so from now
#asahi · 2021-07-24 15:09
svenalright, pushed my current version to https://github.com/AsahiLinux/linux/tree/dart/dev again. still need to go over it once more tomorrow but should be good enough for testing :)
#asahi · 2021-07-24 14:35
svenif that also doesn't work the problem is somewhere in m1n1. if that works we can figure out why your kernel doesn'
#asahi · 2021-07-24 14:34
svenand then i use python3 proxyclient/tools/linux.py -t /dev/cu.debug-console --bootargs="earlycon" Image.gz t8103-j274.dtb initramfs.cpio.gz
#asahi · 2021-07-24 14:34
svenhttps://f.svpe.de/99857b194ce9dcc2bff009ca4770cb0a896c43c3f1a1ce5c0e8baee953a0570e_Image.gz https://f.svpe.de/132deb4ca7a65b019c4df3ffd8b94095638bf9ab8ced8a31f2fd7bdcc480131a_t8103-j274.dtb
#asahi · 2021-07-24 14:33
svenwanna try mine?
#asahi · 2021-07-24 14:33
svenhrm, still no signs of life from your kernel?
#asahi · 2021-07-24 14:32
sveni'm still confused this works. this has never happened before. i *always* make some dumb mistakes
#asahi · 2021-07-24 14:32
sven# CONFIG_MODULES is not set 🙃
#asahi · 2021-07-24 14:22
svenhrm, this is suspicious. i rewrote like half of the dart driver and the new version didn't kernel panic immediately
#asahi · 2021-07-23 04:40
sventhat should just get rid of the sepfw logic
#asahi · 2021-07-23 04:40
svenyou can also try to just comment out two lines here https://github.com/AsahiLinux/m1n1/blob/main/src/kboot.c#L311
#asahi · 2021-07-22 17:25
svenbut dunno :/
#asahi · 2021-07-22 17:25
svenand it looks like maybe it contains some whitelisted MMIO regions
#asahi · 2021-07-22 17:24
svensoo.. i don't really know how this DAPF thing works but i believe it's an additional filter behind the DART
#asahi · 2021-07-22 17:22
svenhrm, actually, i think there is
#asahi · 2021-07-22 17:20
svenor maybe it's just at another MMIO location
#asahi · 2021-07-22 17:20
svenhrm, so i don't think there's a DAPF behind it
#asahi · 2021-07-22 17:17
svenyeah, i'm checking if there's this DAPF address filter thing behind it
#asahi · 2021-07-22 17:17
svenbypass usually means that streams gets access to everything
#asahi · 2021-07-22 17:16
svenweird
#asahi · 2021-07-22 17:16
svenyeah, stream 15 is set to bypass
#asahi · 2021-07-22 17:16
svenah, yes
#asahi · 2021-07-22 17:15
svendcpext only has a single stream i thinbk
#asahi · 2021-07-22 17:15
svenbut i think so
#asahi · 2021-07-22 17:15
svenlet me double check
#asahi · 2021-07-22 17:15
svenlike.... why even bother locking it then?!
#asahi · 2021-07-22 17:14
sveni think i can even overwrite the first level tables
#asahi · 2021-07-22 17:14
svenerm.. wtf
#asahi · 2021-07-22 17:14
svenlet me check
#asahi · 2021-07-22 17:14
svenoh, possibly
#asahi · 2021-07-22 17:14
svenit just locks all streams
#asahi · 2021-07-22 17:14
svenuh.. the lock bit is global
#asahi · 2021-07-22 17:13
svenwe just can't point them anywhere else
#asahi · 2021-07-22 17:13
svenlet me check, but i think so
#asahi · 2021-07-22 17:13
svenyeah :-(
#asahi · 2021-07-22 17:13
svenyup
#asahi · 2021-07-22 17:12
svenbtw. i just realized that apple locks the dcp and the dcpext DARTs in iBoot :/
#asahi · 2021-07-22 17:11
svensounds good :)
#asahi · 2021-07-22 17:08
svenand yeah, mine is compressed
#asahi · 2021-07-22 17:07
svenhrm, so i read the linux code and i thought it just eats whatever you feed it
#asahi · 2021-07-22 17:06
svenmine is compressed i think

plus ›