enjoy-digital / litex

Build your hardware, easily!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

litex_bare_metal_demo on litex_sim (cva6) hanging after liftoff

lianakoleva opened this issue · comments

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)

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

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