[gem5-users] Re: About simulating simple C program in gem5 FS mode

2024-02-03 Thread sun2k23 via gem5-users
Then you can use SE mode to run every standalone executables without OS in FS mode. S2K23 At 2024-02-02 15:21:03, "elio.vinciguerra--- via gem5-users" wrote: Is it possible to simulate with only the C program, without linux underneath? I recently saw that you should use the bare-metal

[gem5-users] Re: About simulating simple C program in gem5 FS mode

2024-02-01 Thread elio.vinciguerra--- via gem5-users
Is it possible to simulate with only the C program, without linux underneath? I recently saw that you should use the bare-metal option, but I don't really understand how to use it. Elio ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe

[gem5-users] Re: About simulating simple C program in gem5 FS mode

2024-02-01 Thread sun2k23 via gem5-users
Hi, Generally, firstly you need to boot the linux on RISCV model successfully. And then you need to develop your own c application program and compile it with cross-compiler statically, then you copy the test executable to the mounted disk(The riscv OS disk, let's assume you put it on