_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
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
lkcl_ has quit [Ping timeout: 260 seconds]
lkcl_ has joined #litex
<shorne> _florent_: I have added some comments to the issue here
rj has quit [Ping timeout: 268 seconds]
rozpruwacz has quit [Quit: Leaving.]
lf_ has joined #litex
lf has quit [Ping timeout: 260 seconds]
shorne has quit [Ping timeout: 245 seconds]
Bertl_oO is now known as Bertl_zZ
pftbest has quit [Remote host closed the connection]
shorne has joined #litex
pftbest has joined #litex
pftbest has quit [Ping timeout: 272 seconds]
Degi_ has joined #litex
Degi_ is now known as Degi
_whitelogger has joined #litex
cr1901_modern has quit [Read error: Connection reset by peer]
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 264 seconds]
rozpruwacz has joined #litex
rozpruwacz has quit [Ping timeout: 246 seconds]
cr1901_modern has joined #litex
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 276 seconds]
<_florent_> zyp: Great!
<_florent_> shorne: Thanks for looking at this. I'll try to reproduce and investigate too. If you don't mind, can you eventually add the bistream to the issue? This way I can first reproduce with your bitstream then try to build mine (I have the same setup with Arty + SDCard PMOD).
<zyp> I'm gonna try making a withbone bridge compatible with the valentyusb one
Bertl_zZ is now known as Bertl
<_florent_> Just for info, the BIOS size is now automatically reduced to the minimal size at the end of the build (with https://github.com/enjoy-digital/litex/commit/3cbdc567ff4c50610e3b67c8e7b4ece9fe4da628)
<_florent_> So playing with --integrated-rom-size when enabling/disabling features should not longer be required
<zyp> nice
<zyp> say, if I have a usb request handler in the usb clock domain that handles memory read and write requests, and I want to bring that over to the sys domain to attach it to the main interconnect, I figured I could map this to a request stream and a response stream
<zyp> but since axilite is already based on streams, I guess I could use that rather than inventing my own
<zyp> is there already a mechanism to handle cdc for axilite, or do I need to make my own class for that?
lkcl_ has quit [Ping timeout: 246 seconds]
lkcl_ has joined #litex
shorne has quit [Ping timeout: 260 seconds]
lambda has quit [Ping timeout: 240 seconds]
lambda has joined #litex
lkcl_ has quit [Ping timeout: 256 seconds]
Bertl is now known as Bertl_oO
lkcl_ has joined #litex
FFY00_ has quit [Remote host closed the connection]
<_florent_> zyp: That would be nice/useful to add an AXILite CDC module, this would indeed consist of adding a CDC module on each stream
<tpb> Title: Snippet | IRCCloud (at www.irccloud.com)
<_florent_> here is a skeleton completely untested in case you want to finish it and create a PR :)
<zyp> yeah, that's what I had in mind, thanks
<zyp> I'll test it once I get to that point, currently working on the usb request handles on the luna side
<_florent_> great, thanks
zoobab has joined #litex
<zoobab> does Litex support Zynq? I have a parallela board here taking dust
FFY00_ has joined #litex
rj has joined #litex
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest_ has joined #litex
pftbest__ has joined #litex
pftbest_ has quit [Read error: Connection reset by peer]
pftbest has quit [Ping timeout: 260 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
<_florent_> zoobab: Yes, you can create SoC on Zynq with or without the PS and interconnect the PL/PS through AXI, you can look at:
<_florent_> This should give you an idea of what can be done. Basically you can just create regular LiteX SoCs and easily connect the PS to it
<_florent_> Connecting GP0 as a master for the LiteX SoC is done here for example: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/zybo_z7.py#L67-L73
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #litex
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
JH11 has joined #litex
<JH11> Hi, I'm trying to run linux-on-vex-riscv project on my kc705 board but I'm running into lxterm issue towards the end of the project. When I'm trying to load the linux image over serial using lxterm --images=images/boot.json /dev/ttyUSB1 --speed=1e6. The bios prompt doesn't boot up or show any outputs... it just hangs there. Does anyone have a clue
<JH11> what might be the issue here?
JH11 has quit [Quit: Connection closed]
JH11 has joined #litex
rj has quit [Ping timeout: 268 seconds]
<gatecat> JH11: try --speed=500e3 for the kc705
rj has joined #litex
<JH11> I tried and it still gave me no outputs
<JH11> or bios prompt
<JH11> how long does it take to see the outputs usually?
<gatecat> Should be pretty much straight away
<gatecat> Do you see anything if you hit enter?
<zoobab> on Alpine Linux, Litex does not find the xcompiler:
<zoobab> OSError: Unable to find any of the cross compilation toolchains:
<zoobab> - riscv64-unknown-linux-gnu
<zoobab> - riscv64-unknown-elf
<zoobab> - riscv32-unknown-elf
<zoobab> while it is at: riscv-none-elf-gcc
<zyp> you can try adding it to the list
<zoobab> added
<zoobab> works now
<zoobab> will do a PR
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
<JH11> gatecat It doesnt show anything even if hit enter
<JH11> chmod -x bios.elf
<JH11>  OBJCOPY bios.bin
<JH11> chmod -x bios.bin
<JH11> python3 -m litex.soc.software.mkmscimg bios.bin --little
<JH11> python3 -m litex.soc.software.memusage bios.elf /home/jhu96/Desktop/McGill_Masters/Research/linux-on-litex-vexriscv/build/kc705/software/bios/../include/generated/regions.ld riscv64-unknown-elf
<JH11> ROM usage: 47.38KiB (74.02%)
<JH11> RAM usage: 0.77KiB (9.57%)
<JH11> make: Leaving directory '/home/jhu96/Desktop/McGill_Masters/Research/linux-on-litex-vexriscv/build/kc705/software/bios'
<JH11> Open On-Chip Debugger 0.11.0+dev-00034-g4c00f96fc-dirty (2021-03-11-15:25)
<JH11> Licensed under GNU GPL v2
<JH11> For bug reports, read
<JH11> DEPRECATED! use 'adapter driver' not 'interface'
<JH11> Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
<tpb> Title: OpenOCD: Bug Reporting (at openocd.org)
<JH11> DEPRECATED! use 'adapter speed' not 'adapter_khz'
<JH11> fpga_program
<JH11> Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
<JH11> Info : clock speed 25000 kHz
<JH11> gatecat this is the last bit of my uploading the bitstream onto the kc705 board. Was I able to upload it correctly?
<JH11> gatecat i think it looked fine to me
FFY00_ has quit [Ping timeout: 260 seconds]
rj has quit [Ping timeout: 268 seconds]
FFY00_ has joined #litex
rj has joined #litex
<JH11> Does anyone have a clue why lxterm --images=images/boot.json /dev/ttyUSB2 --speed=500e3 is stuck for loading linux to kc705 board with Jtag/Serial?
<JH11> even if i press enter after that command
<zyp> _florent_, the axi-lite cdc seems to work fine, had to s/layout/description/, but otherwise it appears fully functional (at least the read side)
<zyp> I've only finished the read handler so far, but here's writing the scratch register via the bios shell and reading it back over the usb bridge: https://bin.jvnv.net/file/JABjY.png
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
<geertu> Finally I got v5.12-rc2 booting on vexriscv. Patch sent upstream.
<_florent_> zyp: nice, thanks for the feedback, I'll integrate it in interconnect.axi soon then
<_florent_> geertu: great, thanks for looking at this (and your previous help on 5.11)
pftbest__ has quit [Remote host closed the connection]
pftbest has joined #litex
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
shorne has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
rj has quit [Remote host closed the connection]
rj has joined #litex
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
pftbest has quit [Ping timeout: 245 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
kgugala has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
<shorne> _florent_: attached
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
<tpb> Title: JVnV Pastebin View paste – Untitled (at paste.jvnv.net)
<zyp> I ran a rough comparison vs etherbone, it's a little bit slower -- 26.6 seconds to transfer a big litescope buffer over usb vs 19.7 seconds over etherbone
shorne has quit [Ping timeout: 246 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex