Replies: 4 comments 2 replies
-
Is It seems that you try to access the I have no experience with SE mode, since I do only full system simulation. However, I guess that in SE mode, you are only in the user mode, since the OS is emulated by your host computer. Therefore, you will never be able to access |
Beta Was this translation helpful? Give feedback.
-
Yes, You are saying right @robhau I have find this is only way that if I run gem5 in Full system mode then I can access the mstatus in the machine mode. @robhau can you give me full_system python script and which command you are running. |
Beta Was this translation helpful? Give feedback.
-
No I have downloaded it from the git repo and then i generate the hex file
using the toolchain and then run ingem5 as a workload.
…On Thu, May 16, 2024 at 1:16 PM Robert Hauser ***@***.***> wrote:
Is coremark.bare.riscv a program written by you? I only have hello in
tests/test-progs/hello/bin/riscv/linux/.
—
Reply to this email directly, view it on GitHub
<#1132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCCAVRRAFRINUQ5AEQS7L4DZCRTNRAVCNFSM6AAAAABHWKBESGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TINJUHAYDE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. I am going to see this tutorial and let you know.Thank you
…On Fri, May 17, 2024 at 11:19 AM Robert Hauser ***@***.***> wrote:
I suggest you this tutorial <https://five-embeddev.com/baremetal/intro/>
for RISC-V bare metal programming.
—
Reply to this email directly, view it on GitHub
<#1132 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCCAVRRJNMZDNM7OIVV5V3DZCWOPFAVCNFSM6AAAAABHWKBESGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TINRWGIYTQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
command i run :./build/RISCV/gem5.opt ./configs/example/se.py -c tests/test-progs/hello/bin/riscv/linux/coremark.bare.riscv
Beta Was this translation helpful? Give feedback.
All reactions