Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RV32 bbl loader ../machine/minit.c:78: assertion failed: !(read_csr(misa) & fd_mask) #303

Open
buloruabutata opened this issue Aug 25, 2023 · 1 comment

Comments

@buloruabutata
Copy link

build steps

../configure --prefix=/home/yanyue/rv32imf_zicsr_zifencei_ilp32 --host=riscv64-unknown-elf --with-arch=rv32i_zicsr_zifencei
make

qemu steps

qemu-system-riscv32 \
  -machine virt \
  -nographic \
  -bios bbl \
  -device loader,file=$(bin),addr=0x80200000 \

error:

bbl loader
../machine/minit.c:78: assertion failed: !(read_csr(misa) & fd_mask)
Power off
@aswaterman
Copy link
Collaborator

The error message is unhelpful, but what it means is: you built a PK that assumes no FPU, but you are running it on an implementation that has an FPU. You should either build a PK that assumes FPU, or use an implementation that has no FPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants