Hi,
I am trying to run the pre-built hello-world executable for ARM on
gem5 in full-system mode with the bare-metal option. However, I get this
error message : "Can't find a path to system files."
I have tried setting --dtb-file option to None to work-around this but it
didn't help. Here is the detail of steps that I am following:
Gem5 Build:
scons CPU_MODELS="AtomicSimpleCPU,O3CPU,TimingSimpleCPU" build/ARM/gem5.opt -j13
Bare-Metal Execution:
./build/ARM/gem5.opt configs/example/fs.py --bare-metal
--kernel=tests/test-progs/hello/bin/arm/linux/hello
And I get the following error message:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/wali/m5/gem5-stable/src/python/m5/main.py", line 388, in main
exec filecode in scope
File "configs/example/fs.py", line 327, in <module>
test_sys = build_test_system(np)
File "configs/example/fs.py", line 102, in build_test_system
external_memory=options.external_memory_system)
File "/home/wali/m5/gem5-stable/configs/common/FSConfig.py", line 249, in
makeArmSystem
self.cf0.childImage(mdesc.disk())
File "/home/wali/m5/gem5-stable/configs/common/Benchmarks.py", line 62,
in disk
return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img'))
File "/home/wali/m5/gem5-stable/configs/common/SysPaths.py", line 44, in
disk
system()
File "/home/wali/m5/gem5-stable/configs/common/SysPaths.py", line 69, in
system
raise IOError, "Can't find a path to system files."
IOError: Can't find a path to system files.
It seems that Gem5 is looking for disk-image file to boot the application.
Is there a way to circumvent this problem?
*I basically want to execute a bare-metal ARM application on Gem5 in
full-system mode.*
I'll be grateful for any help!
Thanks!
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users