The crash output is generated in EDK II, UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/CpuExceptionHandlerLib.c
Here we could add code showing the failing instruction. Only showing the registers is not helpful.
U-Boot creates output like:
Unhandled exception: Illegal instruction EPC: 0000000087732eb0 RA: 000000008773c092 TVAL: 00000000ffffffff EPC: 0000000080214eb0 RA: 000000008021e092 reloc adjusted
Code: f517 0006 0513 7305 b721 9002 4505 8082 (ffff ffff)
The last line can be disassembled with objcopy. See Linux' scripts/decodecode.
The crash output is generated in EDK II, UefiCpuPkg/ Library/ BaseRiscV64CpuE xceptionHandler Lib/CpuExceptio nHandlerLib. c
Here we could add code showing the failing instruction. Only showing the registers is not helpful.
U-Boot creates output like:
Unhandled exception: Illegal instruction
EPC: 0000000087732eb0 RA: 000000008773c092 TVAL: 00000000ffffffff
EPC: 0000000080214eb0 RA: 000000008021e092 reloc adjusted
Code: f517 0006 0513 7305 b721 9002 4505 8082 (ffff ffff)
The last line can be disassembled with objcopy. See Linux' scripts/decodecode.