litex-hub / linux-on-litex-vexriscv

Linux on LiteX-VexRiscv
BSD 2-Clause "Simplified" License
551 stars 174 forks source link

Unsupported ISA substring '2p0_ma' #333

Closed kaminto-1999 closed 1 year ago

kaminto-1999 commented 1 year ago

I ran into this trouble when running ./sim.py. When I check the meson-logs.txt file, I got this message: image Is there anyone having the same problem as me? Or known how to fix it Thank a lot !

Dolu1990 commented 1 year ago

Hi, Which version of riscv64-unknown-elf-gcc do you have ?

jeremy-heath commented 1 year ago

I had to use one of the sifive compilers https://github.com/sifive/freedom-tools/releases

Dolu1990 commented 1 year ago

What do you get if you do riscv64-unknown-elf-gcc --version ?

kaminto-1999 commented 1 year ago

What do you get if you do riscv64-unknown-elf-gcc --version ? It said that v8.1.0. I got this version when running this command "wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz" image

kaminto-1999 commented 1 year ago

I have updated RISC-V Toolchain from SiFive compiler and it can run through the error at this moment. But my terminal will close after running for a while. It always stops at this notification image