Comments (13)
I think I understand the problem now; I created an opt folder while there is one in the computer directory. I will try again with this folder and see.
from neorv32.
It worked! Thanks a lot, sorry I am new to Linux so I needed sometime =D.
Kindest regards!
from neorv32.
Hey there!
Thank you very much for the nice words! :)
Regarding your issue:
I think there might be a problem with your toolchain installation. Please try running riscv32-unknown-elf-gcc -v
in your console. If this fails, the binaries of the toolchain cannot be found. Do you see riscv32-unknown-elf-gcc
(and all the other binaries) when executing ls /opt/riscv/bin
?
from neorv32.
Yes Isee them but I need to add this ~ before the path: ls ~/opt/riscv/bin
from neorv32.
I need to add this ~ before the path: ls ~/opt/riscv/bin
I'm no Linux guru, but doesn't that mean opt/riscv/bin
is in your home folder (~
= $HOME
)?
You could try modifying your PATH variable again: export PATH=$PATH:~/opt/riscv/bin
Or copy ~/opt/riscv/bin
to /opt/riscv/bin
.
from neorv32.
I think I understand the problem now; I created an opt folder while there is one in the computer directory. I will try again with this folder and see.
I'm no Linux guru, but doesn't that mean opt/riscv/bin is in your home folder (~ = $HOME)?
Seems like we had perfect timing with our responses! 😄 👍
from neorv32.
Yes we had =D
I moved the folder to /opt/riscv/bin
but still the same problem..
from neorv32.
Do you now see riscv32-unknown-elf-gcc
when running ls /opt/riscv/bin
(no tilde)?
If you cannot run riscv32-unknown-elf-gcc -v
your PATH variable might be "corrupted". Try again in a new, clean shell (export ...
and riscv32-unknown-elf-gcc -v
).
from neorv32.
This is what I receive when I run riscv32-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv32-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/opt/riscv/bin/../libexec/gcc/riscv32-unknown-elf/10.2.0/lto-wrapper
Target: riscv32-unknown-elf
Configured with: /home/stnolting/tmp/riscv-gnu-toolchain/riscv-gcc/configure --target=riscv32-unknown-elf --prefix=/tmp/riscv --disable-shared --disable-threads --enable-languages=c,c++ --with-system-zlib --enable-tls --with-newlib --with-sysroot=/tmp/riscv/riscv32-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --src=.././riscv-gcc --disable-multilib --with-abi=ilp32 --with-arch=rv32i --with-tune=rocket 'CFLAGS_FOR_TARGET=-Os -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-Os -mcmodel=medlow'
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC)
from neorv32.
That looks good! 👍
Now neorv32/sw/example/blink_led$ make check
should work as well.
from neorv32.
Still not working, maybe because my example path is:
/neorv32/sw/example/blink_led$
with a slash at the beginning?
from neorv32.
You just need to navigate (using cd
) into that folder and run make check
there.
from neorv32.
Good to hear! 👍
Thanks a lot, sorry I am new to Linux so I needed sometime =D.
No worries! Linux (and especially VMs) can be tricky sometimes. 😉
from neorv32.
Related Issues (20)
- Processor doesn't park itself in a know good state prior to going to sleep HOT 3
- Nexys 4 DDR FPGA board flashing zephyr RTOS hello_world no output on default UART HOT 11
- Atomic accesses documentation error HOT 2
- neorv32_fifo vivado implementation issue HOT 1
- Implementation problem in XILINX ISE HOT 2
- Illegal instruction in coremark HOT 5
- Utilizing on-board SRAM HOT 16
- [idea] Add indirect CSR accesses (Smcsrind ISA extension)? HOT 3
- Illegal compressed instruction reports 2 traps. HOT 7
- Variation in counter values HOT 16
- CSR reads fail for un-implemented features like HPM counters HOT 7
- Cannot upload neorv32_exe.bin for demo CFS on NexysA7 HOT 10
- Reserved compressed instructions do not trigger illegal instruction exception HOT 4
- FPU fflags no being asserted correctly HOT 15
- Instruction to halt TRNG operation HOT 2
- ERR_EXE when uploading neorv32_exe.bin for demo_blink_led on DE2-115 Board HOT 2
- FPU more fflags issues and a few logic bugs HOT 11
- Compressed instruction decoder edge case not handled HOT 3
- hpmevent_cfg_t fails synthesis for hpm_num=0 HOT 5
- c.srli HINT flagged as illegal HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neorv32.