*** tpb has joined #litex | 00:00 | |
*** HoloIRCUser has joined #litex | 00:07 | |
*** HoloIRCUser2 has quit IRC | 00:10 | |
*** bonzibuddy has quit IRC | 00:57 | |
*** bonzibuddy has joined #litex | 00:57 | |
*** HoloIRCUser2 has joined #litex | 01:31 | |
*** HoloIRCUser3 has joined #litex | 01:31 | |
*** HoloIRCUser has quit IRC | 01:33 | |
*** HoloIRCUser2 has quit IRC | 01:36 | |
*** HoloIRCUser has joined #litex | 02:22 | |
*** HoloIRCUser3 has quit IRC | 02:25 | |
*** CarlFK has joined #litex | 02:57 | |
*** Degi has quit IRC | 03:07 | |
*** Degi has joined #litex | 03:10 | |
*** gregdavill has quit IRC | 03:14 | |
*** HoloIRCUser2 has joined #litex | 07:01 | |
*** HoloIRCUser has quit IRC | 07:05 | |
*** HoloIRCUser has joined #litex | 07:34 | |
*** HoloIRCUser2 has quit IRC | 07:38 | |
*** HoloIRCUser2 has joined #litex | 09:14 | |
*** HoloIRCUser has quit IRC | 09:16 | |
*** kgugala_ has joined #litex | 09:39 | |
futarisIRCcloud | _florent_: Would it be possible to use the PCIe lane serdes(es) in the Acorn CLE-215 to interface to SGMII for Gigabit Ethernet, NBASE-T, MGBASE-T or 10GBASE-T? | 09:40 |
---|---|---|
*** kgugala__ has joined #litex | 09:40 | |
daveshah | I see no reason why not, if you fed it with the right reference clock | 09:42 |
*** kgugala has quit IRC | 09:42 | |
daveshah | For 10GBASE-T you would need to use the 4x3.125 interface, I forget what that is called | 09:43 |
*** kgugala_ has quit IRC | 09:44 | |
zyp | XAUI | 09:44 |
daveshah | yep, thanks | 09:45 |
daveshah | so many different standards... | 09:45 |
daveshah | Maybe RXAUI would work too, for two 10GbE links | 09:46 |
zyp | assuming you can get a phy that supports it | 09:47 |
_florent_ | futarisIRCcloud: i never played with SGMII but i also don't see reasons it would not be possible | 10:16 |
_florent_ | the transceiver could be operated with https://github.com/enjoy-digital/liteiclink/blob/master/liteiclink/transceiver/gtx_7series.py | 10:16 |
tpb | Title: liteiclink/gtx_7series.py at master · enjoy-digital/liteiclink · GitHub (at github.com) | 10:16 |
_florent_ | so only the upper layers of SGMII would need to be developed | 10:18 |
futarisIRCcloud | HSGMII for 2.5GbE, QSGMII for 5GbE... | 10:20 |
_florent_ | futarisIRCcloud: we are already supporting 1000baseX and it seems there are similarities with SGMII: | 10:22 |
futarisIRCcloud | The new Intel i225-V PHY is fairly cheap. | 10:22 |
_florent_ | https://electronics.stackexchange.com/questions/141353/what-is-the-exact-difference-between-sgmii-and-1000base-x | 10:22 |
tpb | Title: communication - What is the exact difference between SGMII and 1000Base-X? - Electrical Engineering Stack Exchange (at electronics.stackexchange.com) | 10:22 |
zyp | My understanding is that QSGMII is 4x1GbE | 10:22 |
_florent_ | so it's possible there are not that much missing | 10:22 |
zyp | 5GbE would have to be 6.125 because of 8b10b | 10:22 |
*** kgugala__ has quit IRC | 10:24 | |
*** kgugala has joined #litex | 10:24 | |
*** HoloIRCUser has joined #litex | 11:35 | |
*** HoloIRCUser2 has quit IRC | 11:37 | |
*** HoloIRCUser2 has joined #litex | 12:17 | |
*** HoloIRCUser has quit IRC | 12:19 | |
*** HoloIRCUser has joined #litex | 12:20 | |
*** HoloIRCUser2 has quit IRC | 12:23 | |
futarisIRCcloud | https://github.com/snabbco/snabb/issues/1418 | 12:26 |
tpb | Title: EasyNIC development · Issue #1418 · snabbco/snabb · GitHub (at github.com) | 12:26 |
futarisIRCcloud | ORICO SCM2T3-G40 for 140 USD / 200 AUD does look good. | 12:31 |
tmbinc | I wonder if PCIe Thunderbolt addon cards ("asus thunderboltex 3" for example is ~70 EUR and commonly available) could be reflashed to act as a thunderbolt device. Chipset is the same (as far as I can judge), but of course all the documentation and configuration tools are only available under NDA | 12:46 |
tmbinc | It would require a PCIe-to-PCIe base board with power (and CLK maybe?) of course but that should be relatively cheap to make | 12:47 |
daveshah | Looking at https://www.mouser.co.uk/datasheet/2/612/18-241_Thunder7000Controller_Brief_FIN_HI-1661831.pdf it seems like there are different SKUs for device vs computer side | 12:53 |
daveshah | But maybe there is still a way round that, depends how the programming and pinouts work | 12:53 |
tmbinc | The Asus card has a DSL6540 (Alpine Ridge iirc) | 13:13 |
tmbinc | They are EOL'ed and replaced by the JHL6540 | 13:14 |
tmbinc | So they would be the 6000-series (https://thunderbolttechnology.net/sites/default/files/18-241_ThunderboltController_Brief_HI.pdf) which has expected usage as "Computer or peripheral" | 13:15 |
tmbinc | and also the same chips I've found in thunderbolt expansion devices | 13:15 |
tmbinc | but sure it could be some fusing | 13:15 |
*** Skip has joined #litex | 13:26 | |
*** HoloIRCUser2 has joined #litex | 14:27 | |
*** HoloIRCUser has quit IRC | 14:30 | |
Claude | ping dkozel | 15:08 |
dkozel | Ah hi Claude | 15:10 |
Claude | (trying to)disassembling the JMS538 firmware at the moment . its a fscking 8051 lol | 15:11 |
dkozel | I'm working on a schematic for m.2 to USB 3 (physical) in anticipation of the USB PIPE project working. If that happens that could be an option for easy device access | 15:14 |
dkozel | It gets a bit messy with the power, probably going to skip that to start with | 15:15 |
zyp | dkozel, m.2 socket to usb or m.2 card with usb? | 15:23 |
dkozel | m.2 socket | 15:26 |
dkozel | https://github.com/enjoy-digital/usb3_pipe | 15:27 |
tpb | Title: GitHub - enjoy-digital/usb3_pipe: USB3 PIPE interface for Xilinx 7-Series / Lattice ECP5 (at github.com) | 15:27 |
dkozel | Exactly that but with m.2 and USB C sockets | 15:28 |
Claude | oh that looks pretty cool dkozel | 15:32 |
dkozel | No credit to me, all the interesting and hard work is _florent_ and bunnie | 15:35 |
dkozel | I just want to make use of it :D | 15:35 |
bunnie | lol this one is all florent, he did some amazing work there! | 15:37 |
Claude | when i scroll up a bit i see a lot of stuff i looked at the last couple of days too :) JHL6540 for example. unfortunatley i was not able to find any information on that part other than marketing pdfs and irclogs at _whitelogger mentioning it | 15:40 |
*** kgugala has quit IRC | 16:29 | |
*** kgugala has joined #litex | 16:29 | |
john_k[m] | _florent_: just tested one of the previously non-working CLE-215+ in a new m.2 adapter (instead of the Acorn Nest) and was able to load the bitstream and see the chaser, although rebooting the machine caused it to hang (no monitor attached). I'm still seeing `Error: Unknown flash device (ID 0x00918d0d)` at this point when I try `--flash`. I'm also still seeing some JTAG weirdness when openocd is searching for xc7.tap (reading | 16:53 |
john_k[m] | mfg 0x7fa, part 0xffff) - at this point I'm suspecting some signal integrity shenanigans so I took off the CLE-215+'s fan at which point JTAG works fine on this unit and it boots fine running litex | 16:53 |
john_k[m] | should litex enumerate on PCIe as `01:00.0 Memory controller: Xilinx Corporation Device 7024 (rev ff)`? | 16:54 |
john_k[m] | for the flash, I'm still getting errors, but seeing `Error: Unknown flash device (ID 0x00ffffff)` now | 16:55 |
_florent_ | john_k[m]: rev ff seems weird (should be 01 IIRC), but otherwise it's fine | 17:01 |
CarlFK | using a pi and netv2 ... openocd.. loaded file top.bit to pld device 0 in 1s 635162us | 17:17 |
CarlFK | do I have to reset the netv2 to make it take effect? | 17:17 |
bunnie | no, the bitstream should take effect immediately after it was loaded, if the bitstream was valid for the FPGA | 17:18 |
bunnie | but if it failed CRC or mismatched to part number it won't take effect | 17:18 |
CarlFK | can I tell any of that from this? http://paste.ubuntu.com/p/g32KnJFg6x/ | 17:22 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 17:22 |
john_k[m] | I'm not sure what to think about the SPI Flash - it's obviously working since the FPGA boots the default bitstream. Could it be stuck in QSPI mode or something? Or does the flasher reset the chip out of that? | 17:23 |
bunnie | yah it has an error saying that the JTAG chain returned all zeros | 17:25 |
bunnie | so something isn't right. it looks like openOCD decided to go ahead and just blast data across the bus, ignoring the bad TDI signal | 17:26 |
bunnie | if you're running on a pi4, you might need to tune the BCM2835 clocks line in the alphamax-rpi.cfg file | 17:26 |
bunnie | i don't know what they need to be tuned to, but it varies from each model of pi. usually i hook up an oscilloscope and just guess values until the timing is right. the values committed to the github master are tuned for the pi3b+ | 17:27 |
CarlFK | bunnie: what openocd source should I use? | 17:27 |
bunnie | this is the one that's bundled with the netv2 production units: https://github.com/AlphamaxMedia/openocd | 17:28 |
tpb | Title: GitHub - AlphamaxMedia/openocd: openocd for KC705, KCU105, Sayma, Metlino, Kasli, Pipistrello etc (at github.com) | 17:28 |
CarlFK | what I am currently useing is debian stable + the patch you pointed to a few days ago, which needed help patching, and maybe need more than just that patch, so lets go with what you are most confidant in | 17:28 |
CarlFK | k - let me build that and try again | 17:28 |
bunnie | yah, this /should/ work -- it's what's shipping in the box. | 17:29 |
bunnie | you need to, of course, include the bcm2835 target in the config line | 17:29 |
CarlFK | bunnie: that doesn't build http://paste.ubuntu.com/p/JCFdXXxBk9/ | 18:45 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:45 |
CarlFK | src/target/arm_disassembler.c:1499:30: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] if (((opcode & 0x00600000) == 0x00100000) && (x == 0)) | 18:45 |
CarlFK | https://sourceforge.net/p/openocd/code/ci/b50fa9a19d0b600d26b6cbca57cd94c7b89f941c | 19:08 |
tpb | Title: OpenOCD - Open On-Chip Debugger / Code / Commit [b50fa9] (at sourceforge.net) | 19:08 |
CarlFK | gcc (GCC) 8.1.0 generates new warnings and thus fails the build. The ARM disassembler warnings actually exposed a bug in SMALW, SMULW and SMUL instructions decoding. | 19:08 |
* CarlFK forks and patches... | 19:14 | |
*** HoloIRCUser has joined #litex | 19:26 | |
*** HoloIRCUser2 has quit IRC | 19:27 | |
*** HoloIRCUser2 has joined #litex | 20:29 | |
*** HoloIRCUser has quit IRC | 20:32 | |
CarlFK | http://paste.ubuntu.com/p/jRb6KdRBfM/ I'm getting tangled up in repos and missing configs :p | 20:43 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:43 |
CarlFK | patched openocd with https://github.com/CarlFK/openocd/commit/f6e0c3b80a111c4f780f649bda7c67156a0df62d | 20:55 |
tpb | Title: Fix warnings exposed by GCC8; exposed a bug · CarlFK/openocd@f6e0c3b · GitHub (at github.com) | 20:55 |
CarlFK | http://paste.ubuntu.com/p/C6HKKdJDhd/ | 20:56 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:56 |
*** HoloIRCUser has joined #litex | 23:03 | |
*** HoloIRCUser2 has quit IRC | 23:06 | |
*** Claude has quit IRC | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!