_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
<john_k[m]> _florent_: `03:00.0 Processing accelerators: Squirrels Research Labs Acorn CLE-215+` :) my cables to make a proper JTAG cable don't come until Tuesday
<john_k[m]> I might try to bodge something together in the meantime though
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #litex
<zyp> meanwhile I've had the cables since tuesday, but still waiting for the fpga board
scanakci has joined #litex
FFY00 has joined #litex
CarlFK has joined #litex
acathla has quit [Remote host closed the connection]
kgugala has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
scanakci has quit [Quit: Connection closed for inactivity]
<CarlFK> _florent_: http://paste.ubuntu.com/p/9YvTrnfb8D/ litex_setup.py has issues
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<CarlFK> File "build/bdist.linux-armv7l/egg/vcd/gtkw.py", line 108 self._filter_files: List[str] = [] ^ SyntaxError: invalid syntax
<CarlFK> ah, pi thing: bdist.linux-armv7l
<_florent_> CarlFK: it's probably because you are using Python3.5 and it's no longer supported (we have a dependency on nMigen that requires Python3.6)
<_florent_> can you try to comment the nmigen dependency in the litex_setup?
<tpb> Title: litex/litex_setup.py at master · enjoy-digital/litex · GitHub (at github.com)
<CarlFK> _florent_: correct Python 3.5.3
<CarlFK> trying...
<CarlFK> _florent_: worked: comment the nmigen dependency
<CarlFK> so.. I have netv2/build/gateware/top.bit - and openocd.. how do I .. what is the verb?
<CarlFK> _florent_: also, fresh pi needs: sudo apt install git python3-setuptools
kgugala has quit [Ping timeout: 264 seconds]
kgugala has joined #litex
<CarlFK> bunnie: netv2 plugged into a pi4, 12v into the netv2, the heat sink is getting alarmingly hot
<CarlFK> like ouch my finger after about 1 second
acathla has joined #litex
acathla has joined #litex
acathla has quit [Changing host]
<CarlFK> kgugala: I have openocd, liteex and top.bit on a pi hooked to the netv2. how do I verb it?
<kgugala> CarlFK I never used pi with netv2
<CarlFK> I thought you gave me some openocd tings but needed litex installed first
<kgugala> I used openocd with olimex jtag
<kgugala> makefile and scripts in the repo are for that
<kgugala> you can use pi
<kgugala> I just used different way of programming the FPGA
<CarlFK> ah _florent_ is the one that gave me some pointers...
<CarlFK> pi@netv2mvp:~/tv/netv2 $ ./netv2.py --load
<CarlFK> open: Permission denied
<CarlFK> all my sudo attempts end up with missing stuff...
<CarlFK> ImportError: No module named 'migen'
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<kgugala> I guess you installed python dependencies as regular user
<kgugala> with sudo you run the stuff as root
<kgugala> and root doesn't have the packages installed
<CarlFK> any idea what I I need to chmod for open: Permission denied
<kgugala> you can either change the permissions to required devices run the loading as regular user
<kgugala> or install the packages for root
<kgugala> I think on pi the programmer uses gpios
<CarlFK> If I am running as root, do I need the --user in: ./litex_setup.py init install --user
<kgugala> no
<CarlFK> grumble... root@pi4a:~/tv/netv2# ./netv2.py --help
<CarlFK> File "./netv2.py", line 253, in csr_map_update
<CarlFK> ValueError: max() arg is an empty sequence
<CarlFK> for v, n in enumerate(csr_peripherals, start=max(csr_map.values()) + 1)))
<CarlFK> print(csr_map) {}
<_florent_> CarlFK: since installing LiteX seems to be complicated, can you try just running the following openocd command:
<_florent_> openocd -f openocd/openocd.cfg -c init; pld load 0 {build/gateware/top.bit}; exit
<CarlFK> _florent_: guessing I need quotes around the -c arg?
<CarlFK> openocd -f openocd/openocd.cfg -c "init; pld load 0 {build/gateware/top.bit}; exit"
<CarlFK> the ; ends the line in bash
<CarlFK> loaded file build/gateware/top.bit to pld device 0 in 2s 55748us
<CarlFK> yay
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala__ has joined #litex
kgugala has quit [Read error: No route to host]
kgugala has joined #litex
<CarlFK> where should I get openocd from?
<CarlFK> what is in the rasp repo isn't as current as .. wherever this came from:
<CarlFK> 0.10.0-00019-gfb5691f0-dirty (2018-10-26-14:03)
kgugala__ has quit [Ping timeout: 240 seconds]