*** tpb has joined #litex | 00:00 | |
*** st-gourichon-fid has quit IRC | 00:44 | |
*** st-gourichon-fid has joined #litex | 00:45 | |
*** futarisIRCcloud has quit IRC | 01:45 | |
*** HoloIRCUser3 has joined #litex | 01:58 | |
*** HoloIRCUser2 has quit IRC | 02:01 | |
*** Skip has joined #litex | 02:40 | |
*** futarisIRCcloud has joined #litex | 03:01 | |
*** Degi has quit IRC | 03:09 | |
*** Degi has joined #litex | 03:10 | |
*** FFY00 has quit IRC | 03:20 | |
*** FFY00 has joined #litex | 03:21 | |
*** _whitelogger has quit IRC | 04:42 | |
*** _whitelogger has joined #litex | 04:44 | |
*** Skip has quit IRC | 04:58 | |
*** HoloIRCUser2 has joined #litex | 05:25 | |
*** HoloIRCUser3 has quit IRC | 05:28 | |
*** kgugala_ has joined #litex | 06:02 | |
*** kgugala has quit IRC | 06:03 | |
*** kgugala_ has quit IRC | 06:25 | |
*** kgugala has joined #litex | 06:25 | |
xobs | gregdavill: bunnie recently got CDC working with eptri, in theory. If you're still looking for a USB core. | 07:50 |
---|---|---|
xobs | Hasn't been tested in hardware yet though! It passes the tests, which means it should work right? | 07:51 |
*** gregdavill has joined #litex | 07:52 | |
gregdavill | xobs: Neat! I'll check it out. Is it up on the betrusted-soc github? | 07:53 |
gregdavill | Yeah, any design that passes all the tests always works perfectly on hardware the first time </sarcasm> | 07:55 |
xobs | Hmm... I may have jumped the gun, sorry... But yes, it's up in betrusted-io. Need to do some more testing to ensure it works with other clock domains. | 07:57 |
*** kgugala has quit IRC | 07:57 | |
gregdavill | It will be interesting to compare the resource usage differences between using discrete CDC primitives in the module. | 07:57 |
*** kgugala has joined #litex | 07:57 | |
xobs | Yeah. He updated the DummyUSB driver so it meets timing better when using cdc, but it added about 20 LCs to the ICE40 implementation, so I had to switch it off for Fomu. But it works much better now on the Xilinx part. I'm curious to see how it'll work on ECP5. | 08:01 |
zyp | I'm curious how my usb core compares in size to valentyusb | 08:23 |
zyp | what's the best way to measure size of a particular core? | 08:24 |
xobs | zyp: I've done synthesises of DummyUSB with nothing but a wishbone core that can enumerate over USB, and it clocks in at about 650 LCs on an ICE40. | 08:42 |
xobs | It's not very useful, granted. The wishbone bridge kicks it up to about 1100 LCs. Then eptri adds more, because it's a proper USB device core. | 08:43 |
zyp | if I take out the cpu and the litescope from my build, I'm at 1191 TRELLIS_SLICE, and if my understanding is correct, each of those are comparable to two LCs | 09:01 |
zyp | but that's still leaving in the wishbone crossbar/memories and uart bridge | 09:02 |
*** captain_morgan has quit IRC | 09:11 | |
*** captain_morgan has joined #litex | 09:12 | |
*** HoloIRCUser4 has joined #litex | 09:40 | |
*** HoloIRCUser2 has quit IRC | 09:43 | |
disasm[m] | xobs: you may want to switch to SERV to save a huge amount of space | 09:44 |
disasm[m] | I found it really cool, especially for decreasing development cycle time | 09:45 |
disasm[m] | I'm not sure it will play nicely with USB timings though | 09:47 |
xobs | Does it have a debug port? The vexriscv debug port is fantastic, and while I'd have to add a module to `wishbone-tool` for SERV, it could be done. | 09:48 |
disasm[m] | I don't think it has a debug port | 09:48 |
gregdavill | I want to try out how well serv performs with the USB core. Due to it's architecture it's a lot slower than the vexriscv. It does not have a debug port. | 09:55 |
disasm[m] | Well, when I was running vexriscv with the USB core, it was incredibly slow too :) In my current design with SERV I had to add a wishbone cache to compensate even bigger slowdown due to the FLASH latency | 10:06 |
*** scanakci has quit IRC | 10:18 | |
zyp | I'm thinking SERV will do well with USB, the software side of USB doesn't really impose super strict timings | 10:27 |
disasm[m] | IIRC, there are some timing restrictions for control transfers, but bulk transfers should work fine | 10:29 |
zyp | yes, there are timing restrictions, but the strictest ones are 50ms | 10:30 |
zyp | how does the performance numbers for SERV look? I'd assume it to be on the order of 1/32 of a normal riscv at a given clock rate | 10:32 |
*** HoloIRCUser has joined #litex | 10:34 | |
gregdavill | I'm not sure if it's exactly 32 clock cycle for every instruction, or if some instructions still require more than 32 cycles. | 10:35 |
*** HoloIRCUser4 has quit IRC | 10:38 | |
disasm[m] | Yes, some instructions are more than 32 cycles | 10:41 |
zyp | then again, with 32 cycles per computation, another cycle or two of latency doesn't matter all that much | 10:41 |
zyp | I'm guessing a SERV running at 12 MHz should be able to execute somewhere between 10k and 20k instructions in 50ms, which should be more than enough to handle every standard control request | 10:48 |
*** _whitelogger has quit IRC | 11:45 | |
*** _whitelogger has joined #litex | 11:47 | |
dkozel | john_k[m]: I have two CEL-215s and they have different SN stickers, silkscreen, and PCB fab markings | 12:25 |
dkozel | I have a Vivado supported JTAG interface so can interrogate them if needed. Also I talked with the Nitefury designer a year or two ago, can ping him if needed to see if there's info available. | 12:26 |
dkozel | Just picked up an ORICO SCM2T3-G40 Thunderbolt 3 -> m.2 M-key enclosure, should arrive in 20-40 days :D It gets (ab)used for eGPUs so seems to be transparent PCIe. Will report back once it arrives. | 12:42 |
dkozel | The wavlink UTE02 is cheaper but has less heatsinking. If the Orico works I'll get a wavlink to try as well since the CEL-215 has a good heatsink and fan already. | 12:43 |
*** HoloIRCUser2 has joined #litex | 13:21 | |
*** HoloIRCUser has quit IRC | 13:24 | |
*** gregdavill has quit IRC | 14:37 | |
*** Skip has joined #litex | 14:48 | |
john_k[m] | dkozel: I'd be curious to see if the litex project works on both boards | 15:47 |
*** HoloIRCUser has joined #litex | 15:53 | |
*** HoloIRCUser2 has quit IRC | 15:55 | |
_florent_ | dkozel: interesting for the Thunderbolt3 enclosure, that could also be useful to avoid rebooting when re-loading the bitstream | 15:58 |
_florent_ | john_k[m]: do you see others differences between the boards? can you do some pictures if so? Otherwise to get the led-chaser, you only need the 200MHz input and the Leds. Can you check if the 200MHz clock is also there on the boards that are not working? | 16:02 |
_florent_ | also it seems there is a Acorn CLE-101 board: http://www.squirrelsresearch.com/acorn-cle-101/, but i think it should appear on the heatsink | 16:04 |
*** kgugala has quit IRC | 16:07 | |
*** kgugala has joined #litex | 16:07 | |
*** CarlFK[m] has joined #litex | 16:10 | |
* CarlFK[m] uploaded an image: 20200522_111134_3321461548451902737.jpg (3150KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YWsYblpFkFYDJHmhUWgYbVGD > | 16:12 | |
CarlFK | pc, netv2, pi - can the pci buss supply power, or should I power the netv2 and or pi also? | 16:13 |
*** kgugala_ has joined #litex | 16:23 | |
*** kgugala has quit IRC | 16:26 | |
CarlFK | kgugala_: https://github.com/antmicro/netv2/tree/v4l2 Memory controller: Xilinx Corporation Device 7021 | 16:52 |
tpb | Title: GitHub - antmicro/netv2 at v4l2 (at github.com) | 16:52 |
CarlFK | nope | 16:52 |
CarlFK | juser@cnt4:~$ lspci |grep Xilinx | 16:53 |
CarlFK | (nothing) | 16:53 |
kgugala_ | I assume you programmed the FPGA with the bitstream you got? | 16:57 |
kgugala_ | try forcing pcie rescan | 16:58 |
CarlFK | I pulled the card out, now lspci shows 2 more lines. that's surprising | 17:05 |
*** kgugala has joined #litex | 17:21 | |
*** kgugala_ has quit IRC | 17:24 | |
CarlFK | kgugala: https://dpaste.org/eUYS | 17:43 |
tpb | Title: dpaste/eUYS (Plain Code) (at dpaste.org) | 17:43 |
kgugala | you can also try to program the fpga and reboot the PC (you'll have to power netv2 with external supply) | 17:46 |
CarlFK | right now pc is at grub menu | 17:47 |
CarlFK | programing with the pi: | 17:47 |
CarlFK | loaded file top.bit to pld device 0 in 1s 620289us | 17:47 |
CarlFK | not booting linux | 17:47 |
CarlFK | er, now booting linux. booted. | 17:49 |
CarlFK | lspci |wc 17 lines ... how do I rescan pci? | 17:50 |
kgugala | check this SO thread https://stackoverflow.com/questions/32334870/how-to-do-a-true-rescan-of-pcie-bus | 17:58 |
tpb | Title: linux kernel - How to do a TRUE rescan of PCIe bus - Stack Overflow (at stackoverflow.com) | 17:58 |
kgugala | related question - have you ever seen this device enumerated with any bitstream? | 17:59 |
CarlFK | not sure, haven't done much at all until now | 18:01 |
CarlFK | root@cnt4:~# echo 1 > /sys/bus/pci/rescan | 18:03 |
CarlFK | lspci, no change | 18:03 |
CarlFK | the netv2 is getting power from the pci buss and the pi - should I plug in the 12v barrel too? | 18:03 |
kgugala | some time ago you said you have two netv2s (50t and 100t) can you try the other one? this will require rebuilding the bitstream for that part | 18:05 |
CarlFK | sure | 18:05 |
kgugala | the board should run fine powered from pcie only | 18:05 |
CarlFK | oh hey, pi runs from that too | 18:06 |
CarlFK | netv2-35, fresh out of the bag, no pi... | 18:10 |
CarlFK | lspci - should I see anything? | 18:12 |
CarlFK | because I don't | 18:12 |
CarlFK | nothing loaded) | 18:12 |
CarlFK | I have to run - more on this later. | 18:21 |
CarlFK | loaded file top.bit to pld device 0 in 1s 636826us | 18:21 |
CarlFK | booted linux, lspci |wc 17 (it hides? 2 lines.. seems odd,) | 18:22 |
CarlFK | bye | 18:22 |
*** CarlFK has left #litex | 18:22 | |
*** CarlFK has quit IRC | 18:22 | |
Finde | anyone know if it's possible to run vivado xsim from a different location than xvlog/xelab? | 18:28 |
*** HoloIRCUser2 has joined #litex | 18:28 | |
*** HoloIRCUser has quit IRC | 18:31 | |
*** Skip has quit IRC | 18:32 | |
kgugala | CarlFK[m]: the device will not be enumerated w/o bitstream programmed | 18:33 |
kgugala | indeed it seems odd that you have less entries in lspci when you connect netv2 | 18:34 |
*** oter has left #litex | 19:05 | |
*** dayjaby has joined #litex | 20:24 | |
*** dayjaby has quit IRC | 20:30 | |
*** HoloIRCUser has joined #litex | 21:40 | |
*** HoloIRCUser2 has quit IRC | 21:44 | |
*** HoloIRCUser2 has joined #litex | 22:44 | |
*** HoloIRCUser has quit IRC | 22:47 | |
*** lambda has quit IRC | 22:53 | |
*** gregdavill has joined #litex | 23:07 | |
*** lambda has joined #litex | 23:13 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!