Hi Chen, 

You should use the dev repository, and the EMM platform.
The reason you're seeing that issue is you're trying to use a kernel
compiled for a PBX system on a EMM one. You can download a EMM kernel on
the downloads page. 

Ali 

On 15.01.2013 19:58, Chen Tian wrote: 

> Hi
Ali, 
> 
> I just tried three VExpress machine types as suggested by the
command line: 
> 
> command line: ./build/ARM/gem5.opt
configs/example/fs.py --kernel=vmlinux --disk=linux-arm-ael.img
--mem-size=512MB --machine-type=VExpress_ELT 
> configs/example/fs.py 
>

> Traceback (most recent call last): 
> File "<string>", line 1, in
<module> 
> File
"/home/tianc/Research/simulator/gem5/src/python/m5/main.py", line 362,
in main 
> if options.interactive: 
> File "configs/example/fs.py", line
106, in <module> 
> bare_metal=options.bare_metal) 
> File
"/home/tianc/Research/simulator/gem5/configs/common/FSConfig.py", line
254, in makeArmSystem 
> self.realview = VExpress_ELT() 
> NameError:
global name 'VExpress_ELT' is not defined 
> 
>
--------------------------------------------------------------------------------------------------------------------------------------------

> 
> command line: ./build/ARM/gem5.opt configs/example/fs.py
--kernel=vmlinux --disk=linux-arm-ael.img --mem-size=512MB
--machine-type=VExpress_CA9 
> configs/example/fs.py 
> 
> Unknown
Machine Type 
> 
>
--------------------------------------------------------------------------------------------------------------------------------------------

> 
> tianc@tianc-testBox$ ./build/ARM/gem5.opt configs/example/fs.py
--kernel=vmlinux --disk=linux-arm-ael.img --mem-size=512MB
--machine-type=VExpress_EMM 
> warning: No header file specified for
SimObject: Switch 
> gem5 Simulator System. http://gem5.org [2] 
> gem5
is copyrighted software; use the --copyright option for details. 
> 
>
gem5 compiled Jan 10 2013 15:26:29 
> gem5 started Jan 15 2013 16:53:17

> gem5 executing on tianc-testBox 
> command line: ./build/ARM/gem5.opt
configs/example/fs.py --kernel=vmlinux --disk=linux-arm-ael.img
--mem-size=512MB --machine-type=VExpress_EMM 
> configs/example/fs.py 
>

> Global frequency set at 1000000000000 ticks per second 
> info:
kernel located at:
/home/tianc/Research/simulator/gem5/OS_images/tian-arm-system/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 
> fatal: Kernel is mapped to invalid
location (not memory). kernelStart 0x(c0008000) - kernelEnd 0x(c03839b4)

> @ cycle 773564 
> [initState:build/ARM/sim/system.cc, line 275] 
>
Memory Usage: 773564 KBytes 
> tianc@tianc-testBox$ 
> 
> It looks like
VExpress_EMM is the most promising one to execute. But I am getting this
invalid location mapping error. Any suggestions ? 
> 
> Thanks. 
> Chen

> 
> On Tue, Jan 15, 2013 at 4:13 PM, Ali Saidi <sa...@umich.edu>
wrote:
> 
>> The VExpress platform supports 2047MB of memory.
>> 
>>
Ali
>> 
>> On Jan 15, 2013, at 7:02 PM, Chen Tian <chen.t...@acm.org>
wrote:
>> 
>> > Hello,
>> >
>> > In FSconfig.py, there is a limit on
memory size:
>> >
>> > if convert.toMemorySize(mdesc.mem()) >
int(self.realview.max_mem_size):
>> > print "The currently selected ARM
platforms doesn't support"
>> > print " the amount of DRAM you've
selected. Please try"
>> > print " another platform"
>> > sys.exit(1)
>>
>
>> >
>> >
>> > If I want to use more than 256MB, can I remove this
check? I am not quite familiar with those supported ARM platforms, and
just wondering if 256MB is a hard limit for realview_xx and VExpress_xx
machines. If so, does GEM5 support any other ARM platforms that allow
more memory, say 1 or 2G?
>> >
>> > Best,
>> > Chen >
_______________________________________________
>> > gem5-users mailing
list
>> > gem5-users@gem5.org
>> >
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
>> 
>>
_______________________________________________
>> gem5-users mailing
list
>> gem5-users@gem5.org
>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
> 
>
_______________________________________________
> gem5-users mailing
list
> gem5-users@gem5.org
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]




Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[2]
http://gem5.org
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to