*** tpb has joined #tomu | 00:00 | |
xobs | 'tis a silly place. | 01:05 |
---|---|---|
xobs | I haven't even done anything past USB FS. HS seems weird enough, even though it's standard by now. And I don't even know if I have any SS devices. | 01:06 |
* xobs yells at cloud | 01:06 | |
xobs | Also, I moved to a newer version of vexriscv, and strangely USB has stopped working. I'll have to look into that today once I have the USB LA back. | 01:46 |
*** emeb has left #tomu | 02:23 | |
xobs | Strange. Now it works. | 04:20 |
xobs | Super suspicious. | 04:20 |
xobs | Can someone please try the v1.3 tag I just pushed? To make sure I'm not going crazy here. | 04:21 |
*** rohitksingh_work has joined #tomu | 05:00 | |
*** stv0g has joined #tomu | 05:02 | |
*** stv0g has quit IRC | 05:06 | |
futarisIRCcloud | xobs: v1.3? Ok, let me test. Can I run it on a unit without flashing it? | 05:15 |
xobs | futarisIRCcloud: I suppose you could. Load `top.bin` as a program, and "lsusb" ought to indicate that it's v1.3. | 05:15 |
xobs | The joys of having the program in the bitstream. | 05:16 |
futarisIRCcloud | [24881.064119] usb 1-1.1: Product: Fomu Bootloader (0) v1.3 | 05:30 |
xobs | Looks good to me! | 05:30 |
xobs | Thanks for checking on that. | 05:31 |
futarisIRCcloud | No problems. I guess if it's running as a program, and we try to upload, it'll overwrite itself... | 05:32 |
xobs | That's true, but since it's running from a virtual ROM in the bitstream, that's actually not so much an issue. | 05:33 |
futarisIRCcloud | Seems to be enumerating fine. | 05:34 |
xobs | That's using a newer vexriscv which has, among other things, illegal instruction trapping. | 05:35 |
xobs | Luxurious. | 05:35 |
futarisIRCcloud | I re-enumerated them all the way round... | 05:41 |
futarisIRCcloud | [25533.674198] usb 1-1: new high-speed USB device number 127 using xhci_hcd | 05:41 |
futarisIRCcloud | [25533.830329] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.00 | 05:41 |
xobs | That looks like a hub? | 05:42 |
tnt | btw, I found a "stress test" for my core was to run `lsusb -v -d 0409:005a` 100x in a loop as fast as possible. Found a couple of lockups that way ;) | 05:46 |
xobs | Foboot seems to be able to handle it! | 05:52 |
xobs | Though the USB Beagle locks up. | 05:52 |
tnt | lol | 06:00 |
tnt | xobs: you ran it as root (or with appropriate perms) ? (else it doesn't re-do the controls xfer, it just used cached info) | 06:00 |
xobs | Yeah, ran it under "sudo". I see the traffic now. The Micropython instance had some trouble, though... | 06:01 |
futarisIRCcloud | xobs: Yep. I was replugging the hub (with 4 FOMUs) all the way round... fomu enumerates about 80-90% of the time, but most times eventually comes up. | 06:03 |
xobs | futarisIRCcloud: I wonder why it doesn't enumerate... | 06:03 |
futarisIRCcloud | xobs: Probably something in the hub. | 06:04 |
tnt | do you properly stop responding to addr 0 when you get assigned one ? | 06:06 |
xobs | Good thinking. I'll leave it doing "while true; do fomu-flash -r; sleep 0.6; if ! lsusb -d 1209:70b1; then echo "Didn't enumerate!"; break; fi; done" and see what happens. | 06:06 |
tnt | xobs: you need -v in there so it queries all attributes. | 06:07 |
tnt | oh wait nm, you're forcing re-enum with flash, | 06:07 |
xobs | tnt: I'm just making sure it enumerates at all. The question I have is: does it successfully enumerate every time after it's reset. | 06:08 |
xobs | It ought to be deterministic. | 06:08 |
xobs | But you know how communication protocols are... | 06:08 |
tnt | yeah. If you have a hub you should throw one in there. I find that "root hubs" on the PC directly are much better behaved than what you get on a external hub with other stuff attached. | 06:09 |
futarisIRCcloud | I've found that too. | 06:09 |
tnt | (it's still valid USB, so it should work but it can highlight stuff) | 06:10 |
xobs | wtb cheap hub | 06:10 |
xobs | Belkin will have to do. | 06:13 |
*** stv0g has joined #tomu | 07:43 | |
*** stv0g has quit IRC | 07:48 | |
*** stv0g has joined #tomu | 08:08 | |
xobs | My network connection reset before the test failed. So huzzah! | 09:17 |
*** stv0g1 has joined #tomu | 09:49 | |
*** stv0g has quit IRC | 09:52 | |
*** stv0g has joined #tomu | 10:19 | |
*** stv0g1 has quit IRC | 10:22 | |
*** stv0g1 has joined #tomu | 10:50 | |
*** stv0g has quit IRC | 10:52 | |
*** stv0g has joined #tomu | 11:20 | |
*** stv0g1 has quit IRC | 11:22 | |
*** rohitksingh_work has quit IRC | 11:45 | |
*** stv0g1 has joined #tomu | 11:50 | |
*** stv0g has quit IRC | 11:53 | |
*** johnhmay has quit IRC | 12:09 | |
*** _florent_ has quit IRC | 12:09 | |
*** cangaroo has joined #tomu | 12:11 | |
*** _florent_ has joined #tomu | 12:11 | |
*** johnhmay has joined #tomu | 12:13 | |
*** AmosSam has left #tomu | 12:14 | |
*** AmosSam has joined #tomu | 12:15 | |
*** stv0g has joined #tomu | 12:20 | |
*** stv0g1 has quit IRC | 12:22 | |
*** rohitksingh_work has joined #tomu | 12:31 | |
*** stv0g1 has joined #tomu | 12:50 | |
*** stv0g has quit IRC | 12:52 | |
*** _florent_ has quit IRC | 13:22 | |
*** _florent__ has joined #tomu | 13:22 | |
*** rohitksingh_work has quit IRC | 13:24 | |
*** AmosSam has left #tomu | 13:33 | |
*** AmosSam has joined #tomu | 13:41 | |
*** futarisIRCcloud has quit IRC | 14:09 | |
*** rohitksingh has joined #tomu | 14:12 | |
*** cangaroo has quit IRC | 14:20 | |
*** AmosSam has left #tomu | 14:46 | |
*** AmosSam has joined #tomu | 14:47 | |
*** johnhmay has quit IRC | 17:39 | |
*** johnhmay has joined #tomu | 17:39 | |
*** stv0g1 has quit IRC | 18:22 | |
*** rohitksingh has quit IRC | 18:47 | |
*** stv0g has joined #tomu | 21:19 | |
*** eddyb has quit IRC | 21:50 | |
*** eddyb has joined #tomu | 21:50 | |
*** eddyb has joined #tomu | 21:51 | |
*** futarisIRCcloud has joined #tomu | 22:45 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!