*** tpb <[email protected]> has joined #litex | 00:00 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 00:18 | |
*** TMM_ <[email protected]> has joined #litex | 00:18 | |
*** zjason` is now known as zjason | 00:21 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has quit IRC (Remote host closed the connection) | 01:19 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has joined #litex | 01:19 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has quit IRC (Remote host closed the connection) | 01:20 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has joined #litex | 01:27 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has quit IRC (Remote host closed the connection) | 01:29 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has joined #litex | 01:30 | |
*** Degi_ <[email protected]> has joined #litex | 02:01 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 02:02 | |
*** Degi_ is now known as Degi | 02:02 | |
CarlFK | can the Arty board work with the foss tools? (even a little, like blink and led) ? | 03:08 |
---|---|---|
bjonnh | (Arty Z7-20 with a Zynq-7000 XC7Z020-1CLG400C ) | 03:22 |
bjonnh | I'm installing the xilinx … thingies for now | 03:23 |
bjonnh | but if there are more open tools, I would be happy to use them | 03:23 |
bjonnh | CarlFK: https://github.com/timvideos/litex-buildenv/wiki/Xilinx-Vivado | 03:48 |
bjonnh | seems to have instructions that look familiar | 03:48 |
CarlFK | Carl Karsten edited this page on Feb 19, 2020 · 17 revisions | 03:49 |
CarlFK | :D | 03:49 |
CarlFK | almost 2 years old. | 03:50 |
bjonnh | that's promising | 03:52 |
bjonnh | I may just have to create a file with the pinout of that specific board | 03:53 |
bjonnh | if I understand how all of that is organized | 03:53 |
CarlFK | https://symbiflow-examples.readthedocs.io/en/latest/building-examples.html#xilinx-7-series | 03:54 |
tpb | Title: Building example designs — SymbiFlow examples documentation (at symbiflow-examples.readthedocs.io) | 03:54 |
CarlFK | no vava or other closed source needed | 03:55 |
bjonnh | but that's not those I think | 03:57 |
CarlFK | that link should show you how to make the arty do stuff with only foss tools | 04:07 |
CarlFK | and a bunch of other boards | 04:07 |
bjonnh | hmmm yeah not those arty I think, They are artix bazed | 04:08 |
bjonnh | based | 04:09 |
bjonnh | but I don't know maybe the fpga part is the same | 04:09 |
bjonnh | but symbiflow seems to handle the zybo z7 that has the same chip as my board | 04:09 |
bjonnh | so that's promising | 04:09 |
bjonnh | and the exact bitstream format seem to have been reversed as well according to https://github.com/SymbiFlow/prjxray-db/tree/master/zynq7/xc7z020clg400-3 | 04:16 |
*** linear_cannon <[email protected]> has quit IRC (Read error: Connection reset by peer) | 05:14 | |
*** Degi <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has quit IRC (*.net *.split) | 05:26 | |
*** TMM_ <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** Emantor <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** joseng <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** tcal <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** Wolf0 <Wolf0!~Wolf0@user/wolf0> has quit IRC (*.net *.split) | 05:26 | |
*** shorne_ <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** trabucayre <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has quit IRC (*.net *.split) | 05:26 | |
*** nats` <nats`[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has quit IRC (*.net *.split) | 05:26 | |
*** jeffdi <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** guan <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** alanvgreen <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** somlo <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** simeonm <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** key2 <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** philpax_ <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** kbeckmann <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** kgugala <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** bjonnh <bjonnh!~jo@about/aquilenet/bjonnh> has quit IRC (*.net *.split) | 05:26 | |
*** pavelow_ <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** tpw_rules <[email protected]> has quit IRC (*.net *.split) | 05:26 | |
*** Degi <[email protected]> has joined #litex | 05:27 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has joined #litex | 05:27 | |
*** TMM_ <[email protected]> has joined #litex | 05:27 | |
*** Emantor <[email protected]> has joined #litex | 05:27 | |
*** Wolf0 <Wolf0!~Wolf0@user/wolf0> has joined #litex | 05:27 | |
*** joseng <[email protected]> has joined #litex | 05:27 | |
*** jeffdi <[email protected]> has joined #litex | 05:27 | |
*** guan <[email protected]> has joined #litex | 05:27 | |
*** alanvgreen <[email protected]> has joined #litex | 05:27 | |
*** shorne_ <[email protected]> has joined #litex | 05:27 | |
*** tcal <[email protected]> has joined #litex | 05:27 | |
*** somlo <[email protected]> has joined #litex | 05:27 | |
*** simeonm <[email protected]> has joined #litex | 05:27 | |
*** key2 <[email protected]> has joined #litex | 05:27 | |
*** philpax_ <[email protected]> has joined #litex | 05:27 | |
*** trabucayre <[email protected]> has joined #litex | 05:27 | |
*** lexano <lexano!~lexano@cpe00e06722f0e4-cm98524a70e35e.cpe.net.cable.rogers.com> has joined #litex | 05:27 | |
*** nats` <nats`[email protected]> has joined #litex | 05:27 | |
*** Xesxen <Xesxen!~cyber@hackalot/deelnemer/xesxen> has joined #litex | 05:27 | |
*** kgugala <[email protected]> has joined #litex | 05:27 | |
*** kbeckmann <[email protected]> has joined #litex | 05:27 | |
*** bjonnh <bjonnh!~jo@about/aquilenet/bjonnh> has joined #litex | 05:27 | |
*** pavelow_ <[email protected]> has joined #litex | 05:27 | |
*** tpw_rules <[email protected]> has joined #litex | 05:27 | |
*** linear_cannon <[email protected]> has joined #litex | 05:27 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:d548:ae3f:3517:1a5> has joined #litex | 05:32 | |
*** benh <[email protected]> has quit IRC (*.net *.split) | 05:37 | |
*** zyp <[email protected]> has quit IRC (*.net *.split) | 05:37 | |
*** mtretter_ <[email protected]> has quit IRC (*.net *.split) | 05:37 | |
*** zyp <[email protected]> has joined #litex | 05:37 | |
*** mtretter <[email protected]> has joined #litex | 05:37 | |
*** benh <[email protected]> has joined #litex | 05:38 | |
*** gatecat <[email protected]> has quit IRC (*.net *.split) | 05:50 | |
*** _whitelogger <[email protected]> has quit IRC (*.net *.split) | 05:50 | |
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has quit IRC (*.net *.split) | 05:50 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has quit IRC (*.net *.split) | 05:50 | |
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has quit IRC (*.net *.split) | 05:50 | |
*** tumbleweed <tumbleweed!~stefanor@ubuntu/member/tumbleweed> has quit IRC (*.net *.split) | 05:50 | |
*** mntmn <[email protected]> has quit IRC (*.net *.split) | 05:50 | |
*** G33KatWork <[email protected]> has quit IRC (*.net *.split) | 05:50 | |
*** G33KatWork <[email protected]> has joined #litex | 05:50 | |
*** gatecat <[email protected]> has joined #litex | 05:50 | |
*** mntmn <[email protected]> has joined #litex | 05:50 | |
*** _whitelogger <[email protected]> has joined #litex | 05:51 | |
*** a3f <a3f!~a3f@2001:470:69fc:105::41d> has joined #litex | 05:53 | |
*** mikolajw <mikolajw!~mikolajtc@2001:470:69fc:105::3b02> has joined #litex | 05:53 | |
*** tumbleweed <tumbleweed!~stefanor@ubuntu/member/tumbleweed> has joined #litex | 05:55 | |
*** CarlosEDP <CarlosEDP!~carlosedp@2001:470:69fc:105::218e> has joined #litex | 05:56 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has quit IRC (Remote host closed the connection) | 07:04 | |
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:f03e:bc82:cee9:8ee9> has joined #litex | 07:04 | |
*** essele <[email protected]> has joined #litex | 08:01 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 252 seconds) | 08:13 | |
tcal | In LiteX/migen, is it possible to modify a "special" (wrapped instantiation) after it's been added? Specifically, to add more I/Os? | 08:29 |
*** FabM <FabM!~FabM@2a03:d604:103:600:5bdc:260d:1bd0:40c4> has joined #litex | 08:34 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 265 seconds) | 09:23 | |
*** FabM <[email protected]> has joined #litex | 09:35 | |
*** ilia__s <[email protected]> has joined #litex | 10:57 | |
_florent_ | tcal: it's possible yes. For this, you can put the special in the do_finalize, as done in most CPUs, for example VexRiscv: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv/core.py#L363 | 12:39 |
*** emkat <emkat!~emkat@2001:67c:2564:518:9e7b:efff:fe46:1776> has joined #litex | 12:57 | |
emkat | Good afternoon. I was wondering how the internal clock of the LiteDRAM module works when using the simsoc target. The simsoc sets the internal clock frequency to 100 MHz by default, but where and how exactly is that 100 MHz clock created? It is my guess that it is somehow derived from the (default) 1 MHz system clock, but I was unable to find where this happens. | 12:59 |
somlo | _florent_: any recent success programming the ecpix5 with openocd? If you scroll up a bit I posted some logs of what I'm seeing -- used to work a few weeks ago, now I can't seem to get it to work; not sure if I'm screwing up something subtle enough that I can't notice, or if anything changed... | 13:02 |
_florent_ | somlo: Sorry, saw it yesterday but forgot to answer today :) | 13:03 |
_florent_ | somlo: So you are not able to load the bitstream with OpenOCD? | 13:04 |
somlo | _florent_: this https://pastebin.com/cJ7QiUQB is what I see on the terminal, and nothing happens with the board; also, this https://pastebin.com/Pj5wB64R is what I get in dmesg before and after running openocd | 13:50 |
tpb | Title: $ openocd -f openocd_ecpix5.cfg -c 'transport select jtag; init; svf lamdaconcep - Pastebin.com (at pastebin.com) | 13:50 |
somlo | curious if this is reproducible by anyone else but me | 13:50 |
_florent_ | somlo: I'll try in 20-30 min | 13:51 |
somlo | btw, the nature of the bitstream .svf file doesn't seem to matter -- tried it with an old .svf I posted to linux-on-litex-rocket, which I know for a fact worked in the past | 13:52 |
somlo | so either I broke my board (again) when I unplugged it a few weeks ago, or (less likely) something changed in litex-boards or with openocd, or whatever | 13:53 |
_florent_ | somlo: sadly I don't think anything changed on this in last week | 13:54 |
_florent_ | weeks | 13:54 |
somlo | weird thing is when plugging in I get the usual two ttyUSB (0 and 1) devices recognized, power goes to the board, so I'm having a hard time imagining *how* I might have broken it :) | 14:08 |
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has quit IRC (Read error: No route to host) | 14:40 | |
*** Melkhior_ <Melkhior_!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has joined #litex | 14:40 | |
*** ilia__s0 <[email protected]> has joined #litex | 14:43 | |
*** ilia__s <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 14:45 | |
*** ilia__s0 is now known as ilia__s | 14:45 | |
*** ilia__s4 <[email protected]> has joined #litex | 14:52 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 14:53 | |
*** TMM_ <[email protected]> has joined #litex | 14:53 | |
*** ilia__s <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 14:54 | |
*** ilia__s <[email protected]> has joined #litex | 14:55 | |
*** ilia__s4 <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 14:57 | |
*** peeps <peeps!~peepsalot@openscad/peepsalot> has joined #litex | 15:15 | |
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 256 seconds) | 15:17 | |
acathla | somlo, I don't know how it's wired on the icebreaker, but on the lattice up5k breakout board, with the same FTDI, I also have two ttyUSB but none are usable for an uart in litex, so I use an external one. | 16:47 |
*** indy <[email protected]> has quit IRC (Read error: Connection reset by peer) | 17:00 | |
*** indy <[email protected]> has joined #litex | 17:01 | |
somlo | acathla: the weird thing is that the ecpix5 worked great for *weeks*; then I unplugged it for the last two weeks (cleaning up and moving stuff around in my office), now it no longer works | 17:12 |
gatecat | it sounds like something changing in openocd tbh | 17:13 |
gatecat | could you try reverting the openocd version to an older package ? | 17:13 |
somlo | so either I broke it (but then why the heck can it still speak usb on both jtag and uart, ttyUSB0 *and* ttyUSB1) to the linux host?!?), or something changed (not in litex-boards, but maybe some other related bit of software or library or something) | 17:13 |
somlo | gatecat: I might have updated my fedora once while the ecpix5 card was packed away, but `dnf updateinfo list` doesn't seem to suggest openocd was part of it... In fact, openocd hasn't been updated at all since f34 was released, so that can't be it. At least not the openocd package itself, maybe one of its dependencies, who knows... | 17:19 |
gatecat | it looks suspiciously like it's reporting a syntax error in the svf command, which is very strange | 17:20 |
gatecat | the ttyUSB0 disconnected thing is normal - that's just openocd taking over from the usb serial driver on interface 0 | 17:20 |
somlo | gatecat: yeah, I noticed that on the trellisboard too (now that I started paying attention) -- and happily the trellisboard still works, so I can check the "before" and "after" I package the new yosys release as an rpm (which is why I started dusting off my ecp5 cards in the first place) | 17:22 |
somlo | * the ttyUSB0 disconnect thing, to be precise | 17:22 |
somlo | gatecat: do you have an ecpix5 (specifically, the 85k version)? If so, can *you* program a current litex .svf to it ? | 17:24 |
gatecat | unfortunately not | 17:24 |
somlo | no worries, worth a question :) | 17:25 |
somlo | http://mirror.ini.cmu.edu/litex/lambdaconcept_ecpix5.svf.xz in case anyone else reading this wants to give it a shot | 17:27 |
somlo | gatecat: re. syntax error in the .svf, I tried an old .svf posted for linux-on-litex-rocket which worked when I uploaded it, so I have no reason to believe recent generated .svf files are somehow broken where they weren't earlier | 17:29 |
tnt | somlo: in https://pastebin.com/cJ7QiUQB the svf filename is wrong. | 17:32 |
tpb | Title: $ openocd -f openocd_ecpix5.cfg -c 'transport select jtag; init; svf lamdaconcep - Pastebin.com (at pastebin.com) | 17:32 |
tnt | missing the 'b' of lambda | 17:32 |
tnt | So ... was that the problem ? | 18:01 |
somlo | tnt: thanks! I suspected it's something silly that I'm perceptually unable to notice (I once spent a few days chasing a missing semicolon in some code I was working on :) ) | 18:01 |
somlo | would have been nice if openocd threw a more useful error message (such as "I can't find your file named <foo>"), but since it turns out my board isn't broken after all, I'm willing to forgive it for that :D | 18:03 |
somlo | thanks for spoting my typo for me, and sorry to everyone for the noise :D | 18:03 |
tnt | hehe. Yeah, when I saw the help message, I thought "Ok ... what would make it believe that this is not a <file> ..." | 18:04 |
tcal | _florent_: Thanks! So once you do the `self.specials += Instance("xxxx", self.xxx_params)`, you can't modify i/o/p. But if you hold off doing that until the very end, then `self.xxx_params` can be tweaked between the time it is created and the finalization step. | 19:27 |
tcal | _florent_: So, for the CFU, instead of doing it like this: https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/vexriscv/core.py#L299-L315, I should create a `self.cfu_params` that can be updated, and then not actually add the CFU as a special until finalization. | 19:28 |
tcal | ....if I understand correctly.. | 19:32 |
tnt | _florent_: I'm looking at the jesd example you provided last week. The S7MMCM and the BUFGMUX are not really needed right ? If I don't need any dynamic way to change the user clock freq. | 19:37 |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 20:12 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex | 20:16 | |
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds) | 21:32 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!