#
✕ nick:sven
#asahi · 2021-04-28 12:18
svenbut since we have that "apple,whatever" match it would already work with just a different DT
#asahi · 2021-04-28 12:17
svenI think we can just do "apple,t8101-whatever", "apple,whatever"; for now. if the driver works without changes we can always add the compatibles to the driver later
#asahi · 2021-04-28 12:15
svenI don't care about them fwiw
#asahi · 2021-04-28 12:03
svenI don't think it's a bigger issue either
#asahi · 2021-04-28 11:51
svenbut I haven't seen anything that does the syscon thing
#asahi · 2021-04-28 11:51
svenyes
#asahi · 2021-04-28 11:50
svenbut I haven't really seen any recent SoC do it that way
#asahi · 2021-04-28 11:50
sventhat sentence was more than just a little bit confusing ;)
#asahi · 2021-04-28 11:49
svenyes, sorry
#asahi · 2021-04-28 11:34
svenno one else does that though
#asahi · 2021-04-28 11:34
svenbut I think we could just reuse the clocks property to refer to the clock controller itself.
#asahi · 2021-04-28 11:32
svenso I think the issue with clocks was how to specify the parent relationship in the dt itself
#asahi · 2021-04-28 11:29
svenmarcan: i, erm, got distracted figuring how these guarded exception levels work
#asahi · 2021-04-26 17:54
sveni think AIC uses "apple,t8103-aic", "apple,aic"
#asahi · 2021-04-26 05:47
sven:)
#asahi · 2021-04-26 05:43
svenit should be called TSO
#asahi · 2021-04-26 05:43
svencoffee first before i say more stupid things :-)
#asahi · 2021-04-26 05:39
svenjust woke up
#asahi · 2021-04-26 05:39
svenactualy... just ignore me
#asahi · 2021-04-26 05:38
svenand then some bit in those msrs to enable it
#asahi · 2021-04-26 05:38
svenit might need some bit in that hacr to enable reading/writing to some msrs
#asahi · 2021-04-26 05:38
sveni confused myself, sorry
#asahi · 2021-04-26 05:38
svenerm
#asahi · 2021-04-26 05:37
svenhttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/hacr_trap_bits.py
#asahi · 2021-04-26 05:37
svenand/or some other custom enable :-)
#asahi · 2021-04-26 05:37
svenregarding AMX: it probably needs some bit in HACR_EL2 iirc
#asahi · 2021-04-26 05:35
svenJaehyuk[m]: open("dt.bin", "wb").write(readmem(ba.devtree - ba.virt_base + ba.phys_base, ba.devtree_size))
#asahi · 2021-04-26 05:35
svenlet's see if i can find that magic invocation to just dump it :D
#asahi · 2021-04-26 05:34
svensomeone should write a dump_dt.py for proxyclient. ba.devtree contains the virtual base addr for the ADT
#asahi · 2021-04-24 18:25
svenyeah, that's what i assumed :)
#asahi · 2021-04-24 16:42
sventhat pmgr thing actually is a proxy call now fwiw
#asahi · 2021-04-24 16:42
svendon't think so
#asahi · 2021-04-24 12:22
svensure. i only care about linux (or other linux-like images) :)
#asahi · 2021-04-24 12:21
svenbut it will bring up the secondaries before jumping to linux
#asahi · 2021-04-24 12:21
svenyes
#asahi · 2021-04-24 12:21
svenyeah, the cores are fast enough as long as the MMU is enabled :)
#asahi · 2021-04-24 12:19
sventhat's gonna be tricky since m1n1 expects to be able to bring up SMP itself
#asahi · 2021-04-24 12:18
svenit essentially just issues that SPSS command
#asahi · 2021-04-24 12:18
sventry to run proxyclient/i2c.py and see if charging still works
#asahi · 2021-04-24 12:17
sventhe corellium patch does the important thing (SPSS) and then some strange things that shouldn't be required
#asahi · 2021-04-24 12:17
svenyeah, there's a linux driver for that chip
#asahi · 2021-04-24 12:17
svenalright.. let me document these guarded execution levels and this pagetable permissions rewrite thing apple calls SPRR and then it's back to reading iommu code :)
#asahi · 2021-04-24 12:16
svenlinux
#asahi · 2021-04-24 12:15
svenhm. i need to get back to fixing my dart driver and then just do the whole i2c/ti thing correctly
#asahi · 2021-04-24 12:12
svenheh, even better
#asahi · 2021-04-24 12:12
svenit might work after you bring up the TI chip
#asahi · 2021-04-24 12:12
svencan't disconnect a charger there :P
#asahi · 2021-04-24 12:11
sven*develop
#asahi · 2021-04-24 12:11
svenpipcet[m]: i only develp on my mac mini
#asahi · 2021-04-24 11:30
svenah, yes :)

plus ›