_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 260 seconds]
bonzibuddy has quit [Ping timeout: 272 seconds]
bonzibuddy has joined #litex
HoloIRCUser2 has joined #litex
HoloIRCUser3 has joined #litex
HoloIRCUser has quit [Ping timeout: 260 seconds]
HoloIRCUser2 has quit [Ping timeout: 272 seconds]
HoloIRCUser has joined #litex
HoloIRCUser3 has quit [Ping timeout: 272 seconds]
CarlFK has joined #litex
Degi has quit [Ping timeout: 272 seconds]
Degi has joined #litex
gregdavill has quit [Quit: Leaving]
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Ping timeout: 265 seconds]
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 260 seconds]
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Read error: No route to host]
kgugala_ has joined #litex
<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?
kgugala__ has joined #litex
<daveshah> I see no reason why not, if you fed it with the right reference clock
kgugala has quit [Ping timeout: 256 seconds]
<daveshah> For 10GBASE-T you would need to use the 4x3.125 interface, I forget what that is called
kgugala_ has quit [Ping timeout: 264 seconds]
<zyp> XAUI
<daveshah> yep, thanks
<daveshah> so many different standards...
<daveshah> Maybe RXAUI would work too, for two 10GbE links
<zyp> assuming you can get a phy that supports it
<_florent_> futarisIRCcloud: i never played with SGMII but i also don't see reasons it would not be possible
<tpb> Title: liteiclink/gtx_7series.py at master · enjoy-digital/liteiclink · GitHub (at github.com)
<_florent_> so only the upper layers of SGMII would need to be developed
<futarisIRCcloud> HSGMII for 2.5GbE, QSGMII for 5GbE...
<_florent_> futarisIRCcloud: we are already supporting 1000baseX and it seems there are similarities with SGMII:
<futarisIRCcloud> The new Intel i225-V PHY is fairly cheap.
<tpb> Title: communication - What is the exact difference between SGMII and 1000Base-X? - Electrical Engineering Stack Exchange (at electronics.stackexchange.com)
<zyp> My understanding is that QSGMII is 4x1GbE
<_florent_> so it's possible there are not that much missing
<zyp> 5GbE would have to be 6.125 because of 8b10b
kgugala__ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 256 seconds]
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Ping timeout: 260 seconds]
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 258 seconds]
<tpb> Title: EasyNIC development · Issue #1418 · snabbco/snabb · GitHub (at github.com)
<futarisIRCcloud> ORICO SCM2T3-G40 for 140 USD / 200 AUD does look good.
<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
<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
<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
<daveshah> But maybe there is still a way round that, depends how the programming and pinouts work
<tmbinc> The Asus card has a DSL6540 (Alpine Ridge iirc)
<tmbinc> They are EOL'ed and replaced by the JHL6540
<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"
<tmbinc> and also the same chips I've found in thunderbolt expansion devices
<tmbinc> but sure it could be some fusing
Skip has joined #litex
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Ping timeout: 244 seconds]
<Claude> ping dkozel
<dkozel> Ah hi Claude
<Claude> (trying to)disassembling the JMS538 firmware at the moment . its a fscking 8051 lol
<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
<dkozel> It gets a bit messy with the power, probably going to skip that to start with
<zyp> dkozel, m.2 socket to usb or m.2 card with usb?
<dkozel> m.2 socket
<tpb> Title: GitHub - enjoy-digital/usb3_pipe: USB3 PIPE interface for Xilinx 7-Series / Lattice ECP5 (at github.com)
<dkozel> Exactly that but with m.2 and USB C sockets
<Claude> oh that looks pretty cool dkozel
<dkozel> No credit to me, all the interesting and hard work is _florent_ and bunnie
<dkozel> I just want to make use of it :D
<bunnie> lol this one is all florent, he did some amazing work there!
<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
kgugala has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
<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
<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
<john_k[m]> should litex enumerate on PCIe as `01:00.0 Memory controller: Xilinx Corporation Device 7024 (rev ff)`?
<john_k[m]> for the flash, I'm still getting errors, but seeing `Error: Unknown flash device (ID 0x00ffffff)` now
<_florent_> john_k[m]: rev ff seems weird (should be 01 IIRC), but otherwise it's fine
<CarlFK> using a pi and netv2 ... openocd.. loaded file top.bit to pld device 0 in 1s 635162us
<CarlFK> do I have to reset the netv2 to make it take effect?
<bunnie> no, the bitstream should take effect immediately after it was loaded, if the bitstream was valid for the FPGA
<bunnie> but if it failed CRC or mismatched to part number it won't take effect
<CarlFK> can I tell any of that from this? http://paste.ubuntu.com/p/g32KnJFg6x/
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<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?
<bunnie> yah it has an error saying that the JTAG chain returned all zeros
<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
<bunnie> if you're running on a pi4, you might need to tune the BCM2835 clocks line in the alphamax-rpi.cfg file
<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+
<CarlFK> bunnie: what openocd source should I use?
<bunnie> this is the one that's bundled with the netv2 production units: https://github.com/AlphamaxMedia/openocd
<tpb> Title: GitHub - AlphamaxMedia/openocd: openocd for KC705, KCU105, Sayma, Metlino, Kasli, Pipistrello etc (at github.com)
<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
<CarlFK> k - let me build that and try again
<bunnie> yah, this /should/ work -- it's what's shipping in the box.
<bunnie> you need to, of course, include the bcm2835 target in the config line
<CarlFK> bunnie: that doesn't build http://paste.ubuntu.com/p/JCFdXXxBk9/
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<CarlFK> src/target/arm_disassembler.c:1499:30: error: bitwise comparison always evaluates to false [-Werror=tautological-compare] if (((opcode & 0x00600000) == 0x00100000) && (x == 0))
<tpb> Title: OpenOCD - Open On-Chip Debugger / Code / Commit [b50fa9] (at sourceforge.net)
<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.
* CarlFK forks and patches...
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Read error: Connection reset by peer]
HoloIRCUser2 has joined #litex
HoloIRCUser has quit [Ping timeout: 258 seconds]
<CarlFK> http://paste.ubuntu.com/p/jRb6KdRBfM/ I'm getting tangled up in repos and missing configs :p
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<tpb> Title: Fix warnings exposed by GCC8; exposed a bug · CarlFK/openocd@f6e0c3b · GitHub (at github.com)
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
HoloIRCUser has joined #litex
HoloIRCUser2 has quit [Ping timeout: 246 seconds]
Claude has quit [Disconnected by services]