I'm having problems running a full system simulation with the ARM processor.
I'm  using  the precompiled disk images from the gem5 website.


Firstly, I tried using the 32-bit version. Then I get the following error:

[lecco@shredder gem5-stable]$ ./build/ARM/gem5.opt
configs/example/fs.py --cpu-type=timing --caches --mem-size=256MB
--disk-image=/user/lecco/no_save/Downloads/arm_system/disks/aarch32-ubuntu-natty-headless.img
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 16 2014 16:47:21
gem5 started Dec 17 2014 13:47:18
gem5 executing on shredder.net.ida
command line: ./build/ARM/gem5.opt configs/example/fs.py
--cpu-type=timing --caches --mem-size=256MB
--disk-image=/user/lecco/no_save/Downloads/arm_system/disks/aarch32-ubuntu-natty-headless.img
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/user/lecco/no_save/Downloads/arm_system/binaries/vmlinux.aarch32.ll_20131205.0-gem5
Listening for system connection on port 5900
Listening for system connection on port 3456
      0: system.cpu.isa: ISA system set to: 0x3ca3080 0x3ca3080
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
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 1254122000
[findPort:build/ARM/mem/xbar.cc, line 345]
Memory Usage: 610700 KBytes
Program aborted at tick 1254122000
Aborted (core dumped)


Then, I tried the 64-bit version. This time a different problem... but
I still dont know how to fix it:

[lecco@shredder gem5-stable]$ ./build/ARM/gem5.opt
configs/example/fs.py --mem-size=256MB
--disk-image=/user/lecco/no_save/Downloads/arm_system/disks/aarch64-ubuntu-trusty-headless.img
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 16 2014 16:47:21
gem5 started Dec 17 2014 13:43:14
gem5 executing on shredder.net.ida
command line: ./build/ARM/gem5.opt configs/example/fs.py
--mem-size=256MB
--disk-image=/user/lecco/no_save/Downloads/arm_system/disks/aarch64-ubuntu-trusty-headless.img
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/user/lecco/no_save/Downloads/arm_system/binaries/vmlinux.aarch64.20140821
Listening for system connection on port 5900
Listening for system connection on port 3456
      0: system.cpu.isa: ISA system set to: 0x485bab0 0x485bab0
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
info: Using bootloader at address 0x80000000
info: Using kernel entry physical address at 0x80000
warn: Kernel supports device tree, but no DTB file specified
warn: Kernel supports generic PCI host but PCI Config offsets
configured for legacy. Set pci_cfg_gen_offsets to True
warn: Kernel supports generic PCI host but PCI IO base is set to 0.
Set pci_io_base to the start of PCI IO space
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: Device system.membus.badaddr_responder accessed by write to
address 0xffffffff size=1 data=0
gem5.opt: build/ARM/cpu/simple/atomic.cc:453: virtual Fault
AtomicSimpleCPU::writeMem(uint8_t*, unsigned int, Addr, unsigned int,
uint64_t*): Assertion `!pkt.isError()' failed.
Program aborted at tick 6832000
Aborted (core dumped)

According to the website, this setup is supposed to work... Do you
guys know what is wrong?
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to