Reference this guide http://gem5.org/ARM_Linux_Kernel , I made linux kernel for ARM and run it using gem5.debug. Running failed with error log as following.
The key point is that packet->isError() return true. What's meaning of this method? How do I configure gem5 or linux kernel so that I can start simulation? Thanks. Error message: ~/src/gem5-stable $ build/ARM/gem5.debug configs/example/fs.py --kernel=vmlinux --caches --cpu-type=minor --dtb-file=vexpress-v2p-ca15-tc1-gem5.dts --disk-image=rootfs.img gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled Nov 5 2015 11:15:35 gem5 started Nov 18 2015 17:04:48 gem5 executing on kail-kern command line: build/ARM/gem5.debug configs/example/fs.py --kernel=vmlinux --caches --cpu-type=minor --dtb-file=vexpress-v2p-ca15-tc1-gem5.dts --disk-image=rootfs.img Global frequency set at 1000000000000 ticks per second warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) info: kernel located at: /home/kail/test/ARM/binaries/vmlinux Listening for system connection on port 5900 Listening for system connection on port 3456 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 info: Using bootloader at address 0x10 info: Using kernel entry physical address at 0x80008000 warn: DTB file specified, but no device tree support in kernel **** 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 read to address 0x101f1018 size=4 fatal: Received error response packet for inst: 0/12.4/25/113.116 pc: 0x8001a098 (ldr) @ tick 1429000 [handleMemResponse:build/ARM/cpu/minor/execute.cc, line 349] Memory Usage: 772696 KBytes Program aborted at cycle 1429000 Aborted (core dumped) -Kaiyuan
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users