enjoy-digital / litex

Build your hardware, easily!
Other
2.92k stars 557 forks source link

litex_bare_metal_demo on litex_sim (cva6) hanging after liftoff #1794

Open lianakoleva opened 1 year ago

lianakoleva commented 1 year ago

OS: Ubuntu 22.04.3 LTS Toolchain: riscv64-unknown-elf-gcc (g2ee5e430018) 12.2.0, riscv64-unknown-linux-gnu-gcc (g2ee5e430018) 12.2.0, etc. -> built from source with --enable-multilib configuration and make newlib linux

Screenshot from 2023-10-04 11-45-31

Potentially relevant: I am unable to generate the demo for vexriscv (error: ABI is incompatible with that of the selected emulation)

AndrewD commented 11 months ago

Try this toolchain: ./configure --prefix=/opt/riscv --enable-multilib make

You might need some makefile customization to use the Linux toolchain you built