*** tpb has joined #tomu | 00:00 | |
synaption[m] | so I got the image booted | 00:04 |
---|---|---|
synaption[m] | I'm not sure how to then flash the boot loader or get it on to the pi since its read only | 00:04 |
futarisIRCcloud | home / ~ is read-write. | 00:56 |
futarisIRCcloud | https://tomu.im/fomu-evt3/ is a good starting point | 00:56 |
futarisIRCcloud | Just follow the instructions at https://github.com/im-tomu/foboot for the hacker board. | 00:57 |
tpb | Title: GitHub - im-tomu/foboot: Bootloader for Fomu (at github.com) | 00:57 |
futarisIRCcloud | https://logs.timvideos.us/%23tomu/%23tomu.2019-04-22.log.html ... | 00:58 |
futarisIRCcloud | synaption[m]: ^ | 01:03 |
*** stv0g has joined #tomu | 01:17 | |
*** stv0g has quit IRC | 01:21 | |
mithro | futarisIRCcloud / xobs: I guess we should write up a fomu-hacker page like that fomu-evt3 page.... | 01:22 |
mithro | tnt: It's between a 2 and 5 stage pipeline, so I guess between 2 and 5 cycles? | 01:22 |
futarisIRCcloud | https://tomverbeure.github.io/rtl/2018/12/06/The-VexRiscV-CPU-A-New-Way-To-Design.html | 01:29 |
tpb | Title: The VexRiscV CPU - A New Way to Design | Electronics etc… (at tomverbeure.github.io) | 01:29 |
futarisIRCcloud | I'd ask the question directly to the developer, via e-mail or https://gitter.im/SpinalHDL/VexRiscv | 01:35 |
tpb | Title: SpinalHDL/VexRiscv - Gitter (at gitter.im) | 01:35 |
xobs | tnt: currently I use a two-stage pipeline. But that really would be a good question to ask: how many cycles is each stage? | 02:02 |
xobs | futarisIRCcloud: I think the order of nice-to-have for me is MMC < MUL < compressed | 02:03 |
xobs | And of course, figuring out why USB is broken again for XHCI devices. | 02:10 |
futarisIRCcloud | tnt: MMC? | 02:17 |
xobs | Er, MMU | 02:24 |
futarisIRCcloud | With XHCI, doesn't the tomu appear on the OHCI bus first? Might be something weird in the firmware causing it to accidentally try to switch to a higher speed. | 02:24 |
xobs | Could be. That's done with a special descriptor, which I don't provide. | 02:25 |
futarisIRCcloud | Can you post a dmesg log from Linux, and create an issue in foboot / valentyusb? | 02:25 |
xobs | But this could just be bad cabling. | 02:25 |
xobs | It turns out Linux is fine, it's Windows that's the problem. | 02:25 |
futarisIRCcloud | Bad cabling? | 02:25 |
futarisIRCcloud | If it's in Windows, just run Windows in a VM, and capture the usb using usbmon. | 02:26 |
* xobs uploaded an image: image.png (59KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/lUdguyZUDvVvxEPVQKAYffOm > | 02:26 | |
xobs | There's an IN packet that wasn't NAKed. | 02:26 |
xobs | And it's right in the middle of it NAKing other IN packets. | 02:26 |
futarisIRCcloud | Hmm. Only with a XHCI controller? | 02:29 |
xobs | I think XHCI was a red herring. It's Windows that's the issue. | 02:29 |
xobs | Windows or clock timing or something else... | 02:30 |
futarisIRCcloud | I.e. If you run Windows in a VM (VirtualBox) and pass through the controller as USB 1.1 or 2.0 it works? | 02:30 |
xobs | I haven't tried that. | 02:30 |
futarisIRCcloud | I tested it in a VM a few days ago, and I was sure it was enumerating correctly. | 02:31 |
xobs | Technically I'm running Windows on a VM (qemu) with the whole USB bus passed through. But that's my usual setup. | 02:31 |
futarisIRCcloud | USB controller or USB bus passthrough? | 02:31 |
xobs | USB controller. The whole PCIe device. | 02:32 |
futarisIRCcloud | I'd try and narrow it down to a USB controller issue first. | 02:33 |
xobs | Though this is going Fomu -> Beagle -> my keyboard -> PC, where I'm sure there are a few hubs. | 02:33 |
futarisIRCcloud | If you use an external hub, then the bus (downstream) will run at that speed. USB 2 hub means USB 2. USB 1 hub means USB 1. | 02:34 |
futarisIRCcloud | What's the topology in device manager? | 02:34 |
futarisIRCcloud | And what chipset XHCI controller? | 02:35 |
xobs | I didn't know Device Manager did topology like that. | 02:37 |
xobs | ACPI PC -> ACPI system -> PCI Express RC -> PCI-to-PCI Bridge -> PCI-to-PCI Bridge -> XHCI -> Root Hub -> Fomu | 02:37 |
futarisIRCcloud | If you're using vfio to pass the controller through, there are a few extra parameters, that you should add too: | 02:38 |
futarisIRCcloud | https://www.youtube.com/watch?v=UilWLtMYd-U- goes through it on unraid... | 02:39 |
futarisIRCcloud | IIRC, you usually have to make sure linux doesn't touch the controller, by isolating the PCI IDs. | 02:40 |
futarisIRCcloud | Something like: https://www.reddit.com/r/unRAID/comments/ana6dk/windows_10_vm_usb_30_issues/ | 02:40 |
tpb | Title: Windows 10 VM— USB 3.0 Issues : unRAID (at www.reddit.com) | 02:40 |
xobs | I seem to recall that I did that. It was a challenge to get the video cards to work, for example. | 02:41 |
futarisIRCcloud | If you can narrow down the issue, to Windows or Windows in A VM (with a USB 3.0 controller), then it would help. | 02:48 |
xobs | Well, good news: I'm going to get on a plane tonight to go to Latchup, and I'll just have my Windows laptop (+ rpi). So lots of time to test, and a pretty big incentive to do so. | 02:48 |
futarisIRCcloud | Video cards are always an issue with QEMU VFIO. Usually have to isolate, and pass through the BIOS / UEFI ROM at the very least... Unraid makes it slightly easier. | 02:48 |
futarisIRCcloud | Off to latchup? :) | 02:49 |
xobs | Yep! I'm going to visit home first. Since Southern California and Portland are right next to each other, relatively speaking. | 02:49 |
futarisIRCcloud | LAX? I always dreaded transiting through there, when I flew to SFO from Brisbane. | 02:51 |
xobs | Agreed. But it's near my parents. So the choices are to drive, or go to sfo and board another plane. | 02:53 |
futarisIRCcloud | :) | 02:57 |
*** stv0g has joined #tomu | 03:18 | |
*** stv0g has quit IRC | 03:23 | |
futarisIRCcloud | xobs: https://github.com/im-tomu/foboot/blob/master/sw/src/usb-desc.c#L74 | 03:28 |
tpb | Title: foboot/usb-desc.c at master · im-tomu/foboot · GitHub (at github.com) | 03:28 |
futarisIRCcloud | https://www.beyondlogic.org/usbnutshell/usb5.shtml | 03:28 |
tpb | Title: USB in a NutShell - Chapter 5 - USB Descriptors (at www.beyondlogic.org) | 03:28 |
futarisIRCcloud | https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-device-descriptors | 03:28 |
tpb | Title: USB device descriptors - Windows drivers | Microsoft Docs (at docs.microsoft.com) | 03:29 |
futarisIRCcloud | 0x0210 ? | 03:29 |
xobs | Should be 2.1, but little endian. (big endian?) | 03:31 |
xobs | I think part of it is the state machine getting into an error state and never leaving. I'm going to fix that and rebuild. Once I'm back at my house in about three hours. | 03:31 |
futarisIRCcloud | https://techcommunity.microsoft.com/t5/Microsoft-USB-Blog/USB-2-1-2-0-1-1-device-enumeration-changes-in-Windows-8/ba-p/270775?advanced=false&collapse_discussion=true&q=enumeration%20changes&search_type=thread | 03:33 |
tpb | Title: USB 2.1, 2.0, 1.1 device enumeration changes in Windows 8 - Microsoft Tech Community - 270775 (at techcommunity.microsoft.com) | 03:33 |
futarisIRCcloud | https://techcommunity.microsoft.com/t5/Microsoft-USB-Blog/How-does-USB-stack-enumerate-a-device/ba-p/270685?advanced=false&collapse_discussion=true&q=USB%20BLog&search_type=thread#_Language_ID_Query | 03:35 |
tpb | Title: How does USB stack enumerate a device? - Microsoft Tech Community - 270685 (at techcommunity.microsoft.com) | 03:35 |
futarisIRCcloud | If the device is attached to a USB 1.1 hub, is operating at Full-Speed, and its USB Device Descriptor bcdUSB field is greater than or equal to 0x200, the hub driver will issue a GET_DESCRIPTOR for descriptor type DEVICE_QUALIFIER (6). | 03:40 |
futarisIRCcloud | The successful completion of the request indicates the device can support USB 2.0 high-speed operation. | 03:40 |
*** AmosSam has left #tomu | 04:15 | |
*** AmosSam has joined #tomu | 04:15 | |
futarisIRCcloud | https://techcommunity.microsoft.com/t5/Microsoft-USB-Blog/Why-does-my-USB-device-work-on-Windows-8-0-but-fail-on-Windows-8/ba-p/270819 | 04:22 |
tpb | Title: Why does my USB device work on Windows 8.0 but fail on Windows 8.1 with code 43? - Microsoft Tech Community - 270819 (at techcommunity.microsoft.com) | 04:22 |
xobs | We do have a bos descriptor... | 04:41 |
*** im-tomu has quit IRC | 05:13 | |
*** im-tomu has joined #tomu | 05:14 | |
*** im-tomu has left #tomu | 05:25 | |
*** im-tomu has joined #tomu | 05:25 | |
*** stv0g has joined #tomu | 07:18 | |
*** stv0g has quit IRC | 07:23 | |
*** AmosSam has left #tomu | 08:53 | |
*** futarisIRCcloud has quit IRC | 09:01 | |
*** AmosSam has joined #tomu | 09:05 | |
*** stv0g has joined #tomu | 09:19 | |
*** stv0g has quit IRC | 09:23 | |
*** stv0g has joined #tomu | 11:18 | |
*** stv0g has quit IRC | 11:23 | |
*** futarisIRCcloud has joined #tomu | 11:58 | |
*** xkapastel has joined #tomu | 12:12 | |
*** stv0g has joined #tomu | 12:39 | |
*** AmosSam has left #tomu | 13:10 | |
*** stv0g has quit IRC | 13:31 | |
*** futarisIRCcloud has quit IRC | 14:02 | |
*** AmosSam has joined #tomu | 14:45 | |
*** stv0g has joined #tomu | 16:44 | |
*** stv0g has quit IRC | 17:07 | |
mithro | xobs: Any idea what is wrong with the FreePDK45? It seems to have been released in 2008 under an Apache 2 license? https://www.eda.ncsu.edu/wiki/FreePDK45:Release_Notes | 17:19 |
tpb | Title: FreePDK45:Release Notes - NCSU EDA Wiki (at www.eda.ncsu.edu) | 17:19 |
*** stv0g has joined #tomu | 18:03 | |
*** stv0g has quit IRC | 18:14 | |
*** xkapastel has quit IRC | 20:21 | |
*** futarisIRCcloud has joined #tomu | 23:39 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!