00:00
tpb has quit [Remote host closed the connection]
00:00
tpb has joined #litex
03:06
<
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:07
<
john_k[m] >
I might try to bodge something together in the meantime though
03:22
Degi has quit [Ping timeout: 265 seconds]
03:23
Degi has joined #litex
07:30
<
zyp >
meanwhile I've had the cables since tuesday, but still waiting for the fpga board
07:48
scanakci has joined #litex
09:15
FFY00 has joined #litex
12:11
CarlFK has joined #litex
12:27
acathla has quit [Remote host closed the connection]
12:37
kgugala has quit [Quit: -a- Connection Timed Out]
12:37
kgugala has joined #litex
12:38
scanakci has quit [Quit: Connection closed for inactivity]
13:10
<
tpb >
Title: Ubuntu Pastebin (at paste.ubuntu.com)
13:11
<
CarlFK >
File "build/bdist.linux-armv7l/egg/vcd/gtkw.py", line 108 self._filter_files: List[str] = [] ^ SyntaxError: invalid syntax
13:19
<
CarlFK >
ah, pi thing: bdist.linux-armv7l
15:00
<
_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:01
<
tpb >
Title: litex/litex_setup.py at master · enjoy-digital/litex · GitHub (at github.com)
15:04
<
CarlFK >
_florent_: correct Python 3.5.3
15:19
<
CarlFK >
_florent_: worked: comment the nmigen dependency
15:21
<
CarlFK >
so.. I have netv2/build/gateware/top.bit - and openocd.. how do I .. what is the verb?
17:17
<
CarlFK >
_florent_: also, fresh pi needs: sudo apt install git python3-setuptools
17:17
kgugala has quit [Ping timeout: 264 seconds]
17:20
kgugala has joined #litex
17:58
<
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
19:00
acathla has joined #litex
19:00
acathla has joined #litex
19:00
acathla has quit [Changing host]
19:07
<
CarlFK >
kgugala: I have openocd, liteex and top.bit on a pi hooked to the netv2. how do I verb it?
19:10
<
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:11
<
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:12
<
kgugala >
I just used different way of programming the FPGA
19:31
<
CarlFK >
ah
_florent_ is the one that gave me some pointers...
19:36
<
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:37
<
tpb >
Title: Ubuntu Pastebin (at paste.ubuntu.com)
19:45
<
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:46
<
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:47
<
kgugala >
I think on pi the programmer uses gpios
19:49
<
CarlFK >
If I am running as root, do I need the --user in: ./litex_setup.py init install --user
20:17
<
CarlFK >
grumble... root@pi4a:~/tv/netv2# ./netv2.py --help
20:17
<
CarlFK >
File "./netv2.py", line 253, in csr_map_update
20:17
<
CarlFK >
ValueError: max() arg is an empty sequence
20:17
<
CarlFK >
for v, n in enumerate(csr_peripherals, start=max(csr_map.values()) + 1)))
20:26
<
CarlFK >
print(csr_map) {}
20:30
<
_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:31
<
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:32
<
CarlFK >
the ; ends the line in bash
20:34
<
CarlFK >
loaded file build/gateware/top.bit to pld device 0 in 2s 55748us
22:00
kgugala has quit [Read error: Connection reset by peer]
22:00
kgugala has joined #litex
22:49
kgugala__ has joined #litex
22:50
kgugala has quit [Read error: No route to host]
22:50
kgugala has joined #litex
22:51
<
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:53
kgugala__ has quit [Ping timeout: 240 seconds]