riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

Error booting linux on Spike #214

Open asmitde opened 6 years ago

asmitde commented 6 years ago

I built a Linux image including busybox and rootfs, and a corresponding BBL. While trying to boot the bbl in spike, i get the following error: image

I checked the objdump of the BBL at address 0x80003240 which caused the trap and this is the instruction (line 3402): image

I used the following arch: rv64ima and abi: lp64. I used the following commits for the tools (following the sifive/freedom-u-sdk): image

Please help.