Friday, 2021-03-12

*** tpb has joined #litex00:00
*** rj has quit IRC00:17
*** rj has joined #litex00:21
*** lkcl_ has quit IRC00:24
*** lkcl_ has joined #litex00:37
shorne_florent_: I have added some comments to the issue here00:44
shornehttps://github.com/enjoy-digital/litesdcard/issues/2200:44
*** rj has quit IRC00:45
*** rozpruwacz has quit IRC00:51
*** lf_ has joined #litex00:51
*** lf has quit IRC00:51
*** shorne has quit IRC01:36
*** Bertl_oO is now known as Bertl_zZ01:50
*** pftbest has quit IRC02:05
*** shorne has joined #litex02:12
*** pftbest has joined #litex02:26
*** pftbest has quit IRC02:31
*** Degi_ has joined #litex02:56
*** Degi has quit IRC02:58
*** Degi_ is now known as Degi02:58
*** _whitelogger has quit IRC03:06
*** _whitelogger has joined #litex03:11
*** cr1901_modern has quit IRC06:02
*** kgugala_ has joined #litex06:20
*** kgugala has quit IRC06:23
*** rozpruwacz has joined #litex06:37
*** rozpruwacz has quit IRC06:42
*** cr1901_modern has joined #litex06:42
*** TMM has quit IRC06:44
*** TMM has joined #litex06:44
*** pftbest has joined #litex07:10
*** pftbest has quit IRC07:30
*** pftbest has joined #litex07:30
*** kgugala has joined #litex07:53
*** kgugala_ has quit IRC07:55
_florent_zyp: Great!08:20
_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).08:22
zypI'm gonna try making a withbone bridge compatible with the valentyusb one08:23
*** Bertl_zZ is now known as Bertl08:46
_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)08:52
_florent_So playing with --integrated-rom-size when enabling/disabling features should not longer be required08:53
zypnice08:53
zypsay, 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 stream09:20
zypbut since axilite is already based on streams, I guess I could use that rather than inventing my own09:21
zypis there already a mechanism to handle cdc for axilite, or do I need to make my own class for that?09:24
*** lkcl_ has quit IRC10:21
*** lkcl_ has joined #litex10:34
*** shorne has quit IRC10:38
*** lambda has quit IRC10:44
*** lambda has joined #litex11:00
*** lkcl_ has quit IRC12:42
*** Bertl is now known as Bertl_oO12:55
*** lkcl_ has joined #litex12:55
*** FFY00_ has quit IRC13:54
_florent_zyp: That would be nice/useful to add an AXILite CDC module, this would indeed consist of adding a CDC module on each stream14:01
_florent_https://www.irccloud.com/pastebin/faTkYMwb/14:02
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)14:02
_florent_here is a skeleton completely untested in case you want to finish it and create a PR :)14:02
zypyeah, that's what I had in mind, thanks14:03
zypI'll test it once I get to that point, currently working on the usb request handles on the luna side14:04
_florent_great, thanks14:05
*** zoobab has joined #litex14:26
zoobabdoes Litex support Zynq? I have a parallela board here taking dust14:27
*** FFY00_ has joined #litex14:39
*** rj has joined #litex14:57
*** rj has quit IRC15:25
*** rj has joined #litex15:28
*** pftbest has quit IRC15:32
*** pftbest has joined #litex15:44
*** pftbest has quit IRC15:48
*** pftbest has joined #litex15:52
*** pftbest_ has joined #litex15:53
*** pftbest__ has joined #litex15:54
*** pftbest_ has quit IRC15:54
*** pftbest has quit IRC15:57
*** rj has quit IRC16:10
*** rj has joined #litex16:15
*** rj has quit IRC16:54
*** rj has joined #litex16:55
_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:17:23
_florent_https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/zybo_z7.py17:24
_florent_https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/zynq7000/core.py17:24
_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 it17:25
_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-L7317:26
*** TMM has quit IRC17:33
*** TMM has joined #litex17:33
*** rj has quit IRC17:36
*** rj has joined #litex17:41
*** JH11 has joined #litex17:44
JH11Hi, 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 clue17:47
JH11what might be the issue here?17:47
*** JH11 has quit IRC17:50
*** JH11 has joined #litex17:50
*** rj has quit IRC18:19
gatecatJH11: try --speed=500e3 for the kc70518:19
*** rj has joined #litex18:21
JH11I tried and it still gave me no outputs18:32
JH11or bios prompt18:32
JH11how long does it take to see the outputs usually?18:33
gatecatShould be pretty much straight away18:35
gatecatDo you see anything if you hit enter?18:36
zoobabon Alpine Linux, Litex does not find the xcompiler:19:00
zoobabOSError: Unable to find any of the cross compilation toolchains:19:00
zoobab- riscv64-unknown-elf19:00
zoobab- riscv64-unknown-linux-gnu19:00
zoobab- riscv32-unknown-elf19:00
zoobabwhile it is at: riscv-none-elf-gcc19:00
zypyou can try adding it to the list19:03
zyphttps://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/__init__.py#L3919:04
zoobabadded19:04
zoobabworks now19:04
zoobabwill do a PR19:04
*** rj has quit IRC19:05
*** rj has joined #litex19:08
zoobabhttps://github.com/enjoy-digital/litex/pull/84719:14
JH11gatecat It doesnt show anything even if hit enter19:26
JH11chmod -x bios.elf19:27
JH11 OBJCOPY  bios.bin19:27
JH11chmod -x bios.bin19:27
JH11python3 -m litex.soc.software.mkmscimg bios.bin --little19:27
JH11python3 -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-elf19:27
JH11ROM usage: 47.38KiB (74.02%)19:27
JH11RAM usage: 0.77KiB (9.57%)19:27
JH11make: Leaving directory '/home/jhu96/Desktop/McGill_Masters/Research/linux-on-litex-vexriscv/build/kc705/software/bios'19:27
JH11Open On-Chip Debugger 0.11.0+dev-00034-g4c00f96fc-dirty (2021-03-11-15:25)19:27
JH11Licensed under GNU GPL v219:27
JH11For bug reports, read19:27
JH11 http://openocd.org/doc/doxygen/bugs.html19:27
JH11DEPRECATED! use 'adapter driver' not 'interface'19:27
JH11Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.19:27
tpbTitle: OpenOCD: Bug Reporting (at openocd.org)19:27
JH11DEPRECATED! use 'adapter speed' not 'adapter_khz'19:27
JH11fpga_program19:27
JH11Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"19:27
JH11Info : clock speed 25000 kHz19:27
JH11gatecat this is the last bit of my uploading the bitstream onto the kc705 board. Was I able to upload it correctly?19:28
JH11gatecat i think it looked fine to me19:28
*** FFY00_ has quit IRC19:47
*** rj has quit IRC19:48
*** FFY00_ has joined #litex19:49
*** rj has joined #litex19:52
JH11Does 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?20:10
JH11even if i press enter after that command20:11
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)20:20
zypI'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.png20:21
*** rj has quit IRC20:32
*** rj has joined #litex20:35
geertuFinally I got v5.12-rc2 booting on vexriscv. Patch sent upstream.20:43
_florent_zyp: nice, thanks for the feedback, I'll integrate it in interconnect.axi soon then20:51
_florent_geertu: great, thanks for looking at this (and your previous help on 5.11)20:56
*** pftbest__ has quit IRC21:01
*** pftbest has joined #litex21:01
*** rj has quit IRC21:15
*** rj has joined #litex21:18
*** shorne has joined #litex21:19
*** pftbest has quit IRC21:25
*** pftbest has joined #litex21:26
*** pftbest has quit IRC21:30
*** pftbest has joined #litex21:30
*** rj has quit IRC21:31
*** rj has joined #litex21:31
*** pftbest has quit IRC21:33
*** pftbest has joined #litex21:51
*** pftbest has quit IRC21:55
*** rj has quit IRC22:01
*** rj has joined #litex22:05
*** kgugala has quit IRC22:15
*** kgugala has joined #litex22:16
shorne_florent_: attached22:27
*** rj has quit IRC22:44
*** rj has joined #litex22:48
zyphttps://paste.jvnv.net/view/nyEvK22:49
tpbTitle: JVnV Pastebin View paste – Untitled (at paste.jvnv.net)22:49
zypI 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 etherbone23:00
*** shorne has quit IRC23:00
*** rj has quit IRC23:27
*** rj has joined #litex23:31

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!