Hi,

Could you try to compile the kernel with this option and give us the
output ?

EXTRA_CFLAGS=-mno-unaligned-access


On 29/11/2015 09:56, Kaiyuan wrote:
> I am stuck here by this problem.
> Does anyone have successful experiences that building Linux for ARM and 
> running it on gem5? Could you provide some details?Anything is okay about how 
> you configure and build kernel, run kernel, set options of gem5, etc. 
> Thanks for any information.
> 
> 
> -Kaiyuan 
> In 2015-11-26,Kaiyuan <[email protected]> wrote:-----Origin email-----
>  From: Kaiyuan <[email protected]>
>  Sent Time: Thursday, November 26, 2015
>  To: gem5-users <[email protected]>
>  Subject: [gem5-users] Problem when running FS gem5 in kernel for arm I build
> 
> I am trying to build kernel for ARM from source code and running it by gem5 
> FS mode.
> 
> 
> I follow this guide http://gem5.org/ARM_Linux_Kernel 
> 
> 
> But results show error like follows:
> 
> 
> ~/src/gem5-stable $ build/ARM/gem5.debug configs/example/fs.py 
> --machine-type=VExpress_EMM --mem-size=512MB --caches --cpu-type=MinorCPU 
> --kernel=vmlinux --disk-image=rootfs.img.gz
> 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 26 2015 16:09:41
> gem5 executing on kail-kern
> command line: build/ARM/gem5.debug configs/example/fs.py --mem-size=512MB 
> --caches --cpu-type=MinorCPU --kernel=vmlinux --disk-image=rootfs.img.gz
> 
> 
> 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: 772708 KBytes
> Program aborted at cycle 1429000
> Aborted (core dumped)
> 
> 
> 
> I don't know how to resolve this problem. Could anyone give me some 
> suggestions?
> Thanks!
> 
> 
> -Kaiyuan
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 

-- 
+----------------------------------------------------------+
| Pierre-Yves Péneau            |  first.last at lirmm.fr  |
| PhD student - LIRMM - Sysmic  |    + 33 4 67 41 85 85    |
| Bâtiment 4 Bureau H2.2        |    http://walafc0.org    |
+----------------------------------------------------------+

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to