#asahi-dev · 2021-02-03 16:09
marcanmake sure you are connecting on the DFU ports#asahi-dev · 2021-02-03 16:08
marcanjust m1n1#asahi-dev · 2021-02-03 16:08
marcanno#asahi-dev · 2021-02-03 16:07
marcanthis is with two M1s?#asahi-dev · 2021-02-03 16:07
marcanotherwise the timing will be messed up, you will either enable serial after the startup messages are already sent, or before a reset that breaks it#asahi-dev · 2021-02-03 16:07
marcanBluerise: do the reset serial thing if you want to see debug output#asahi-dev · 2021-02-03 16:04
marcansure#asahi-dev · 2021-02-03 16:02
marcanpicocom --omap crlf --imap lfcrlf#asahi-dev · 2021-02-03 16:01
marcanbut you don't want hardware flow control#asahi-dev · 2021-02-03 16:01
marcanI've only ever used picocom, no idea about anything else#asahi-dev · 2021-02-03 15:45
marcanwhat is it, thunderbolt++?#asahi-dev · 2021-02-03 15:44
marcan*40* euro cable?#asahi-dev · 2021-02-03 15:44
marcanthen a cable or connector is dodgy#asahi-dev · 2021-02-03 15:44
marcanand the other way you got both?#asahi-dev · 2021-02-03 15:43
marcanthen yes, flipping either side will flip the connection#asahi-dev · 2021-02-03 15:42
marcanorientation again swaps SBU1/2#asahi-dev · 2021-02-03 15:42
marcanthe orientation of the cable is compensated for on the mac side, but presumably not on your board side#asahi-dev · 2021-02-03 15:40
marcanso direct serial will only ever work with SBU1/2#asahi-dev · 2021-02-03 15:40
marcancaveat emptor: if you're thinking of using this for serial, note that standard cables crossover SBU1/2 but not D+/D-#asahi-dev · 2021-02-03 15:40
marcan1<<pinset#asahi-dev · 2021-02-03 15:39
marcan#pin-sets#asahi-dev · 2021-02-03 15:39
marcansee https://github.com/AsahiLinux/docs/wiki/HW:USB-PD#asahi-dev · 2021-02-03 15:39
marcanit's a bitfield, 1/2/4#asahi-dev · 2021-02-03 15:39
marcanBluerise: 4 is the pinset#asahi-dev · 2021-02-03 13:34
marcanbbl, got some errands to deal with#asahi-dev · 2021-02-03 13:34
marcanI mentioned this on -re already, but the corellium kernel is developed via binary reverse engineering, which means I will not merge anything from it blindly; it needs to be audited since they are not open about their development process and they have not earned my confidence#asahi-dev · 2021-02-03 13:32
marcanbastilian: I'm writing something#asahi-dev · 2021-02-03 10:19
marcanyeah, so not very useful without DBMa...#asahi-dev · 2021-02-03 06:31
marcanit smells like somewhere along the way there is a polling loop#asahi-dev · 2021-02-03 06:30
marcanmaybe the serial/tty code in qemu has some kind of timeout condition?#asahi-dev · 2021-02-03 06:30
marcanseems like qemu is just slow somehow?#asahi-dev · 2021-02-03 06:17
marcanI tried to keep that short because otherwise it makes script startup slow and for real hardware it should be enough#asahi-dev · 2021-02-03 06:17
marcanamw: try increasing the uart.timeout = 0.15#asahi-dev · 2021-02-03 04:02
marcanyeah sorry, I was replying to two people at once :)#asahi-dev · 2021-02-03 03:59
marcanyeah I'm talking to vafanlignarde#asahi-dev · 2021-02-03 03:59
marcanyou might need to undo the old actions first if the "exit conflicting modes" feature gets confused (0x2040306 = unmap)#asahi-dev · 2021-02-03 03:59
marcanyes#asahi-dev · 2021-02-03 03:58
marcanthere is also 303, which is on *both* ports on those. worth trying that one on both ports probably#asahi-dev · 2021-02-03 03:58
marcanwe don't know what 301 is, but it smelled like it could be another serial#asahi-dev · 2021-02-03 03:57
marcanfrom M1 source to T2 target, you can also try changing the target action to 0x301 (0x1840306 -> 0x1840301 in DoSerial, just the first instance)#asahi-dev · 2021-02-03 03:57
marcanyeah, I heard that might not work#asahi-dev · 2021-02-03 03:52
marcantry 'CST1'#asahi-dev · 2021-02-03 03:51
marcanthe code kind of assumes you're trying to actually unlock the thing, not re-lock it :)#asahi-dev · 2021-02-03 03:51
marcanif you make the key zero it'll "succeed" in not-unlocking#asahi-dev · 2021-02-03 03:51
marcanvafanlignarde: zero is locked#asahi-dev · 2021-02-03 03:50
marcanwrong serial port :p#asahi-dev · 2021-02-03 03:49
marcannot for the intel :)#asahi-dev · 2021-02-03 03:49
marcanvafanlignarde: I think you might be able to get serial *for the T2* on those macs this way#asahi-dev · 2021-02-03 03:48
marcanm1n1/kernel builds are what github releases are for#asahi-dev · 2021-02-03 03:48
marcanamw: I don't think we want to use git-lfs here