1

I'm very new in gem5. I want to run 3 simple programs ,those are difference from the other; in multi core Architecture;like a system with 3 ARM core. I set number of cpu=2 and separate 2 programs by using ";" :test1;test2 I try this code for 2 ARM core

./build/ARM/gem5.opt --stats="/home/me/me_Test/me_stat.txt" 
./configs/example/se.py --cpu-type=arm_detailed --num-cpu=**2** --caches --l2cache\-c/home /me/eslam_Test/test1/bin/ARM/test1**;**    /home/me/me_Test/me/bin/ARM/test2 

but I saw this error :

bash: /home/me/me_Test/test2/bin/ARM/test2: cannot execute binary file: Exec format error    

how can I do that??

4

1 回答 1

1

二进制文件 test1 和 test2 可能是在您的系统上构建的,它们可能具有不同的体系结构。使用交叉编译器构建二进制文件以在 ARM 上运行。

于 2015-07-20T12:48:29.227 回答