Closed johnnavaj closed 3 years ago
The badaddr field (mtval) contains the faulting instruction, which appears to be a read to the CSR 0x105, which corresponds to stvec. This is supervisor read/write privilege, so that might be causing the illegal instruction.
I have built the mainline linux and passed it as a payload to BBL . Using minimal initramfs as filesystem.
I am getting a illegal instruction once i drop into the userspace , what could be the cause of this trap ?
Log as below