riscvarchive / riscv-linux

RISC-V Linux Port
606 stars 209 forks source link

Failed to boot linux kernel #83

Closed bensenq closed 7 years ago

bensenq commented 7 years ago

Does spike of the current version support boot linux kernel?

I've built bbl with linux kernel as its payload, and then run spike bbl , but no kernel or user message show up, why?

Branches:

bensenq commented 7 years ago

By the way, spike pk hello gives right message.

bensenq commented 7 years ago

The spike is in the infinite loop:

core   0: exception trap_instruction_access_fault, epc 0x0000000000000000
core   0:           badaddr 0x0000000000000000

I think it's a version mismatch.

palmer-dabbelt commented 7 years ago

There should be matching versions in github.com/sifive/freedom-u-sdk on the "new" branch, which we'll merge when we have a handful of issues sorted out. I'm going to close this.