*** tpb has joined #litex | 00:00 | |
CarlFK | kgugala: riscv64-unknown-elf-ld: cannot find ../build/software/libbase/crt0-vexriscv-ctr.o: No such file or directory | 00:36 |
---|---|---|
CarlFK | http://paste.ubuntu.com/p/b3SS3zqj7S/ | 00:37 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 00:37 |
CarlFK | oh hey, that doesn't matter: make: Nothing to be done for 'gateware/build'. | 00:55 |
CarlFK | build/gateware/top.bit is on the pi attached to the netv2 - any guess how I flash ? | 01:01 |
*** _whitelogger has quit IRC | 01:08 | |
*** Skip has quit IRC | 01:23 | |
*** _whitelogger has joined #litex | 01:26 | |
*** Degi has quit IRC | 03:25 | |
*** Degi has joined #litex | 03:27 | |
scanakci | _florent_: I noticed that I did not push some files to black-parrot repo due to gitignore structure. Can you please accept this PR (https://github.com/enjoy-digital/black-parrot/pull/2) to fix the issue. Hopefully, this will complete BP simulation and synthesis issues :). I will try again and let you know if everything works fine on my side. | 04:43 |
tpb | Title: Missing files due to gitignore by scanakci · Pull Request #2 · enjoy-digital/black-parrot · GitHub (at github.com) | 04:43 |
benh | _florent_: for running Linux in microwatt in LiteX, we'll have to also bring a XICS model to LiteX (the powerpc interrupt controller) | 07:30 |
benh | _florent_: we could either wrap the microwatt VHDL or re-implement it... though that probably means that we weon't have whatever LiteX uses normally for interrupts | 07:31 |
benh | _florent_: something I can look into at some point | 07:31 |
benh | (the one we have in microwatt is a very cut down version of the XICS which is the previous generation powerpc one... the latest one, XIVE, found in POWER9 is a giant monster) | 07:32 |
*** tommythorn has joined #litex | 08:03 | |
tommythorn | Greetings. Anyone with an NeTV2 board around? I have a mundane confusion: how do you program it? ISTM it should be possible to drive the JTAG directly from the attached Raspberry Pi | 08:04 |
*** captain_morgan has quit IRC | 09:12 | |
*** captain_morgan has joined #litex | 09:12 | |
*** futarisIRCcloud has quit IRC | 09:17 | |
xobs | There was a build failure today with Fomu, but it's probably due to something I did I shouldn't have done. | 09:43 |
xobs | Fomu has its own `system.c` that's adapted from the litex one. In there, there's a function defined `static inline void warmboot_to_image()` that calls `reboot_ctrl_write()`. But it was failing because `csr.h` now includes `system.h`, so the `reboot_ctrl_write()` function was never visible. | 09:44 |
xobs | It's my fault for putting that function there. But it just goes to show you how complex these systems are, and how they can fail in surprising ways. | 09:45 |
CarlFK | tommythorn: https://logs.timvideos.us/%23litex/%23litex.2020-05-14.log.html#t2020-05-14T07:04:35 | 11:09 |
tpb | Title: Thursday, 2020-05-14 (at logs.timvideos.us) | 11:09 |
CarlFK | "plug into an RPi so you can use openOCD..." | 11:09 |
CarlFK | I have checked out https://github.com/enjoy-digital/netv2.git, openocd, top.bit on pi plugged into netv2 | 12:14 |
CarlFK | and no idea how to drive openocd. help help. | 12:14 |
*** futarisIRCcloud has joined #litex | 12:26 | |
*** Skip has joined #litex | 13:15 | |
_florent_ | CarlFK: in https://github.com/enjoy-digital/netv2, the NetV2 is expected to be plugged the RPI and programmed with it | 14:08 |
_florent_ | on the RPI, you need to install OpenOCD and LiteX | 14:08 |
_florent_ | you can use this openocd: https://github.com/enjoy-digital/openocd | 14:09 |
tpb | Title: GitHub - enjoy-digital/openocd: Spens Official OpenOCD Mirror (no pull requests) (at github.com) | 14:09 |
CarlFK | _florent_: Openocd installed. how would I know if litex is installed? | 14:09 |
_florent_ | CarlFK: you can try to run ./netv2.py --load | 14:10 |
_florent_ | it will execute this: https://github.com/enjoy-digital/netv2/blob/master/netv2.py#L298-L302 | 14:10 |
tpb | Title: netv2/netv2.py at master · enjoy-digital/netv2 · GitHub (at github.com) | 14:10 |
CarlFK | _florent_: guessing this means it is not installed (or not in PYTHONPATH) ImportError: No module named 'migen' | 14:12 |
CarlFK | but I do see ./code/netv2-fpga/deps/migen | 14:12 |
CarlFK | this pi was setup to ... 'work with' netv2 (whatever work with means...) | 14:13 |
CarlFK | how do I install litex? | 14:14 |
*** FFY00 has quit IRC | 14:20 | |
*** FFY00 has joined #litex | 14:23 | |
*** FFY00 has quit IRC | 14:27 | |
*** FFY00 has joined #litex | 14:28 | |
_florent_ | CarlFK: you can avoid installing LiteX, but you will need so call openocd manually | 14:42 |
_florent_ | create a script like this one: https://github.com/enjoy-digital/litex/blob/master/litex/build/openocd.py#L19-L26 | 14:42 |
tpb | Title: litex/openocd.py at master · enjoy-digital/litex · GitHub (at github.com) | 14:42 |
_florent_ | and run the equivalent command: https://github.com/enjoy-digital/litex/blob/master/litex/build/openocd.py#L26 | 14:43 |
tpb | Title: litex/openocd.py at master · enjoy-digital/litex · GitHub (at github.com) | 14:43 |
_florent_ | CarlFK: if you want to install LiteX, you can follow step 2 here: https://github.com/enjoy-digital/litex/blob/master/litex/build/openocd.py#L26 | 14:44 |
tpb | Title: litex/openocd.py at master · enjoy-digital/litex · GitHub (at github.com) | 14:44 |
CarlFK | _florent_: your last paste .. isn't right | 14:45 |
_florent_ | ah sorry | 14:45 |
_florent_ | https://github.com/enjoy-digital/litex/wiki/Installation | 14:45 |
tpb | Title: Installation · enjoy-digital/litex Wiki · GitHub (at github.com) | 14:45 |
CarlFK | let me guess: new FireFox where the URL bar is 'better' | 14:45 |
_florent_ | new FireFox indeed, but not sure what i did :) | 14:50 |
*** FFY00 has quit IRC | 15:54 | |
*** FFY00 has joined #litex | 15:55 | |
tommythorn | Thanks Carl. I found this which seems to be pointing the right direction: https://github.com/enjoy-digital/netv2/blob/master/openocd/openocd.cfg | 16:06 |
tpb | Title: netv2/openocd.cfg at master · enjoy-digital/netv2 · GitHub (at github.com) | 16:06 |
tommythorn | My OrangeCrab is a r0.1 with a 85F, so I had to build my own config (trivial once you know how). It starts up fine and initializes the memory. Then lxterm proceeds to load the prebuilt-Linux images (for a long time). Alas, after --==== Liftoff! ====-- ... nothing. Suggestions? | 16:09 |
*** scanakci has quit IRC | 16:16 | |
CarlFK | _florent_: ./litex_setup.py init install --user ... ImportError: No module named 'markupsafe' | 16:24 |
somlo | so my boss has offered to buy me a new fpga dev board as a consolation prize for having me work on unrelated stuff for $DAYJOB :) And I don't think they meant I can actually splurge on something like this: https://store.digilentinc.com/netfpga-sume-virtex-7-fpga-development-board/ :) | 16:31 |
tpb | Title: NetFPGA-SUME Virtex-7 FPGA Development Board - Digilent (at store.digilentinc.com) | 16:31 |
Finde | the SUME is really a beautiful board | 16:31 |
somlo | so I'm wondering between a genesys2 (kintex, 1GB RAM) and a nexys4video (artix7, 512MB). Which one of them is more likely to have nextpnr_xilinx support first ? :) | 16:32 |
somlo | Finde: it has sodimm slots, which would take care of my resident-ram sufficient to run yosys problem :) | 16:32 |
daveshah | nexys4video, probably | 16:32 |
daveshah | Getting HPIO working on Genesys would be a bit more work on the prjxray side | 16:33 |
somlo | but asking for 6K USD for a side project is not something I want to get turned down on :) | 16:33 |
daveshah | The ZCU104 has a SODIMM and nextpnr support | 16:33 |
daveshah | but not open bitstream generation at the moment | 16:34 |
daveshah | Might be out of budget, too | 16:34 |
somlo | daveshah: thanks, nexys4video it is (I can always try to guilt trip them into getting me another one in another 6-12 months :D ) | 16:34 |
tommythorn | This is probably the most !/$ you'll find in a long time: https://twitter.com/enjoy_digital/status/1257985111469015040?s=20 | 16:34 |
Finde | I do love the genesys2 | 16:36 |
Finde | we have about 15 of them | 16:36 |
tommythorn | (I haven't checked if it can be used with and a $$$ license from Xilinx) | 16:36 |
daveshah | No license needed for any Artix-7 devices | 16:36 |
tommythorn | (Mashing that buy button ...) | 16:37 |
somlo | my uni has a vivado site license, so that's not a concern -- however I wouldn't bother with anything that doesn't have at least a decent chance of being supported by yosys/nextpnr eventually | 16:37 |
somlo | my whole *thing* is "self-hosting", anything else is a distant lower priority :) | 16:38 |
Finde | the G2 really has it all | 16:38 |
Finde | (genesys2 I mean) | 16:38 |
Finde | I can't wait for it to be supported by the open tools | 16:38 |
daveshah | It should be supported eventually | 16:39 |
somlo | so the zcu104 is a Zynq based board (the hybrid fabric + hard-IP ARM CPUs) | 16:44 |
somlo | can one access the RAM directly from the fabric if the ARM cores are left unused? | 16:45 |
somlo | hmm, I found the zcu104.py platform file in litex-boards, and there seem to be ddram pads, so that's promising | 16:47 |
somlo | looking at the board manual, there's "PL-side" for the SODIMM (up to 4GB), and "PS-side" 2GB of soldered-on memory. Wondering what PS vs. PL means... | 16:54 |
john_k[m] | Programmable Logic vs Processing System (?) | 16:55 |
john_k[m] | the ARM cores have a hard IP DDR controller, the FPGA side you have to instantiate one to access the DDR there | 16:57 |
john_k[m] | but PL can also access PS DDR through AXI (I think) | 16:57 |
somlo | right, you have to spin up your arm cores and have them access the PS DDR for you | 16:57 |
somlo | and it appears it's actually the SODIMM that's connected to the fabric, up to 4GB, nice! | 17:00 |
daveshah | Yeah, the SODIMM is on the fabric | 17:21 |
daveshah | You can totally ignore the ARM core, although the best way to get a network would be to route it through the ARM | 17:21 |
somlo | another group at where I work is looking to join a project that uses zcu104 boards, so maybe if I help them out a bit I can scavenge a board when they get bored with them... So it's now down to nexys4video vs. genesys2 (with likelihood of foss toolchain as the first priority, and ram size as a close second, favoring the G2) | 18:17 |
somlo | decisions, decisions... :D | 18:17 |
somlo | first world problems :) | 18:17 |
*** sconklin has joined #litex | 18:20 | |
*** tommythorn has quit IRC | 19:07 | |
*** Skip has quit IRC | 19:08 | |
Finde | daveshah: can you swap out the DIMMS on Alveo boards like the one you have? | 19:14 |
daveshah | Yes | 19:28 |
daveshah | Need to take off the cover but its only a couple of screws | 19:29 |
*** FFY00 has quit IRC | 19:34 | |
Finde | ok awesome | 19:38 |
Finde | we're considering buying one to use alongside our Bittware XUPP3R | 19:38 |
Finde | my other question was can you use it without being connected to the host with PCIe? does it come with a different JTAG cable or something? | 19:39 |
daveshah | Yes there is a micro USB for JTAG and UART via FT2232H | 19:39 |
daveshah | The only downside with these boards is that there is a slightly opaque BMC chip and no full schematics | 19:39 |
daveshah | e.g. I wanted to blink an LED but couldn't because the BMC seemed to have taken control of the LEDs | 19:40 |
daveshah | The best documentation for these boards (the Alveu U200/U250 and VCU1525 are effectively the same) is an old VCU1525 manual | 19:40 |
daveshah | https://www.manualslib.com/manual/1329175/Xilinx-Vcu1525.html | 19:40 |
tpb | Title: XILINX VCU1525 USER MANUAL Pdf Download. (at www.manualslib.com) | 19:40 |
john_k[m] | an FPGA card with a BMC? Like Board Management Controller? | 19:42 |
daveshah | Yes, a MSP432 micro | 19:42 |
daveshah | It doesn't do much fancy, just keeps an eye on temperatures etc and configures the power supply chips | 19:42 |
john_k[m] | huh, interesting. I had not heard of that | 19:42 |
john_k[m] | makes sense | 19:43 |
daveshah | I think it is possible to read out ID and temperature over SMBus if you have a board that connects it | 19:43 |
daveshah | Some of the really fancy Xilinx UltraScale devkits have a 7-series Zynq as BMC | 19:43 |
Finde | ok thanks that's useful | 19:46 |
Finde | yeah I thought it was basically the vcu1525 | 19:46 |
Finde | we wanted to buy one but it was exactly the point between them discontinuing vcu1525 and the u2xx not being at volume | 19:47 |
Finde | so we're reevaluating now | 19:47 |
Finde | would also be good to use the same board you're trying to support with litedram since that's what we're working on too | 19:47 |
Finde | xupp3r had some quirks | 19:47 |
*** CarlFK has quit IRC | 20:17 | |
_florent_ | Finde: i should also receive a VCU1525 in the next days (the mining version: BCU1525) | 20:18 |
_florent_ | daveshah: i was doing a quick test with the extract_xdc_pins.py script with the .xdc from the u250 but it does not seem to work correctly, should it just work with the un-modified .xdc? | 20:21 |
daveshah | No you need to remove the non-UTF-8 copyright symbol | 20:22 |
daveshah | This is the XDC I was using with it https://usercontent.irccloud-cdn.com/file/uq5J999L/alveo-u250-xdc.xdc | 20:22 |
_florent_ | ok thanks | 20:24 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!