You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcause check riscv privilege manual is Store/AMO access fault,
mtval means whether the store access fault happened, which is 0x08000000, it is the previous Nuclei DemoSoC using cpu without iregion feature(iregion feature reallocate plic/timer base address).
nuclei cpu in demosoc without iregion: plic0: interrupt-controller@8000000
nuclei cpu in evalsoc with iregion: plic0: interrupt-controller@1c000000
Issue Description and Solution
As image below described:
You can see
mcause = 0x7, mtval = 0x08000000
mcause check riscv privilege manual is Store/AMO access fault,
mtval means whether the store access fault happened, which is 0x08000000, it is the previous Nuclei DemoSoC using cpu without iregion feature(iregion feature reallocate plic/timer base address).
See https://github.com/Nuclei-Software/nuclei-linux-sdk#modify-build-configuration about evalsoc/demosoc.
So the answer is change the SOC from demosoc to evalsoc.
For example, you want to test ux900fd, then build with the following command.
Known issues
currently evalsoc can't run in qemu, if you really want to run in qemu, please change the evalsoc dts you are using like this.
The text was updated successfully, but these errors were encountered: