Thank you, specifying the --mem-size worked. However, I am now trying to 
connect a VNC viewer to the simulation, and I'm running into some problems. I 
know I must turn on true color in order to connect, but there are still errors.

I run with:

build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/scai/full_system_images/disks/android-kitkat.img 
--kernel=/home/scai/full_system_images/binaries/vmlinux-android --frame-capture 
--machine-type=RealView_PBX --mem-size=200MB --os-type=android-kitkat



And when I connect with:  vncviewer 127.0.0.1::5900 -truecolor -encodings raw, 
gem5 gives me the error:

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
warn: ClockedObject: More than one power state change request encountered 
within the same simulation tick
info: Using bootloader at address 0x80000000
info: Using kernel entry physical address at 0x8000
warn: Kernel supports device tree, but no DTB file specified
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: The csselr register isn't implemented.
warn: The ccsidr register isn't implemented and always reads as 0.
warn:     instruction 'mcr dcisw' unimplemented
warn: Not doing anything for miscreg ACTLR
warn: Not doing anything for write of miscreg ACTLR
info: VNC client attached
fatal: VNC client doesn't support true color raw encoding
 @ tick 47174413500
[setPixelFormat:build/ARM/base/vnc/vncserver.cc, line 508]
Memory Usage: 490728 KBytes
Program aborted at tick 47174413500



It still says the VNC client doesn't support true color raw encoding, even 
though I put that option.

Do you know what the problem could be?


Thanks,

Sebastian


________________________________
From: gem5-users <[email protected]> on behalf of GyeongHwan Hong 
<[email protected]>
Sent: Tuesday, July 5, 2016 8:11 PM
To: gem5 users mailing list; [email protected]
Subject: Re: [gem5-users] Problem Running Android in FS Mode

Specify your DRAM size with a flag "--mem-size".

Gyeonghwan Hong.

2016? 7? 6? (?) ?? 10:04, Sebastian Cai 
<[email protected]<mailto:[email protected]>>?? ??:

Hello All,


I have built the disk image and the kernel according to 
http://www.gem5.org/Android_KitKat and am trying to run it in full system 
simulation mode. The command line code I'm using is:

build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/scai/full_system_images/disks/android-kitkat.img 
--kernel=/home/scai/full_system_images/vmlinux-android --frame-capture 
--machine-type=RealView_PBX

However, I get the following warn and fatal:

warn: Memory size specified spans more than one region. Creating another memory 
controller for that range.
fatal: The currently selected ARM platforms doesn't support the amount of DRAM 
you've selected. Please try another platform
Does anyone know why this may be the case?


Thanks,

Sebastian

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

Gyeonghwan Hong
Ph.D Student
Embedded Software Lab.
Department of Electrical and Computer Engineering
Sungkyunkwan University
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to