*** tpb has joined #litex | 00:00 | |
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 | 03:06 |
---|---|---|
john_k[m] | I might try to bodge something together in the meantime though | 03:07 |
*** Degi has quit IRC | 03:22 | |
*** Degi has joined #litex | 03:23 | |
zyp | meanwhile I've had the cables since tuesday, but still waiting for the fpga board | 07:30 |
*** scanakci has joined #litex | 07:48 | |
*** FFY00 has joined #litex | 09:15 | |
*** CarlFK has joined #litex | 12:11 | |
*** acathla has quit IRC | 12:27 | |
*** kgugala has quit IRC | 12:37 | |
*** kgugala has joined #litex | 12:37 | |
*** scanakci has quit IRC | 12:38 | |
CarlFK | _florent_: http://paste.ubuntu.com/p/9YvTrnfb8D/ litex_setup.py has issues | 13:10 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 13:10 |
CarlFK | File "build/bdist.linux-armv7l/egg/vcd/gtkw.py", line 108 self._filter_files: List[str] = [] ^ SyntaxError: invalid syntax | 13:11 |
CarlFK | ah, pi thing: bdist.linux-armv7l | 13:19 |
_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) | 15:00 |
_florent_ | can you try to comment the nmigen dependency in the litex_setup? | 15:00 |
_florent_ | https://github.com/enjoy-digital/litex/blob/master/litex_setup.py#L20 | 15:01 |
tpb | Title: litex/litex_setup.py at master · enjoy-digital/litex · GitHub (at github.com) | 15:01 |
CarlFK | _florent_: correct Python 3.5.3 | 15:04 |
CarlFK | trying... | 15:04 |
CarlFK | _florent_: worked: comment the nmigen dependency | 15:19 |
CarlFK | so.. I have netv2/build/gateware/top.bit - and openocd.. how do I .. what is the verb? | 15:21 |
CarlFK | _florent_: also, fresh pi needs: sudo apt install git python3-setuptools | 17:17 |
*** kgugala has quit IRC | 17:17 | |
*** kgugala has joined #litex | 17:20 | |
CarlFK | bunnie: netv2 plugged into a pi4, 12v into the netv2, the heat sink is getting alarmingly hot | 17:58 |
CarlFK | like ouch my finger after about 1 second | 17:58 |
*** acathla has joined #litex | 19:00 | |
*** acathla has quit IRC | 19:00 | |
*** acathla has joined #litex | 19:00 | |
CarlFK | kgugala: I have openocd, liteex and top.bit on a pi hooked to the netv2. how do I verb it? | 19:07 |
kgugala | CarlFK I never used pi with netv2 | 19:10 |
CarlFK | I thought you gave me some openocd tings but needed litex installed first | 19:10 |
kgugala | I used openocd with olimex jtag | 19:11 |
kgugala | makefile and scripts in the repo are for that | 19:11 |
kgugala | you can use pi | 19:11 |
kgugala | I just used different way of programming the FPGA | 19:12 |
CarlFK | ah _florent_ is the one that gave me some pointers... | 19:31 |
CarlFK | pi@netv2mvp:~/tv/netv2 $ ./netv2.py --load | 19:36 |
CarlFK | open: Permission denied | 19:36 |
CarlFK | all my sudo attempts end up with missing stuff... | 19:36 |
CarlFK | ImportError: No module named 'migen' | 19:36 |
CarlFK | http://paste.ubuntu.com/p/tBNPqqQDqx/ | 19:37 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:37 |
kgugala | I guess you installed python dependencies as regular user | 19:45 |
kgugala | with sudo you run the stuff as root | 19:45 |
kgugala | and root doesn't have the packages installed | 19:45 |
CarlFK | any idea what I I need to chmod for open: Permission denied | 19:46 |
kgugala | you can either change the permissions to required devices run the loading as regular user | 19:46 |
kgugala | or install the packages for root | 19:46 |
kgugala | I think on pi the programmer uses gpios | 19:47 |
CarlFK | If I am running as root, do I need the --user in: ./litex_setup.py init install --user | 19:49 |
kgugala | no | 19:53 |
CarlFK | grumble... root@pi4a:~/tv/netv2# ./netv2.py --help | 20:17 |
CarlFK | File "./netv2.py", line 253, in csr_map_update | 20:17 |
CarlFK | for v, n in enumerate(csr_peripherals, start=max(csr_map.values()) + 1))) | 20:17 |
CarlFK | ValueError: max() arg is an empty sequence | 20:17 |
CarlFK | print(csr_map) {} | 20:26 |
_florent_ | CarlFK: since installing LiteX seems to be complicated, can you try just running the following openocd command: | 20:30 |
_florent_ | openocd -f openocd/openocd.cfg -c init; pld load 0 {build/gateware/top.bit}; exit | 20:30 |
CarlFK | _florent_: guessing I need quotes around the -c arg? | 20:31 |
CarlFK | openocd -f openocd/openocd.cfg -c "init; pld load 0 {build/gateware/top.bit}; exit" | 20:31 |
CarlFK | the ; ends the line in bash | 20:32 |
CarlFK | loaded file build/gateware/top.bit to pld device 0 in 2s 55748us | 20:34 |
CarlFK | yay | 20:34 |
*** kgugala has quit IRC | 22:00 | |
*** kgugala has joined #litex | 22:00 | |
*** kgugala__ has joined #litex | 22:49 | |
*** kgugala has quit IRC | 22:50 | |
*** kgugala has joined #litex | 22:50 | |
CarlFK | where should I get openocd from? | 22:51 |
CarlFK | what is in the rasp repo isn't as current as .. wherever this came from: | 22:51 |
CarlFK | 0.10.0-00019-gfb5691f0-dirty (2018-10-26-14:03) | 22:51 |
*** kgugala__ has quit IRC | 22:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!