Re: [gem5-users] link m5op with PARSEC hook library for ARM ISA

2018-04-28 Thread Ciro Santilli
Have you tried include/gem5/m5ops.h ? Found with "git ls-files | grep m5ops.h", and it is included by m5.c. Alternatively, this other ARM PARSEC tutorial just defines the functions directly:

[gem5-users] link m5op with PARSEC hook library for ARM ISA

2018-04-28 Thread Xin Zhan
Hi all, I am trying to cross-compiled the PARSEC3.0 benchmark for ARM ISA, and I follow the manual in previous thread https://drive.google.com/file/d/0B1UBY1kHCnn3RGZ5NFNGa1RVMk0/view. I try to insert some gem5 pseudo instructions into PARSEC code to dump, reset stats files and write checkpoint

[gem5-users] ARM cpu-type

2018-04-28 Thread Xin Zhan
Hi all, I need to run multicore ARM processor in FS with detailed cpu mode. However in the current GEM5 version, there is a lot of options for --cpu-type: 'O3_ARM_v7a_3', 'AtomicSimpleCPU', 'ex5_big', 'DerivO3CPU', 'MinorCPU', 'HPI', 'ex5_LITTLE', 'TraceCPU', 'TimingSimpleCPU' So for my purpose,

Re: [gem5-users] ARM 4-core FS fatal error:

2018-04-28 Thread Xin Zhan
Hi Ciro, Thanks a lot for your help. I will try your setup. Thanks, Xin On Sat, Apr 28, 2018 at 3:15 PM, Ciro Santilli wrote: > I don't know what causes that problem, but here is a working setup: > https://github.com/cirosantilli/linux-kernel-module-cheat/tree/ >

Re: [gem5-users] ARM 4-core FS fatal error:

2018-04-28 Thread Ciro Santilli
I don't know what causes that problem, but here is a working setup: https://github.com/cirosantilli/linux-kernel-module-cheat/tree/0b9157c91912685b0c59773126e1c1fefc7eea84#gem5 After build, run: ./run -a aarch64 -g -c 4 and it boots correctly, and cat /proc/cpuinfo shows 4 cpus. The scripts

[gem5-users] ARM 4-core FS fatal error:

2018-04-28 Thread Xin Zhan
Hi all, I try to simulate 4-core ARM processor in FS mode. The kernel and disk I am using is from the repository http://www.gem5.org/dist/current/arm/aarchsystem201410. tar.xz. And the run command I am using is: ./build/ARM/gem5.opt configs/example/fs.py