Hello,

I am new in using Gem5.

I followed the steps of building Android Kitkat image in Gem5 website. 
Moreover, I built linaro kernel.

--When I try to boot img I use the following command, the command failed to 
boot the img:

Command:
command line: ./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/dist/m5/system/disks/android_kitkat.img 
--kernel=/dist/m5/system/binaries/vmlinux --frame-capture 
--machine-type=RealView_PBX --mem-size=200MB --os-type=android-kitkat


Error:
 Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/othman/gem5/src/python/m5/main.py", line 400, in main
    exec filecode in scope
  File "configs/example/fs.py", line 339, 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/othman/gem5/configs/common/FSConfig.py", line 302, in 
makeArmSystem
    self.kernel = binary(default_kernels[machine_type])
  File "/home/othman/gem5/configs/common/SysPaths.py", line 49, in binary
    return searchpath(binary.path, filename)
  File "/home/othman/gem5/configs/common/SysPaths.py", line 41, in searchpath
    raise IOError, "Can't find file '%s' on path." % filename
IOError: Can't find file 'vmlinux.arm.smp.fb.2.6.38.8' on path.


--I tried to rename vmlinux. to vmlinux.arm.smp.fb.2.6.38.8, then I got this 
issue:

Listening for system connection on port 3456
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
warn: ClockedObject: More than one power state change request encountered 
within the same simulation tick
info: Using bootloader at address 0x80000000
info: Using kernel entry physical address at 0x8000
warn: Kernel supports device tree, but no DTB file specified
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: Not doing anything for miscreg ACTLR
warn: Not doing anything for write of miscreg ACTLR
warn: The clidr register always reports 0 caches.
warn: clidr LoUIS field of 0b001 to match current ARM implementations.
warn: The csselr register isn't implemented.
fatal: Unable to find destination for addr 0x1c090018 on system.iobus
 @ tick 232747500
[findPort:build/ARM/mem/xbar.cc, line 358]
Memory Usage: 427632 KBytes
Program aborted at tick 232747500
--- BEGIN LIBC BACKTRACE ---
./build/ARM/gem5.opt(_Z15print_backtracev+0x15)[0xd93fa5]
./build/ARM/gem5.opt(_Z12abortHandleri+0x36)[0xda4426]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f6e7774e330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f6e75f9fc37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f6e75fa3028]
./build/ARM/gem5.opt(_Z15__exit_epilogueiPKcS0_iS0_+0x1ec)[0x936c4c]
./build/ARM/gem5.opt(_ZN8BaseXBar8findPortEm+0x499)[0xcb8f49]
./build/ARM/gem5.opt(_ZN15NoncoherentXBar10recvAtomicEP6Packets+0x107)[0xc9b7d7]
./build/ARM/gem5.opt(_ZN6Bridge15BridgeSlavePort10recvAtomicEP6Packet+0x21)[0xc73e31]
./build/ARM/gem5.opt(_ZN12CoherentXBar10recvAtomicEP6Packets+0x6af)[0xc7aecf]
./build/ARM/gem5.opt(_ZN15AtomicSimpleCPU7readMemEmPhjj+0x56c)[0xba484c]
./build/ARM/gem5.opt(_ZN17SimpleExecContext7readMemEmPhjj+0x11)[0xbb01e1]
./build/ARM/gem5.opt(_Z13readMemAtomicI11ExecContextjESt10shared_ptrI9FaultBaseEPT_PN5Trace10InstRecordEmRT0_j+0x29)[0x14ee169]
./build/ARM/gem5.opt(_ZNK10ArmISAInst27LOAD_IMM_AY_PN_SN_UN_WN_SZ47executeEP11ExecContextPN5Trace10InstRecordE+0x11d)[0x148bf4d]
./build/ARM/gem5.opt(_ZN15AtomicSimpleCPU4tickEv+0x277)[0xba3d67]
./build/ARM/gem5.opt(_ZN10EventQueue10serviceOneEv+0xb1)[0xd9d1a1]
./build/ARM/gem5.opt(_Z9doSimLoopP10EventQueue+0x38)[0xdbcd08]
./build/ARM/gem5.opt(_Z8simulatem+0x1fb)[0xdbd28b]
./build/ARM/gem5.opt[0xb344ec]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x45f7)[0x7f6e77366af7]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f6e7736854d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f6e77366dd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7f6e77367059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)[0x7f6e77367059]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f6e7736854d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f6e77368682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7f6e77367b3e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f6e7736854d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f6e77366dd8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f6e7736854d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f6e77368682]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f6e773624b9]
--- END LIBC BACKTRACE ---
Aborted (core dumped)


Could you please advice me how to solve this issue?


 I have some doubt regarding the last step before umount android img. In this 
step, I copied the content of "kitkay_overlay" and "Gentoo stage3 tarballs" to 
the sbin directory and then I umount the img. Is it correct?






Thank you,
Rabab
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to