#
✕ nick:marcan
#asahi · 2021-11-16 07:46
marcanUSB-IF somehow manages to make every new standard even crazier than the last
#asahi · 2021-11-16 07:46
marcanhave you read the eUSB2 spec? it's insane :)
#asahi · 2021-11-16 07:45
marcanand need a hardware reset
#asahi · 2021-11-16 07:45
marcanit's no surprise some conditions can cause it to wedge
#asahi · 2021-11-16 07:45
marcanthat means all bets are off as to what happens on the link
#asahi · 2021-11-16 07:45
marcanthe whole thing is poorly designed because the ace2 autonomously resets the phy without any input from dwc3/software
#asahi · 2021-11-16 07:44
marcandwc3 wedging itself hard is another issue
#asahi · 2021-11-16 07:44
marcanthat's *one* issue
#asahi · 2021-11-16 07:44
marcanit's DesignWare, it should be presumed to be buggy and crappy
#asahi · 2021-11-16 07:44
marcanwhich needed an even bigger one
#asahi · 2021-11-16 07:44
marcanand then that problem showed up
#asahi · 2021-11-16 07:44
marcanyes, we looked for smaller hammers to use
#asahi · 2021-11-16 07:43
marcanwhich is what we'll do
#asahi · 2021-11-16 07:43
marcanand *that* needs an even bigger reset hammer to fix
#asahi · 2021-11-16 07:43
marcanand further, macOS *still* has another bug where dwc3 wedges itself hard sometimes
#asahi · 2021-11-16 07:43
marcanit is what macOS does
#asahi · 2021-11-16 07:42
marcanwe already have a workaround for it
#asahi · 2021-11-16 07:42
marcantmlind: we already know why this happens; it's a hardware design problem in the mac that requires a complete phy reset every time things are hotplugged at the type C end
#asahi · 2021-11-16 02:56
marcanthe first connection does work
#asahi · 2021-11-16 02:56
marcanhotplug means removing the USB cable and putting it in again (on either end)
#asahi · 2021-11-16 00:54
marcanfwiw hotplugging doesn't work (more than the initial connection); that is expected
#asahi · 2021-11-16 00:53
marcanradnic: what hardware?
#asahi · 2021-11-15 05:53
marcanjust pushed a fix for that which *may* make things work, but it's probably not fully correct either way, so I still want an ADT :)
#asahi · 2021-11-15 05:49
marcanah, for starters, I think there's a bug in the CPU iterator in m1n1, heh
#asahi · 2021-11-15 05:47
marcancopying from -dev: If anyone has an 8-core Pro/Max, I'd appreciate an ADT dump (in m1n1/proxyclient: `python -m m1n1.adt -r adt.bin > adt.txt` and note that it might contain your wifi password; remove the huge `nvram-proxy-data` line if you want to get rid of that)
#asahi · 2021-11-11 09:30
marcanit's used all over the place in linux code and such :)
#asahi · 2021-11-11 09:29
marcannumbered labels can have duplicates, it's convenient for local loops
#asahi · 2021-11-11 09:27
marcanhttps://developer.arm.com/documentation/100068/0608/migrating-from-armasm-to-the-armclang-integrated-assembler/numeric-local-labels see the gnu syntax section
#asahi · 2021-11-11 09:25
marcanat least for gnu asm
#asahi · 2021-11-11 09:25
marcanthey're a standard asm thing
#asahi · 2021-11-11 09:21
marcanhttps://mrcn.st/p/bg4wEVQZ here's one that uses the PMCs (not pushed yet)
#asahi · 2021-11-11 09:18
marcanso you can test both core types
#asahi · 2021-11-11 09:18
marcanyou can launch them on the main core or any of the secondaries
#asahi · 2021-11-11 09:18
marcanyou want to just use m1n1 for simple tests like that; there are a bunch of examples on how to run asm code snippets in experiments/
#asahi · 2021-11-11 06:50
marcanthat not working is definitely reportable, it affects macOS users too
#asahi · 2021-11-11 06:49
marcanthe boot-time framebuffer is on Apple's side
#asahi · 2021-11-11 06:49
marcanjerdnA: if you don't get signal at all while booting m1n1, that's an Apple bug as VinDuv says and should absolutely be reported via Feedback Assistant
#asahi · 2021-11-11 06:48
marcansomeone mentioned this regressed in Monterey
#asahi · 2021-11-11 06:48
marcanthat is definitely reportable to apple
#asahi · 2021-11-11 06:48
marcanyou need to be able to see the iBoot screen ("keep holding" etc, recovery mode warnings, etc)
#asahi · 2021-11-11 06:48
marcanVinDuv: no boot framebuffer is a bug
#asahi · 2021-11-10 08:54
marcanthat discussion belongs in #asahi-offtopic if at all, anyway, as it is not on topic here
#asahi · 2021-11-10 08:48
marcanI was not intending to start a discussion here, that was in my clipboard from an email
#asahi · 2021-11-10 08:48
marcannskl: as I said that was an accidental paste
#asahi · 2021-11-09 16:26
marcantinkering yes :)
#asahi · 2021-11-09 16:26
marcannskl: I was going to say it means I'm motivated to clean this stuff up if nobody else does it first
#asahi · 2021-11-09 16:25
marcan(yes I'm talking about RMS again... someone emailed me about this... at least it's not on twitter now :p)
#asahi · 2021-11-09 16:25
marcanahaha
#asahi · 2021-11-09 16:25
marcanwishes he could just disable that, he *never* wants it
#asahi · 2021-11-09 16:25
marcanwho invented shift-insert as paste anyway? ...

plus ›