Saturday, 2020-05-16

*** tpb has joined #litex00: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 Tuesday03:06
john_k[m]I might try to bodge something together in the meantime though03:07
*** Degi has quit IRC03:22
*** Degi has joined #litex03:23
zypmeanwhile I've had the cables since tuesday, but still waiting for the fpga board07:30
*** scanakci has joined #litex07:48
*** FFY00 has joined #litex09:15
*** CarlFK has joined #litex12:11
*** acathla has quit IRC12:27
*** kgugala has quit IRC12:37
*** kgugala has joined #litex12:37
*** scanakci has quit IRC12:38
CarlFK_florent_: http://paste.ubuntu.com/p/9YvTrnfb8D/  litex_setup.py  has issues13:10
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)13:10
CarlFKFile "build/bdist.linux-armv7l/egg/vcd/gtkw.py", line 108     self._filter_files: List[str] = []                       ^ SyntaxError: invalid syntax13:11
CarlFKah, pi thing: bdist.linux-armv7l13: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#L2015:01
tpbTitle: litex/litex_setup.py at master · enjoy-digital/litex · GitHub (at github.com)15:01
CarlFK_florent_: correct Python 3.5.315:04
CarlFKtrying...15:04
CarlFK_florent_: worked: comment the nmigen dependency15:19
CarlFKso.. 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-setuptools17:17
*** kgugala has quit IRC17:17
*** kgugala has joined #litex17:20
CarlFKbunnie: netv2 plugged into a pi4, 12v into the netv2, the heat sink is getting alarmingly hot17:58
CarlFKlike ouch my finger after about 1 second17:58
*** acathla has joined #litex19:00
*** acathla has quit IRC19:00
*** acathla has joined #litex19:00
CarlFKkgugala: I have openocd, liteex and top.bit on a  pi hooked to the netv2.   how do I verb it?19:07
kgugalaCarlFK I never used pi with netv219:10
CarlFKI thought you gave me some openocd tings but needed litex installed first19:10
kgugalaI used openocd with olimex jtag19:11
kgugalamakefile and scripts  in the repo are for that19:11
kgugalayou can use pi19:11
kgugalaI just used different way of programming the FPGA19:12
CarlFKah _florent_ is the one that gave me some pointers...19:31
CarlFKpi@netv2mvp:~/tv/netv2 $ ./netv2.py --load19:36
CarlFKopen: Permission denied19:36
CarlFKall my sudo attempts end up with missing stuff...19:36
CarlFKImportError: No module named 'migen'19:36
CarlFKhttp://paste.ubuntu.com/p/tBNPqqQDqx/19:37
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)19:37
kgugalaI guess you installed python dependencies as regular user19:45
kgugalawith sudo you run the stuff as root19:45
kgugalaand root doesn't have the packages installed19:45
CarlFKany idea what I I need to chmod for open: Permission denied19:46
kgugalayou can either change the permissions to required devices run the loading as regular user19:46
kgugalaor install the packages for root19:46
kgugalaI think on pi the programmer uses gpios19:47
CarlFKIf I am running as root, do I need the --user in:  ./litex_setup.py init install --user19:49
kgugalano19:53
CarlFKgrumble... root@pi4a:~/tv/netv2# ./netv2.py --help20:17
CarlFK  File "./netv2.py", line 253, in csr_map_update20:17
CarlFK    for v, n in enumerate(csr_peripherals, start=max(csr_map.values()) + 1)))20:17
CarlFKValueError: max() arg is an empty sequence20:17
CarlFKprint(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}; exit20:30
CarlFK_florent_: guessing I need quotes around the -c arg?20:31
CarlFKopenocd -f openocd/openocd.cfg -c "init; pld load 0 {build/gateware/top.bit}; exit"20:31
CarlFKthe ; ends the line in bash20:32
CarlFKloaded file build/gateware/top.bit to pld device 0 in 2s 55748us20:34
CarlFKyay20:34
*** kgugala has quit IRC22:00
*** kgugala has joined #litex22:00
*** kgugala__ has joined #litex22:49
*** kgugala has quit IRC22:50
*** kgugala has joined #litex22:50
CarlFKwhere should I get openocd from?22:51
CarlFKwhat is in the rasp repo isn't as current as .. wherever this came from:22:51
CarlFK0.10.0-00019-gfb5691f0-dirty (2018-10-26-14:03)22:51
*** kgugala__ has quit IRC22:53

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