#
✕ nick:marcan
#asahi · 2021-01-08 01:41
marcanso that might be a strangely "folded" device path
#asahi · 2021-01-08 01:41
marcanbut if you look at the hardware devtree, its only mention of xhci is behind pcie
#asahi · 2021-01-08 01:40
marcandrd means dual-role-device
#asahi · 2021-01-08 01:40
marcanbut it might not be
#asahi · 2021-01-08 01:40
marcanI get the feeling that's a lie
#asahi · 2021-01-08 01:38
marcan("internal" means some internal fabric bus, but we don't care about those for our intents and purposes assuming they're transparent, which most are)
#asahi · 2021-01-08 01:37
marcanbut I haven't checked that part of the devtree
#asahi · 2021-01-08 01:37
marcan(the controller)
#asahi · 2021-01-08 01:37
marcanI believe it's internal
#asahi · 2021-01-08 01:36
marcan(bbl, irq)
#asahi · 2021-01-08 01:35
marcaniboot only loads stuff from internal ssd AIUI
#asahi · 2021-01-08 01:35
marcaninternal ssd
#asahi · 2021-01-08 01:34
marcanthat's where I saw xhci hangs off of PCIe
#asahi · 2021-01-08 01:34
marcandavidrysk[m]: if you mean the devicetree, I have a dump already :)
#asahi · 2021-01-08 01:34
marcanjn__: APFS
#asahi · 2021-01-08 01:23
marcanit'll be fun
#asahi · 2021-01-08 01:23
marcanbut this might be different on M1 so who knows
#asahi · 2021-01-08 01:23
marcanI hate PHY init
#asahi · 2021-01-08 01:23
marcanso I can probably get away with a lot less for xHCI
#asahi · 2021-01-08 01:23
marcanthough I think a lot of that is to initialize PHY stuff which is probably not used for xHCI since it's internal?
#asahi · 2021-01-08 01:22
marcancorellium has a driver already, but I'm annoyed by the pokefests
#asahi · 2021-01-08 01:22
marcanit seems xHCI (usb host) is under PCIe, so that has a dependency I did not expect, which means linux won't be usable for anything until PCIe is done, so PCIe is now top priority once mini is up
#asahi · 2021-01-08 01:22
marcan(for dwcusb values of usb)
#asahi · 2021-01-08 01:21
marcanthough I'll probably use the serial version to write a USB driver, then s/serial/usb/
#asahi · 2021-01-08 01:21
marcanwhat jn__ said :)
#asahi · 2021-01-08 01:10
marcanhonestly, I see myself implementing half these drivers in python/mini to begin with
#asahi · 2021-01-07 17:46
marcanmore experiments tomorrow
#asahi · 2021-01-07 17:46
marcananyway, sleep now ;)
#asahi · 2021-01-07 17:46
marcanI mean my info might be wrong :p
#asahi · 2021-01-07 17:46
marcan:)
#asahi · 2021-01-07 17:45
marcandavidrysk[m]: on M1?
#asahi · 2021-01-07 17:44
marcansure
#asahi · 2021-01-07 17:44
marcanif you can just throw code in you subvert that
#asahi · 2021-01-07 17:43
marcanthe point of 1TR is that it is a trusted environment
#asahi · 2021-01-07 17:43
marcan(just something I heard)
#asahi · 2021-01-07 17:43
marcan(though I haven't tested it)
#asahi · 2021-01-07 17:43
marcana la iOS
#asahi · 2021-01-07 17:43
marcanI thought recovery mode enforced proper apple codesigning
#asahi · 2021-01-07 17:42
marcanso yeah maybe I'll just give up on ssh, copy script over and use a netcat pipe
#asahi · 2021-01-07 17:42
marcanI can't *make* tools but I can *copy* them
#asahi · 2021-01-07 17:42
marcanI completely forgot about that
#asahi · 2021-01-07 17:42
marcanI can just copy script or whatever from osx, or from the net via curl
#asahi · 2021-01-07 17:41
marcanduh
#asahi · 2021-01-07 17:41
marcanyou can only use signed apps, but of course those are signed
#asahi · 2021-01-07 17:41
marcandavidrysk[m]: oh good point on the macos tools... the OS should actually already be mounted in recovery mode
#asahi · 2021-01-07 17:40
marcan(cc agraf? :))
#asahi · 2021-01-07 17:40
marcanmore fun will be using it in qemu :)
#asahi · 2021-01-07 17:40
marcanonce basic userspace is usable I'll just do it at some point, feel free to remind me if I forget
#asahi · 2021-01-07 17:40
marcanit should be like 10 lines of code if that, this will be trivial
#asahi · 2021-01-07 17:36
marcanthe TSO thing

plus ›