1) Use the latest code. ARM support is in flux and rapidly evolving, you shouldn't be using anything that's not the latest. 2) The kernel you've got there is compiled with thumb2 instructions only. I've never tried a thumb2 kernel and there is probably something about the CPU coming out of reset and executing thumb2 code that is confusing it. You could either compile a kernel for arm or work on detecting that case and changing the processor state to thumb before you start execution.
Ali On Mar 24, 2011, at 9:00 PM, Digant wrote: > Hi all, > I want to run m5 in ARM fs mode. I have put kernel image with this > configuration and used the AEL cramfs from here and copied the files into 128 > MB ext2 file and rename it to ael-arm.ext2. > > But when I try to run it , it gives following error. > > /opt/m5-2e1ee8ec6266# build/ARM_FS/m5.debug -d /tmp/output > configs/example/fs.pyM5 Simulator System > > Copyright (c) 2001-2008 > The Regents of The University of Michigan > All Rights Reserved > > > M5 compiled Mar 11 2011 20:00:36 > M5 revision Unknown > M5 started Mar 24 2011 18:50:52 > M5 executing on mahdi-OptiPlex-755 > command line: build/ARM_FS/m5.debug -d /tmp/output configs/example/fs.py > Global frequency set at 1000000000000 ticks per second > info: kernel located at: /dist/m5/system/binaries/vmlinux.arm > 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 > **** REAL SIMULATION **** > info: Entering event queue @ 0. Starting simulation... > m5.debug: build/ARM_FS/arch/arm/predecoder.hh:120: void > ArmISA::Predecoder::consumeBytes(int): Assertion `offset <= sizeof(MachInst)' > failed. > Program aborted at cycle 0 > Aborted > > Thank you in advance. > > Regards, > Digant Desai. > 480-717-7851 > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
