*** tpb has joined #tomu | 00:00 | |
*** xkapastel has quit IRC | 01:54 | |
*** AmosSam has left #tomu | 05:01 | |
*** AmosSam has joined #tomu | 05:08 | |
*** rohitksingh has joined #tomu | 06:33 | |
*** rohitksingh has quit IRC | 06:49 | |
*** rohitksingh has joined #tomu | 06:49 | |
*** xkapastel has joined #tomu | 09:49 | |
*** rohitksingh has quit IRC | 10:42 | |
*** AmosSam has left #tomu | 12:48 | |
*** AmosSam has joined #tomu | 12:53 | |
*** rohitksingh has joined #tomu | 13:59 | |
*** rohitksingh has quit IRC | 14:24 | |
*** rohitksingh has joined #tomu | 15:07 | |
*** AmosSam_ has joined #tomu | 15:20 | |
*** rohitksingh has quit IRC | 15:24 | |
*** emeb has joined #tomu | 15:26 | |
*** TomKeddie has joined #tomu | 15:34 | |
TomKeddie | Hey Guys, the 0xc3/0x43 usb debug commands mentioned at teardown2019 look cool. I'm looking for their implementation, was expecting to see them in usb-dev.c but couldn | 15:36 |
---|---|---|
TomKeddie | 't find them in micropython or foboot | 15:36 |
*** rohitksingh has joined #tomu | 15:39 | |
xobs | TomKeddie: They're never seen by the CPU. That's why we can rebuild it with the CPU removed. | 15:43 |
TomKeddie | Ah so I should be looking in valentyusb, thanks! | 15:44 |
xobs | https://github.com/im-tomu/valentyusb/blob/master/valentyusb/usbcore/cpu/usbwishbonebridge.py | 15:45 |
tpb | Title: valentyusb/usbwishbonebridge.py at master · im-tomu/valentyusb · GitHub (at github.com) | 15:45 |
*** rohitksingh has quit IRC | 15:49 | |
TomKeddie | Ok so the code is there in my arty port (debug=True) but it looks like I'm getting no response, will have to dig deeper. I have etherbone too, will these conflict? | 15:56 |
TomKeddie | ./wishbone-tool --pid 0x70b1 0xe000c800 | 15:57 |
TomKeddie | Opening device 001 on bus 014 | 15:57 |
TomKeddie | No device available, pausing | 15:57 |
xobs | Is that your Product ID? What does "lsusb" show you? | 15:57 |
xobs | Or dmesg, for that matter. | 15:57 |
xobs | You might try just implementing DummyUSB, which has no CPU. That'll let you validate the hardware works. Then you can add in the CPU. | 15:58 |
xobs | For DummyUSB, the current PID is 0x5bf0. | 15:59 |
TomKeddie | Yep it's the right pid/vid, can't recall if I overwrote the foboot default or not. | 16:01 |
TomKeddie | [946428.936185] usb 1-4.1: New USB device found, idVendor=1209, idProduct=70b1, bcdDevice= 1.01 | 16:01 |
TomKeddie | [946428.936188] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | 16:01 |
TomKeddie | [946428.936190] usb 1-4.1: Product: Fomu DFU Bootloader | 16:01 |
TomKeddie | [946428.936192] usb 1-4.1: Manufacturer: Foosn | 16:01 |
TomKeddie | Bus 001 Device 014: ID 1209:70b1 Generic Sutajio Ko-Usagi (Kosagi) Tomu | 16:01 |
xobs | Huh. The product name there doesn't list the version information on it at all. Are you using an older version of valentyusb that used 0xc0/0x40 as the magic byte? | 16:03 |
xobs | That was the original value, but then I discovered Microsoft makes 0xc0 requests normally during enumeration. | 16:03 |
TomKeddie | I need to update to 1.8.1 of foboot anyway, I'll do this later today and see how I go, thanks for the advice. | 16:22 |
*** rohitksingh has joined #tomu | 16:33 | |
*** rohitksingh has quit IRC | 16:58 | |
*** rohitksingh has joined #tomu | 17:11 | |
*** AmosSam has left #tomu | 17:49 | |
*** rohitksingh has quit IRC | 17:49 | |
*** AmosSam has joined #tomu | 17:58 | |
*** cdmatter has quit IRC | 18:56 | |
*** rohitksingh has joined #tomu | 18:59 | |
*** rohitksingh has quit IRC | 20:06 | |
*** cdmatter has joined #tomu | 20:28 | |
*** xkapastel has quit IRC | 21:18 | |
*** AmosSam has left #tomu | 21:30 | |
*** AmosSam has joined #tomu | 21:38 | |
*** techman83 has quit IRC | 22:09 | |
*** techman83 has joined #tomu | 22:10 | |
*** emeb has left #tomu | 23:24 | |
*** AmosSam has left #tomu | 23:44 | |
*** AmosSam has joined #tomu | 23:44 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!