Closed vinodganesan closed 6 years ago
This is usually a version mismatch between Spike and Linux. Can you try the versions tagged on the "new" branch of github.com/sifive/freedom-u-sdk?
Thanks for the reply Palmer. I will try and let you know.
On Tue, Oct 31, 2017 at 12:11 AM, Palmer Dabbelt notifications@github.com wrote:
This is usually a version mismatch between Spike and Linux. Can you try the versions tagged on the "new" branch of github.com/sifive/freedom-u-sdk ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/riscv/riscv-linux/issues/94#issuecomment-340544469, or mute the thread https://github.com/notifications/unsubscribe-auth/AOcABrB_ou4enyY9RgbDWhyC-p6hKbYhks5sxhhwgaJpZM4QKLSY .
There's a coherent set of versions tagged in freedom-u-sdk, if that doesn't work then feel free to re-open the bug.
this is a failure in my CI system, any tips on how one would root cause the issue? or, at the very least, get a trace, error msg, that I can use for triage?
edited: here's what I'm getting
core 0: 0xffffffe000161c66 (0xc01027f3) csrr a5, time core 0: exception trap_illegal_instruction, epc 0xffffffe000161c66 core 0: tval 0x0000000000000000
core 0: 0xffffffe000161c66 (0xc01027f3) csrr a5, time core 0: exception trap_illegal_instruction, epc 0xffffffe000161c66 core 0: tval 0x0000000000000000
Well, you've got the illegal instruction right there in epc. You should be able to figure out what function it's in by looking at your Linux binary, if you can upload an "riscv*-objdump -d vmlinux" then I can take a look.
Hello, I built the complete Linux environment by following the steps provided in this as well as the ones given in riscv-tools repository. I did the following steps.