#asahi-re · 2022-06-03 17:06
marcanon those devices#asahi-re · 2022-06-03 17:06
marcanthere's also the lightning controller involved, Tristar or whatever, right?#asahi-re · 2022-06-03 17:05
nergzd723g_ether iirc#asahi-re · 2022-06-03 17:05
nergzd723needs more guesswork I guess#asahi-re · 2022-06-03 17:05
nergzd723but I only enabled DWC2_PERIPHERAL only, and some gadget configuration is applied, so I assume it must be in peripheral mode#asahi-re · 2022-06-03 17:04
marcannot like that#asahi-re · 2022-06-03 17:04
marcanit isn't#asahi-re · 2022-06-03 17:04
nergzd723I don't think it's supposed to announce new connections if it's acting as a peripheral#asahi-re · 2022-06-03 17:04
marcanright now it sounds like you have two hosts trying to talk to each other and falsely detecting each other as a full/high speed device for whatever reason#asahi-re · 2022-06-03 17:04
nergzd723Yeah - I suspect as much#asahi-re · 2022-06-03 17:04
marcanyou need to put it in gadget mode#asahi-re · 2022-06-03 17:04
nergzd723The host controller on PC tries to power cycle it and do other things, but it doesn't succeed#asahi-re · 2022-06-03 17:04
marcanthat sounds like Linux is treating it as a *host* port, not a *device* port#asahi-re · 2022-06-03 17:03
nergzd723well, the current state of affairs is that Linux driver probes, detects cable("new full/high-speed device..."), but on PCs side I also see "new full/high speed device..." but then "device doesn't accept address ..."#asahi-re · 2022-06-03 17:01
marcanlinux has a dwc2 driver#asahi-re · 2022-06-03 17:01
marcanI mean in m1n1#asahi-re · 2022-06-03 17:01
marcandifferent hardware then, you'll have to adapt the driver or write your own#asahi-re · 2022-06-03 17:01
nergzd723interesting#asahi-re · 2022-06-03 17:01
nergzd723yes, mine is using dwc2#asahi-re · 2022-06-03 17:01
marcanM1 uses dwc3#asahi-re · 2022-06-03 17:01
marcandon't those devices use dwc2?#asahi-re · 2022-06-03 17:00
nergzd723did you get USB on M1?#asahi-re · 2022-06-03 17:00
nergzd723Right now I'm trying to convince USB to work, but it won't work properly#asahi-re · 2022-06-03 17:00
nergzd723well, it would be a long way to NAND for sure#asahi-re · 2022-06-03 16:59
marcanif you end up having to implement the FTL in software, I wish you luck...#asahi-re · 2022-06-03 16:59
nergzd723not sure about it#asahi-re · 2022-06-03 16:58
marcanthe NAND controller#asahi-re · 2022-06-03 16:58
nergzd723what is ANS?#asahi-re · 2022-06-03 16:58
marcanno ANS taking care of that I guess?#asahi-re · 2022-06-03 16:58
marcanthat sounds painful...#asahi-re · 2022-06-03 16:58
nergzd723the sad thing about A7/A8 is that they have an older generation of NAND controller, newer devices use pcie for storage.#asahi-re · 2022-06-03 16:57
marcanAdryzzOLEDEdition[m]: they just need their hypervisor to convince iOS to boot, not to actually emulate the hardware as it actually functions#asahi-re · 2022-06-03 16:56
nergzd723teir drivers are usually a mess...#asahi-re · 2022-06-03 16:56
AdryzzOLEDEdition[m]they just need it to boot, not to work well#asahi-re · 2022-06-03 16:56
marcanhence why I avoid trying to look at their code; it has caused several people much confusion#asahi-re · 2022-06-03 16:55
marcancorellium do a lot of stuff that isn't relevant to anything or outright wrong#asahi-re · 2022-06-03 16:55
nergzd723They also appear to be doing something with Coresight register, is that not relevant to M1?#asahi-re · 2022-06-03 16:54
marcanand I initially didn't understand what the second bit set did (then I realized it had to do with enabling system-level stuff for the core, e.g. IRQs don't work without it)#asahi-re · 2022-06-03 16:53
marcanIIRC they had the cluster/core stuff wrong#asahi-re · 2022-06-03 16:53
jannauit started off as absolute value 0x23b754000L#asahi-re · 2022-06-03 16:53
marcanthey might compute it differently but it has to hit the same register to work#asahi-re · 2022-06-03 16:52
nergzd723marcan: I think corellium has a different offset#asahi-re · 2022-06-03 16:52
marcanI think it did come from corellium though#asahi-re · 2022-06-03 16:51
nergzd723thank you :)#asahi-re · 2022-06-03 16:50
jannauhas to be stream from january 2021, fortunately there's a date in the title#asahi-re · 2022-06-03 16:48
jannauhttps://www.youtube.com/c/marcan42#asahi-re · 2022-06-03 16:47
nergzd723where can I find the streams?#asahi-re · 2022-06-03 16:33
j`eynergzd723: you could maybe look back at some of the streams to see..#asahi-re · 2022-06-03 16:32
marcannergzd723: I forget how we figured out the offset, maybe that came from corellium? Either way nowadays we'd be using the hypervisor to find things like that, but I imagine that won't work on A7/A8 era devices.#asahi-re · 2022-06-03 16:14
nergzd723Let me know if this is not a correct room for questions like that