Hi, Andreas, Thanks for reply.
I checked http://www.m5sim.org/BBench-gem5 and there are details about how to build our own image and own kernel. That's what I'm doing now. I can build my own rootfs and system image but I have problems when I used the provided kernel 2.6.35 to boot it up. I use --frame-capture in my command line and I see the frame stuck at "android_" page. And from the m5term, I can see the error as following. My first guess is that some services in init fails. Maybe it's because the kernel version doesn't match? Or maybe I need to change the init.rcs? I don't know. So I tried to build a new version kernel to see what's going on. So my next question is: In order to build our own kernel, what kind of things should be considered? Thanks [ 17.451188] init: untracked pid 792 exited <6>request_suspend_state: wakeup (0->0) at 22634237693 (1970-01-01 00:00:22.626630991 UTC) [ 22.646837] request_suspend_state: wakeup (0->0) at 22634237693 (1970-01-01 00:00:22.626630991 UTC) <3>init: untracked pid 826 exited [ 22.647016] init: untracked pid 826 exited <3>init: untracked pid 827 exited [ 22.647046] init: untracked pid 827 exited <6>request_suspend_state: wakeup (0->0) at 27930098695 (1970-01-01 00:00:27.922491993 UTC) [ 27.942698] request_suspend_state: wakeup (0->0) at 27930098695 (1970-01-01 00:00:27.922491993 UTC) <3>init: untracked pid 880 exited [ 27.943246] init: untracked pid 880 exited <6>request_suspend_state: wakeup (0->0) at 33112891698 (1970-01-01 00:00:33.105284996 UTC) [ 33.125491] request_suspend_state: wakeup (0->0) at 33112891698 (1970-01-01 00:00:33.105284996 UTC) <3>init: untracked pid 908 exited [ 33.125686] init: untracked pid 908 exited <6>request_suspend_state: wakeup (0->0) at 37306438703 (1970-01-01 00:00:37.298831001 UTC) [ 37.319038] request_suspend_state: wakeup (0->0) at 37306438703 (1970-01-01 00:00:37.298831001 UTC) <3>init: untracked pid 938 exited [ 37.319218] init: untracked pid 938 exited <3>init: untracked pid 941 exited 2014-09-25 6:10 GMT+08:00 Andreas Hansson <[email protected]>: > Hi Xiangyang, > > Unfortunately, at the moment, the Android ICS disk image only works with > a specific version of the kernel (2.6.35 if I remember correctly). See > http://www.m5sim.org/BBench-gem5 for details. > > A more up-to-date version of both the kernel and Android should > hopefully be made available soon. > > Andreas > > From: Xiangyang Guo via gem5-users <[email protected]> > Reply-To: Xiangyang Guo <[email protected]>, gem5 users mailing list < > [email protected]> > Date: Wednesday, September 24, 2014 at 10:57 PM > To: gem5 users mailing list <[email protected]> > Subject: [gem5-users] new version kernel causes assertion fault > > Hi, > > I want to build a new version of linux kernel 3.4 for ARM ISA. I > download the source code and build it successfully. Then I copy the kernel > image (vmlinux) to the /binary directory and use the following command to > run the simulator: > > command line: ./build/ARM/gem5.opt configs/example/fs.py -b > ArmAndroid-ICS --kernel=/home/guo/arm-system-2011-08/binaries/vmlinux > > Then I got this error: > > 0: system.cpu.isa: ISA system set to: 0x6ccc400 0x6ccc400 > 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 > **** REAL SIMULATION **** > 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:468: Fault > AtomicSimpleCPU::writeMem(uint8_t*, unsigned int, Addr, unsigned int, > uint64_t*): Assertion `!pkt.isError()' failed. > Program aborted at tick 13831500 > Aborted (core dumped) > > Can anybody give a hint why this error comes? Does this mean my kernel > doesn't build correctly? Or where should I check? Thanks > > Regards > > Xiangyang > > > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2557590 > ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, > Registered in England & Wales, Company No: 2548782 >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
