#
#asahi · 2022-10-15 15:27
bestouffI have been banned from this channel when I try joining via matrix. Does anybody know why ?
#asahi · 2022-10-15 15:27
bestouffHi,
#asahi · 2022-10-15 15:17
boriskBTW, there appears to be a speed difference between back and front ports (perhaps unsurprisingly). If I plug a USBC-NVME drive in front (USB-C), I get "SuperSpeed Plus Gen 2x1" and if at the back (USB-A) I get just "SuperSpeed".
#asahi · 2022-10-15 15:05
marcannp!
#asahi · 2022-10-15 15:05
boriskthanks a lot for you help, much appreciated!
#asahi · 2022-10-15 15:03
marcanI should get some sleep
#asahi · 2022-10-15 15:03
marcannope, thanks :)
#asahi · 2022-10-15 15:02
boriskanything else you want me to try?
#asahi · 2022-10-15 15:01
boriskalso I tried warm reboot, and that works as well, at least from successful previous boot
#asahi · 2022-10-15 14:58
boriskyes, seems to work, devices plugged into both front and back ports are detected. Also the same Serial/Manufacturer as with the manual test.
#asahi · 2022-10-15 14:55
boriskbooting...
#asahi · 2022-10-15 14:53
marcanyes, the question is do they run :)
#asahi · 2022-10-15 14:51
boriskthe DT changes compiled ok with GPIO_PULL_UP
#asahi · 2022-10-15 14:41
boriskok
#asahi · 2022-10-15 14:39
marcanborisk: drop the GPIO_PULL_UP if it complains, just replace it with 0
#asahi · 2022-10-15 14:39
marcanwait, I think we don't support pull modes yet at all..
#asahi · 2022-10-15 14:35
marcan(if it doesn't work, check your dmesg for gpio related stuff; this is completely untested, I might well have screwed it up!)
#asahi · 2022-10-15 14:33
boriskok, will try now
#asahi · 2022-10-15 14:33
marcanI *think* I got the polarity for rst right, but you can also try "output-high" (in principle output-low + GPIO_ACTIVE_LOW is the same thing as the 1 you wrote earlier, and the correct semantics for an active-low reset pin)
#asahi · 2022-10-15 14:32
marcanmake sure you do a full cold boot so that we don't get confused in case the firmware sticks in SRAM
#asahi · 2022-10-15 14:31
marcanborisk: https://mrcn.st/p/BUq7PmNH try that
#asahi · 2022-10-15 14:28
boriskcan retest to confirm if this is important
#asahi · 2022-10-15 14:28
boriskyes, you could be right, but I believe the error was different
#asahi · 2022-10-15 14:27
marcanwouldn't that just be the needing a cold boot issue?
#asahi · 2022-10-15 14:26
boriskok, if you want me to test updated DT to confirm, I can easily do that
#asahi · 2022-10-15 14:25
boriskAlso, before I forgot: I had to use DTs bundled with u-boot from asahi-6.0-rc6-1 kernel. With DTs from 5.19 the asmedia firmware would not load with 6.0 kernel.
#asahi · 2022-10-15 14:24
marcanI just need to check that the GPIOs get set in the right order
#asahi · 2022-10-15 14:24
marcanI didn't remember gpio-hog was a thing
#asahi · 2022-10-15 14:24
marcanI think we're actually putting it in the DT
#asahi · 2022-10-15 14:23
boriskok, makes sense. Do you want me to file an issue with m1n1 to capture this?
#asahi · 2022-10-15 14:21
marcanbecause before it was running on ROM boot code, not real firmware
#asahi · 2022-10-15 14:20
marcanyeah, makes sense
#asahi · 2022-10-15 14:20
boriskYes, before 1850->in when I had the hub but no alive ports, there was no serial and the manufacturer was GenesisLogic. Now I have serial and the manufacturer changes to Apple. Even the number of ports changes. Bizarre...
#asahi · 2022-10-15 14:17
marcanand I'm guessing you didn't get that the previous time?
#asahi · 2022-10-15 14:17
borisk"SerialNumber: 7423J07"
#asahi · 2022-10-15 14:17
marcanI guess I might just set it to pull-up mode in m1n1, that seems safest
#asahi · 2022-10-15 14:17
marcanbut if direction in works, it probably has a pull-up...
#asahi · 2022-10-15 14:17
marcanin that case we should actually set it to 1
#asahi · 2022-10-15 14:16
marcanit could also be OE for an explicit bus switch between the GL and the flash
#asahi · 2022-10-15 14:15
marcansome strings, serial, version, or something
#asahi · 2022-10-15 14:15
marcanalso, you probably got somewhat different USB IDs? (something about the hub enumeration is probably different than it was the previous time, though it may or may not show up in dmesg)
#asahi · 2022-10-15 14:14
marcaneither way, seems like we found the right sequence :)
#asahi · 2022-10-15 14:14
marcanI don't know what they mean by "OE" - if it's CS, then having that as output would definitely wedge it. if it's some kind of "tristate control" for the GL then that too, but I don't see any obvious such pin in the pinout for the GL chip
#asahi · 2022-10-15 14:14
marcannah
#asahi · 2022-10-15 14:14
boriskdo you want me to try with 1849?
#asahi · 2022-10-15 14:13
marcanokay, so it probably wasn't actually loading the firmware, and I'm guessing 1850 was wedging the flash
#asahi · 2022-10-15 14:13
marcan\o/
#asahi · 2022-10-15 14:13
borisk1851->0, 1850->in, 1851->1 -- both front and back ports are a live now
#asahi · 2022-10-15 14:10
marcanno, echo in > direction
#asahi · 2022-10-15 14:09
borisksorry, what does "1850 to input" mean? Just read it?

plus ›