Wednesday, 2020-12-02

*** tpb has joined #litex00:00
*** feldim2425 has quit IRC00:33
*** lf has quit IRC00:40
*** lf has joined #litex00:40
*** feldim2425 has joined #litex00:45
*** Bertl is now known as Bertl_zZ01:02
*** Degi_ has joined #litex01:38
*** Degi has quit IRC01:41
*** Degi_ is now known as Degi01:41
*** Dolu_ has quit IRC01:53
*** davidlattimore has joined #litex05:18
*** davidlattimore has quit IRC05:28
*** davidlattimore has joined #litex05:29
*** kgugala_ has joined #litex06:06
*** kgugala has quit IRC06:09
*** davidlattimore has quit IRC06:11
*** kgugala has joined #litex06:34
*** kgugala_ has quit IRC06:34
*** awordnot has quit IRC06:36
*** awordnot has joined #litex06:41
*** m4ssi has joined #litex07:37
*** CarlFK has quit IRC09:13
*** CarlFK has joined #litex09:39
*** peepsalot has quit IRC10:04
*** peepsalot has joined #litex10:06
*** Bertl_zZ is now known as Bertl11:52
*** Dolu_ has joined #litex11:54
*** kgugala has quit IRC12:25
*** kgugala has joined #litex12:26
*** m4ssi has quit IRC17:20
josengHi all, can someone give me a hint how to get the litex_server/litex_sim and litescope_cli working? First I tried to put in the UARTWishboneBridge in my SoC and start the litex_server over uart and then just run the litescope_cli in another terminal window, but I get a timeout when uploading/starting (I see the connection from litescope_cli in the17:59
josenglitex_server output)17:59
josengThen I wanted to run the litex_sim as in the litescope wiki page, but when I run this with "litex_sim --with-etherbone --with-analyzer" and then "litex_server --udp --udp-ip=192.168.10.113" (ip of my ubuntu VM), I get a timeout from litex_server18:00
_florent_Hi joseng18:02
_florent_so you are looking at: https://github.com/enjoy-digital/litex/wiki/Use-Host-Bridge-to-control-debug-a-SoC18:03
_florent_and https://github.com/enjoy-digital/litex/wiki/Use-LiteScope-To-Debug-A-SoC?18:03
josengHi florent, yes exactly these two articles18:04
josengAm I missing something how to get started with the tools? Or missed something in my setup of litex?18:05
_florent_maybe you can do a test in simulation first18:08
_florent_if you do litex_sim --with-etherbone18:08
_florent_when the SoC is running, are you able to ping 192.168.1.51?18:09
_florent_if so, you can then do: litex_server --udp --udp-ip=192.168.1.51 (you need to provide the IP of the simulation, not your VM)18:14
_florent_and do litex_cli  --ident18:14
_florent_it should return the identifier of the simulation18:14
*** Bertl is now known as Bertl_oO18:34
josengAfter dinner if came now to testing19:28
josengPing works, connecting with the litex_server also. When I connect, I see the output "Error trying to write data to TAP device" in the litex_sim window19:28
somlodaveshah: with the new(er) yosys (2116c58) I can once again fit a linux (mmu) capable rocket chip and LiteEth on my versa5g board19:29
somlo100% utilization without "-nowidelut", 97% with the option turned on19:29
somloonly tested the latter, fails to actually tftp anythong over ethernet, but passes DRAM testing :)19:29
josengBut when I run litex_client --ident, I get the error "File "litex_client.py", line 96, in dump_identifier19:30
joseng    c = chr(wb.read(wb.bases.identifier_mem + 4*i) & 0xff)19:30
josengAttributeError: 'RemoteClient' object has no attribute 'bases'"19:30
somloI'll try again without nowidelut, see if that improves LiteETH behavior19:30
somlobut whoo, it's back to where it fits, which is great!19:30
joseng_florent_ After starting the litex_server again several times, now litex_cli --ident works and also litescope_cli runs successful19:48
josengwith the simulator19:48
josengSeems running the setup script again fixed something?! Now I can also connect with the litex_server and uart to my SoC in the FPGA. With litex_cli --ident I get a result :)19:52
josengOnly litescope_cli does not come back from "[running]"19:53
josengOk, newby error. I ran litescope_cli in the wrong folder, where it found the analyzer.csv from the simulator and not in the build folder where the correct file from the SoC is....19:58
josengSorry for spamming around...19:58
*** d_olex has quit IRC20:04
*** indy has quit IRC22:29
*** indy has joined #litex22:46
*** pepijndevos_ has quit IRC23:40
*** pepijndevos has joined #litex23:41

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