Saturday, 2021-07-10

*** tpb <[email protected]> has joined #litex00:00
*** cr1901 <cr1901!~William@2601:8d:8600:911:cd9b:34f6:fa7f:1b84> has quit IRC (Quit: Leaving.)00:23
*** cr1901 <cr1901!~William@2601:8d:8600:911:cc66:33ef:2181:2e65> has joined #litex00:52
*** cr1901 <cr1901!~William@2601:8d:8600:911:cc66:33ef:2181:2e65> has left #litex00:53
*** Emantor <[email protected]> has quit IRC (Quit: ZNC - http://znc.in)01:20
*** Emantor <[email protected]> has joined #litex01:20
*** futarisIRCcloud <[email protected]> has joined #litex01:39
*** Degi_ <[email protected]> has joined #litex02:00
*** Degi <[email protected]> has quit IRC (Ping timeout: 272 seconds)02:02
*** Degi_ is now known as Degi02:02
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)02:24
*** TMM_ <[email protected]> has joined #litex02:24
*** futarisIRCcloud <[email protected]> has quit IRC (Quit: Connection closed for inactivity)03:59
*** Guest20 <Guest20!~Guest20@2601:646:8300:2460::7> has joined #litex04:38
Guest20I'm trying to install linux-on-litex on my RaspberryPi by following https://github.com/litex-hub/linux-on-litex-vexriscv#readme. I made all the way to run ./sim.py, but I hit "OSError: Unable to find any of the cross compilation toolchains:" Following log shows the error and $PATH setting. Any suggestions? Thanks! OSError: Unable to find any of the05:30
Guest20cross compilation toolchains:05:30
Guest20- riscv64-unknown-elf05:30
Guest20- riscv64-unknown-linux-gnu05:30
Guest20- riscv32-unknown-elf05:30
Guest20- riscv32-unknown-linux-gnu05:30
Guest20- riscv64-elf05:30
Guest20- riscv32-elf05:30
Guest20- riscv-none-embed05:30
Guest20- riscv-none-elf05:30
Guest20- riscv64-linux05:30
Guest20- riscv64-linux-gnu05:30
Guest20- riscv-sifive-elf05:30
Guest20- riscv64-none-elf05:30
Guest20pi@raspberrypi:~/proj/linux-on-litex-vexriscv $ echo $PATH05:30
Guest20pi@raspberrypi:~/proj/linux-on-litex-vexriscv $ ls /home/pi/proj/litex/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin05:30
Guest20riscv64-unknown-elf-addr2line  riscv64-unknown-elf-elfedit    riscv64-unknown-elf-gcc-ranlib     riscv64-unknown-elf-gprof    riscv64-unknown-elf-ranlib05:30
Guest20riscv64-unknown-elf-ar         riscv64-unknown-elf-g++        riscv64-unknown-elf-gcov           riscv64-unknown-elf-ld       riscv64-unknown-elf-readelf05:30
Guest20pi@raspberrypi:~/proj/linux-on-litex-vexriscv $ echo $PATH05:31
trabucayreGuest20: you need to update to PATH to add riscv directory05:34
Guest20Don't know why "echo $PATH" output doesn't display here, but riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin path is listed in $PATH.05:34
trabucayreexport PATH=$PATH:/home/pi/proj/litex/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin05:35
Guest20Give it another try. Here is my current setting pi@raspberrypi:~/proj/linux-on-litex-vexriscv $ echo $PATH05:35
Guest20Still does show. Let me add a quote around the ourput. "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/pi/proj/litex/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin"05:36
trabucayreI'm dumb: you use an RPI (ie arm or arm64 architecture) and try to execute riscv64 toolchain built for x86_64 architecture05:41
trabucayreyou can't do that05:41
Guest20I see. Make sense. I will try a laptop later. Thanks trabucayre!05:42
trabucayreYou can try to install riscv toolchain using pkg manager05:43
Guest20I'm new to litex. Where can I find the riscv toolchain pkg manager info? Is there a link? Thanks!05:46
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has joined #litex05:48
trabucayreIf you use RPI I assume it's debian like distribution: so something like sudo apt install cpp-riscv64-linux-gnu do the job05:49
trabucayreor gcc-riscv64-unknown-elf05:49
Guest20It doesn't work for me. I will table this for now and turn to a normal x86 platform platform to try it out. Thanks for the help!06:00
trabucayre;-)06:03
*** Guest20 <Guest20!~Guest20@2601:646:8300:2460::7> has quit IRC (Ping timeout: 246 seconds)06:14
*** geertu <[email protected]> has quit IRC (*.net *.split)06:24
*** acathla <[email protected]> has quit IRC (*.net *.split)06:24
*** _franck_ <[email protected]> has quit IRC (*.net *.split)06:24
*** trabucayre <[email protected]> has quit IRC (*.net *.split)06:24
*** shorne_ <[email protected]> has quit IRC (*.net *.split)06:24
*** aquijoule__ <[email protected]> has quit IRC (*.net *.split)06:24
*** nickoe <[email protected]> has quit IRC (*.net *.split)06:24
*** geertu <[email protected]> has joined #litex06:24
*** aquijoule__ <[email protected]> has joined #litex06:24
*** nickoe <[email protected]> has joined #litex06:24
*** acathla <[email protected]> has joined #litex06:24
*** _franck_ <[email protected]> has joined #litex06:24
*** trabucayre <[email protected]> has joined #litex06:24
*** shorne_ <[email protected]> has joined #litex06:24
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 255 seconds)06:51
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has joined #litex08:24
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 246 seconds)08:29
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has joined #litex08:46
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds)08:55
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex10:42
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 246 seconds)11:05
shorne_somlo: in litex-rebase, do you mind squashing each driver into a single commit?  It makes it easier for mee to cherry pick onto mainline and also look at patches12:12
*** shorne_ is now known as shorne12:12
*** geertu <[email protected]> has quit IRC (Ping timeout: 258 seconds)13:19
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex14:16
dasdgwhi, I want to use jtagbone for an altera target. So I added 'self.add_jtagbone()' to my target file which lead to a 'NotImplementedError'. I than modified add_jtagbone in soc.py to use JTAGAtlantic instead of JTAGPHY. After that I can use jtagbone as expected. Is it possible to use jtagbone with altera/intel targets without modifying soc.py? Feels like I'm doing it wrong. 14:18
*** Guest33 <Guest33!~Guest33@2601:646:8300:2460::7> has joined #litex14:44
*** Guest33 <Guest33!~Guest33@2601:646:8300:2460::7> has quit IRC (Client Quit)14:44
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has joined #litex14:57
*** Martoni42 <Martoni42!~Martoni@2a03:d604:101:1200:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 255 seconds)15:05
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)15:10
*** geertu <[email protected]> has joined #litex15:13
*** pftbest <[email protected]> has joined #litex15:19
*** pftbest <[email protected]> has quit IRC (Ping timeout: 258 seconds)15:23
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex15:33
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 252 seconds)17:05
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex17:14
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 252 seconds)18:40
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex19:00
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)20:02
*** TMM_ <[email protected]> has joined #litex20:02
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 255 seconds)20:09
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex20:22
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)20:24
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 255 seconds)20:35
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex20:38
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has joined #litex22:53
*** dasdgw <dasdgw!~dasdgw@2a02:8070:1c1:fbe0:51ad:a59:4027:7951> has quit IRC (Ping timeout: 255 seconds)23:11

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