_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
peeps[zen] has quit [Read error: Connection reset by peer]
peeps[zen] has joined #litex
Degi has quit [Ping timeout: 260 seconds]
Degi has joined #litex
proteusguy has quit [Ping timeout: 258 seconds]
proteusguy has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala_ has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
proteusguy has quit [Ping timeout: 260 seconds]
proteusguy has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 240 seconds]
KSmith has joined #litex
midnight has quit [Ping timeout: 240 seconds]
midnight has joined #litex
<KSmith> hey guys im new to litex and have been attempting to install linux on litex vexriscv, ive been able to get the simulation to work but when i attempt to upload a prebuild onto a nexys A7 (using the nexys4ddr prebuilt) i get an OSError: Unable to find any of the cross compilation toolchains: just wondering if anyone would be able to help me out?
<KSmith> im using virtualbox with ubuntu 20.04.1 and have allowed for usb to the digilent device
<KSmith> Traceback (most recent call last):
<KSmith> line 101, in _generate_includes
<KSmith> Unable to find any of the cross compilation toolchains:
<KSmith> thats the traceback at the end of my attempt using ./make.py --board=nexys4ddr --load
<zyp> do you have any of the toolchains installed?
<KSmith> i followed the instructions on the readme for installation of the riscv toolchain, i didnt install vivado or anything else though
<zyp> can you pastebin the full error?
<tpb> Title: Untitled - Pastebin.com (at pastebin.com)
<zyp> which toolchain did you install?
<KSmith> i only installed the riscv toolchain from the readme which i beleive is the risc64-unknown-elf
<zyp> do you get anything if you try tabcompleting riscv?
<zyp> if it's properly installed, you should get something like this: https://paste.jvnv.net/view/FanYV
<tpb> Title: JVnV Pastebin View paste – Untitled (at paste.jvnv.net)
<KSmith> i dont know what tabcompleting is, ill start googling it and see if i can do it
<zyp> type riscv in the shell and hit the tab key once or twice
<zyp> if you got any commands starting with what you typed, you'll get a list of them
<zyp> and if you get nothing, you don't have the toolchain properly installed and added to PATH
<KSmith> ok so when i type riscv and pres tab it auto completes to riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/
<zyp> that's a directory, not an executable
<KSmith> correct it says its a directory when i press enter, if i type riscv and press tab 3 times i get https://pastebin.com/QRDagqJv
<tpb> Title: Untitled - Pastebin.com (at pastebin.com)
<KSmith> so is it possible that i downloaded it and not install it?
<zyp> yes
<zyp> it might work to just do something like this: export PATH=$PATH:~/linux-on-litex-vexriscv/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
<KSmith> when doing it before i did use the command export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/, would that have still worked?
<zyp> yes, that's equivalent
<KSmith> ive deleted both folders(The tar.gz and the folder created from the tar instruction) and attempted the riscv installation again from the start and tried both exports and unfortunately its still not working,
<acathla> KSmith, the export is only valid for the terminal where is was used, and of course does not survive a reboot.
<acathla> and $PWD is the path where you are, ~ is like $HOME (/home/ksmith for example).
<KSmith> ohh ok, i kept closing the terminal and reopening it in another folder instead of typing our the directory when i wanted to change, if i keep the terminal open i know get https://pastebin.com/1yD3rwWf when i type riscv and press tab
<tpb> Title: Possible Spam Detected - Pastebin.com (at pastebin.com)
<acathla> KSmith, that's much better. You can add the right PATH in your ~/.bashrc file so it will be available in every terminal you open.
<KSmith> i do get another error now with the device not being found, could this be a virtualbox issue or an issue that its looking for a nexas4ddr when there now called nexysA7? https://pastebin.com/WdPZbUhd
<tpb> Title: Pastebin.com - Potentially offensive content ahead! (at pastebin.com)
<KSmith> for the export does that mean when starting a new session/starting up i should run the same export command prior to uploading bitstream to the board?
<acathla> KSmith, for the export PATH, you can add the needed path to riscv binaries in your .bashrc file, so it's already added for each terminal/bash you launch
<acathla> For the error, it's probably a VirtualBox problem passing the device. If I remember well, you can add rules in virtualbox to pass an entire port to a VM
<KSmith> awesome, ill keep working on it thanks heaps zyp and acathla!
shivam has joined #litex
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
CarlFK has quit [Quit: Leaving.]
KSmith has quit [Remote host closed the connection]
<kbeckmann> did anyone port litevideo to ecp5 already or could that be worthwile to do?
KSmith has joined #litex
shivam has quit [Quit: Connection closed for inactivity]
lf has quit [Ping timeout: 240 seconds]
lf has joined #litex