_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
_whitelogger has joined #litex
oter has joined #litex
oter_ has joined #litex
<oter> Deciding whether to buy a Genesys2 or KC705 board to work with litex (eth and dram needed). Prefer the cheaper one if possible ;-) The Genesys2 entry in https://github.com/litex-hub/litex-boards says for the eth Phy "1Gbps RGMII*" --> "*Present on the board but not yet supported or validated with LiteX." Q: can anyone with a G2 board confirm that liteeth (all the way to arp and udp for my use-case) does or does not work for them? Thanks!
<tpb> Title: GitHub - litex-hub/litex-boards: LiteX boards files (at github.com)
<Finde> if someone built the appropriate files I wouldn't mind trying it on mine
shorne has quit [Ping timeout: 240 seconds]
shorne has joined #litex
jaseg has quit [Ping timeout: 260 seconds]
jaseg has joined #litex
Degi has quit [Ping timeout: 272 seconds]
Degi has joined #litex
<oter_> Thanks for offering your help, Finde!
_whitelogger has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
alanvgreen has quit [Quit: Connection closed for inactivity]
<_florent_> lkcl: ok i see, the fact you have your IO/Pad ring at the top level makes things indeed a bit different and will indeed requires some modifications
<_florent_> oter_: the README is probably outdated, LiteEth is supported in the Genesys2 and i've been using it recently with the Genesys2 in LiteDRAM bench: https://github.com/enjoy-digital/litedram/blob/master/bench/genesys2.py
<tpb> Title: litedram/genesys2.py at master · enjoy-digital/litedram · GitHub (at github.com)
<_florent_> oter_: in this bench, the control of the SoC/log of the BIOS is done over Ethernet
awordnot has quit [Ping timeout: 258 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
awordnot has joined #litex
<oter> _florent_ - that's great - thanks!
m4ssi has joined #litex
m4ssi has quit [Ping timeout: 260 seconds]
m4ssi has joined #litex
maciejjo has quit [Remote host closed the connection]
<shorne> my 3 year old just brought a development board to me and asked what is this?
<shorne> I said its a tool to design products like a phone
<shorne> Thats not what I am really doing though
<shorne> :)
<lkcl> _florent_: the precedent will establish litex for use in developing ASICs.
<lkcl> which is a Big Deal :)
<lkcl> _florent_, however on balance it's minimal modifications, which is fantastic
pdp7 has quit [Excess Flood]
pdp7 has joined #litex
m4ssi has quit [Ping timeout: 246 seconds]
m4ssi has joined #litex
tcal has quit [Quit: Connection closed for inactivity]
<pepijndevos> I have a 85F UL3XS, what do I need to do to run Linux on that? Seems the prebuilt stuf at least is for 45F but I assume I can compile from source?
<pepijndevos> wah... I added soc_kwargs and it compiles and loads fine
<pepijndevos> but I don't see a ttyUSB0 after uploading the bitstream
<pepijndevos> https://bpa.st/UCMQ wtf
<tpb> Title: View paste UCMQ (at bpa.st)
<pepijndevos> Okay, now I'm getting FileNotFoundError: [Errno 2] No such file or directory: 'buildroot/Image'
<pepijndevos> (used openFPGALoader instead of ujprog btw)
<pepijndevos> So obviously that image is just not being compiled at all... and I'm not sure what's supposed to do that.
<pepijndevos> ah okay, that's also in the prebuilt repo...
<pepijndevos> horaay! I can boot linux.
<pepijndevos> Now... can I use HDMI one the ULX3S?
<keesj> I don't know but .. how long before this all becomes a reality and we have usb stacks and hardware video decoding and we run it all on open scilicon
<keesj> The amp hour podcast had a few speakers on the open source PDK ( #501) Fabless Chip design (#503) is litex playing a role there?,
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
oter_ has quit [Quit: Textual IRC Client: www.textualapp.com]
oter has quit [Quit: Textual IRC Client: www.textualapp.com]
m4ssi has quit [Quit: Leaving]
<_florent_> pepijndevos: not sure we have a ready-to-use solution for HDMI with ULX3S, but it should not be too complicated to reuse some HDMI code available for the ULX3S and connect LiteVideo or the DMA from LiteX to it
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 260 seconds]
<pepijndevos> _florent_, yea it's very much not ready-to-use but people have done similar things. Would be cool if LiteVideo supported more devices, like ECP5.
<pepijndevos> If I understand correctly, you'd only need to implement the SERDES bits, right?
<_florent_> pepijndevos: yes indeed, LiteVideo has been developed before ECP5 was so popular and currently on supports Spartan6 and 7-Series
<_florent_> it would be nice to extend if to more devices, but i've not had time yet to do it myself
<_florent_> For video out, only the Serializer should indeed be replaced
<tpb> Title: litex/stream.py at master · enjoy-digital/litex · GitHub (at github.com)
<_florent_> depending the serialization ratio of the ECP5 primitives
<_florent_> pepijndevos: also regarding twitter/LitePCIe, it's not a full PCIe core since reuses the PCIe hardblock PHYs, but it's still implementing the upper layers and is equivalent to the others PCIe core you can find (RIFFA, verilog-pcie, etc...)
<_florent_> even if we had an open-source PCIe PHY, it would still make sense to use the PCIe hardblock since it comes almost for free on FPGAs with PCIe hardblock PHYs
<_florent_> similar to using BlockRAMs when available instead of LUTRAMs :)
tcal has joined #litex
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 240 seconds]
<tcal> Does wishbone-tool --load-name xxx.bin --load-address 0x4000000 work?
<tcal> I have a debug Litex SoC on Arty, with UART crossover bridge and a debug VexRiscv.
<tcal> I can use wishbone-tool with both -s terminal and -s gdb and they work great. But I need to figure out how to load my "application" program (bare metal compiled from C, linked with the Litex software/ libraries).
<zyp> litex-terminal can load software via the terminal, but I haven't tried using that with the crossover uart
<zyp> I guess you could use the --load-* flags to load it into memory and then maybe there's a terminal command to jump to it?
<tcal> Yeah, I'd usually use lxterm / litex_term to load the app with "--kernel" (serialboot). But the app hangs when it attempts to write a character, so I'm trying to debug on the board. Hmm, I have a UART Pmod, maybe I can rebuild the SoC to have two UARTs, and use one for the bridge with gdb, and use the other for terminal+serialboot.
st-gourichon-fid has quit [Quit: ZNC - https://znc.in]
st-gourichon-fid has joined #litex
<zyp> there's also the possibility of using the load command in gdb, but I don't think support for that is implemented in wishbone-tool yet
<zyp> it's on the list of things I'd like to put some work into at some point
<leons> Currently trying to port an OS to LiteX/VexRiscv. However after quite some debugging I can't seem to get the external interrupts (from the core's eventmanagers) to work. I must be missing something... Is there any good approach on how to debug something like this?
<leons> Until now I've treated the system as a black box and only tested from the OS (setting a Timer, observing that no interrupt fires and that the registers don't indicate anything pending)
<leons> Is there an easier way to check whether a certain signal is asserted other than for instance plain routing it to an LED?
<zyp> maybe use litescope?
<leons> zyp: That looks interesting. I'll see whether I can get it up and running
nrossi1 has joined #litex
CarlFK[m]1 has joined #litex
xobs1 has joined #litex
nrossi has quit [Ping timeout: 246 seconds]
CarlFK[m] has quit [Ping timeout: 246 seconds]
xobs has quit [Ping timeout: 246 seconds]
lf has quit [Ping timeout: 260 seconds]
lf has joined #litex