You need to add bbench to your ./configs/common/Benchmarks.py file. If you get the latest changeset this is already done.
-Tony On Thu, Dec 15, 2011 at 11:09 AM, yanke <ykya...@126.com> wrote: > Hi Tony, I'am sorry so late to reply you. I just follow the step at > http://www.gem5.org/Bbench-gem5. When I run ./build/ARM_FS/gem5.opt > ./configs/examples/fs.py -b ArmAndroid, I can't boot into vnc. When I run > ./build/ARM_FS/gem5.opt ./configs/examples/fs.py -b bbench, it says there > is no bbench. I use the developing repo. > > > > At 2011-11-21 10:17:31,"Anthony Gutierrez" <atgut...@umich.edu> wrote: > > I'm guessing you hard-coded the disk image and kernel into the config > scripts? But, they way I have this disk image set up you need to give it a > benchmark and corresponding rcS script. If you want to run Android with > that particular disk image you need to specify which benchmark to run. So > you would need to type something like: > > ./build/ARM_FS/gem5.opt ./configs/examples/fs.py -b ArmAndroid > > Or, to run BBench > > ./build/ARM_FS/gem5.opt ./configs/examples/fs.py -b bbench > > -Tony > > On Sun, Nov 20, 2011 at 9:01 PM, yanke <ykya...@126.com> wrote: > >> ./build/ARM_FS/gem5.opt ./configs/examples/fs.py >> >> >> >> At 2011-11-20 22:14:28,"Anthony Gutierrez" <atgut...@umich.edu> wrote: >> >> How are you running gem5? I.e., what is the command line you used? >> >> -Tony >> >> On Sun, Nov 20, 2011 at 12:14 AM, yanke <ykya...@126.com> wrote: >> >>> It stops there nearly 5 hour. I don't know how long it will continue to >>> be there. >>> >>> >>> >>> At 2011-11-20 00:17:27,"Ali Saidi" <sa...@umich.edu> wrote: >>> >>> It's probably still booting, it takes about an hour to boot android and >>> give you a splash screen. >>> >>> Ali >>> >>> On Nov 19, 2011, at 5:24 AM, yanke wrote: >>> >>> For the file system ARMv7a-Gingerbread-Android.SMP.mouse.nolock.img I >>> attach a term to it. It gave the following output. I think it misses a >>> initial script rcS in the file system. >>> [ 0.003924] EXT2-fs (sda1): warning: mounting unchecked fs, running >>> e2fsck is recommended >>> [ 0.003924] VFS: Mounted root (ext2 filesystem) on device 8:1. >>> [ 0.003925] devtmpfs: mounted >>> [ 0.003925] Freeing init memory: 132K >>> can't run '/etc/init.d/rcS': No such file or directory >>> >>> Please press Enter to activate this console. >>> >>> >>> >>> At 2011-11-19 19:14:39,yanke <ykya...@126.com> wrote: >>> >>> Thank you Gabe. I set vncviewer to full color mode and solve the >>> prolem.But I encouter the following trouble. >>> >>> use file system: arm-ubuntu-natty-headless.img >>> panic: access out of bounds >>> @ cycle 195065992500 >>> [read:build/ARM_FS/dev/disk_image.cc, line 371] >>> Memory Usage: 296516 KBytes >>> Program aborted at cycle 195065992500 >>> Aborted >>> >>> This seems my memory is too small. Then I set it to 256M, 512M from >>> 128M. The problem still exits. >>> >>> while when useing the file system >>> ARMv7a-Gingerbread-Android.SMP.mouse.nolock.img it has no error output >>> but stops at the boot logo. >>> >>> Thank you very much. >>> >>> >>> >>> At 2011-11-19 17:54:58,"Gabe Black" <gbl...@eecs.umich.edu> wrote: >>> >>> It looks like you're using a vnc client that doesn't support the type of >>> rendering gem5 is trying to use. Try another client and it may work. >>> >>> Gabe >>> >>> On 11/18/11 23:03, yanke wrote: >>> >>> When I try to control gem5 via vnc. It gives me the following errors. >>> Do I need to do some setting to vnc? >>> >>> gem5 output: >>> warn: LCD dual screen mode not supported >>> warn: Returning thumbEE disabled for now since we don't support >>> CP14config registers and jumping to ThumbEE vectors >>> warn: instruction 'mcr icialluis' unimplemented >>> info: VNC client attached >>> fatal: VNC client doesn't support true color raw encoding >>> @ cycle 2281569301000 >>> [setPixelFormat:build/ARM_FS/base/vnc/vncserver.cc, line 481] >>> Memory Usage: 298552 KBytes >>> >>> >>> vnc output: >>> Sat Nov 19 01:56:29 2011 >>> CConn: connected to host centos port 5900 >>> CConnection: Server supports RFB protocol version 3.8 >>> CConnection: Using RFB protocol version 3.8 >>> TXImage: Using default colormap and visual, TrueCol or, depth 24. >>> CConn: Using pixel format depth 3 (8bpp) rgb111 >>> CConn: Using ZRLE encoding >>> main: read: Connection reset by peer (104) >>> >>> >>> the error sames to be in here: vncserver.cc[455-482] >>> void >>> VncServer::setPixelFormat() >>> { >>> DPRINTF(VNC, "Received pixel format from client message\n"); >>> >>> PixelFormatMessage pfm; >>> read1((uint8_t*)&pfm, sizeof(PixelFormatMessage)); >>> >>> DPRINTF(VNC, " -- bpp = %d; depth = %d; be = %d\n", pfm.px.bpp, >>> pfm.px.depth, pfm.px.bigendian); >>> DPRINTF(VNC, " -- true color = %d red,green,blue max = %d,%d,%d\n", >>> pfm.px.truecolor, betoh(pfm.px.redmax), betoh >>> (pfm.px.greenmax), >>> betoh(pfm.px.bluemax)); >>> DPRINTF(VNC, " -- red,green,blue shift = %d,%d,%d\n", >>> pfm.px.redshift, >>> pfm.px.greenshift, pfm.px.blueshift); >>> >>> if (betoh(pfm.px.bpp) != pixelFormat.bpp || >>> betoh(pfm.px.depth) != pixelFormat.depth || >>> betoh(pfm.px.bigendian) != pixelFormat.bigendian || >>> betoh(pfm.px.truecolor) != pixelFormat.truecolor || >>> betoh(pfm.px.redmax) != pixelFormat.redmax || >>> betoh(pfm.px.greenmax) != pixelFormat.greenmax || >>> betoh(pfm.px.bluemax) != pixelFormat.bluemax || >>> &nbs p; betoh(pfm.px.redshift) != pixelFormat.redshift || >>> betoh(pfm.px.greenshift) != pixelFormat.greenshift || >>> betoh(pfm.px.blueshift) != pixelFormat.blueshift) >>> fatal("VNC client doesn't support true color raw encoding\n"); >>> } >>> >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing >>> listgem5-users@gem5.orghttp://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >>> >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >> >> >> >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users