To run the bbench, I use the following command. $ ./build/ARM_FS/gem5.opt ./configs/example/fs.py --script=./configs/bbench/bbench.rcS However it says fatal: Could not load kernel file
I have no problem when I'm booting the android system, I use the kernel and disk image on http://gem5.org/Bbench-gem5 I'm not sure whether this is the correct way to run rcS or do I need to modify path? Thanks! xiao On Dec 18, 2011, at 11:38 PM, Anthony Gutierrez wrote: > Yes, it's advisable to use the rcS script to run bbench. Interacting with the > VNC viewer to launch bbench can be quite a long and painful process. > > -Tony > > On Sun, Dec 18, 2011 at 11:36 PM, Xiao Guo <[email protected]> wrote: > Thanks Ali! Now I saw the desktop. Should I use the rcS script to run the > bbench? > > xiao > > > On Dec 18, 2011, at 11:32 PM, Ali Saidi wrote: > >> I takes the over an hour to reach the android desktop. It will flaw the logo >> several times in this time. >> >> Ali >> >> >> >> Sent from my ARM powered device >> >> On Dec 18, 2011, at 5:26 PM, Xiao Guo <[email protected]> wrote: >> >>> Hi, >>> >>> I am trying to run bbench with android. But it flashes the android logo and >>> stops there. with the message as transaction failed. >>> transaction failed 29189, size 124-4 >>> >>> anyone knows how to resolve this? Thanks a lot! >>> >>> best >>> xiao >>> >>> >>> >>> On Dec 18, 2011, at 9:19 AM, yanke wrote: >>> >>>> I tried BBench, it has the same problem. >>>> >>>> >>>> At 2011-12-16 22:43:29,"Anthony Gutierrez" <[email protected]> wrote: >>>> That is because you are trying to run ArmAndroid, not BBench. Your command >>>> line should look like: >>>> >>>> ./configs/examples/fs.py -b bbench >>>> >>>> On Fri, Dec 16, 2011 at 2:02 AM, yanke <[email protected]> wrote: >>>> Hi Tony, thank you. I download the most new copy of gem5. When I run with >>>> the command ./build/ARM_FS/gem5.opt ./configs/example/fs.py -b ArmAndroid, >>>> it cannot open the disk file. The benchmark BBench comes into the same >>>> problem. >>>> >>>> gem5 Simulator System. http://gem5.org >>>> gem5 is copyrighted software; use the --copyright option for details. >>>> >>>> gem5 compiled Dec 16 2011 01:00:43 >>>> gem5 started Dec 16 2011 01:58:29 >>>> gem5 executing on yanke >>>> command line: ./build/ARM_FS/gem5.opt ./configs/example/fs.py -b ArmAndroid >>>> Global frequency set at 1000000000000 ticks per second >>>> info: kernel located at: >>>> /home/yanke/sde/gem5/system/arm-system-2011-08/binaries/vmlinux.arm.smp.fb.2.6.38.8 >>>> info: Using bootloader at address 0x80000000 >>>> Listening for system connection on port 5901 >>>> Listening for system connection on port 3456 >>>> panic: Error opening >>>> /home/yanke/sde/gem5/system/arm-system-2011-08/disks/ARMv7a-Gingerbread-Android.SMP.mouse.nolock.clean.img) >>>> @ cycle 0 >>>> [open:build/ARM_FS/dev/disk_image.cc, line 79] >>>> Memory Usage: 412200 KBytes >>>> Program aborted at cycle 0 >>>> Aborted (core dumped) >>>> >>>> >>>> >>>> >>>> At 2011-12-16 00:47:11,"Anthony Gutierrez" <[email protected]> wrote: >>>> 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 <[email protected]> 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" <[email protected]> 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 <[email protected]> wrote: >>>> ./build/ARM_FS/gem5.opt ./configs/examples/fs.py >>>> >>>> >>>> >>>> At 2011-11-20 22:14:28,"Anthony Gutierrez" <[email protected]> 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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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" <[email protected]> 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 list >>>>>> [email protected] >>>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> gem5-users mailing list >>>>> [email protected] >>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> [email protected] >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> [email protected] >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> [email protected] >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> [email protected] >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>>> >>>> >>>> >>>> _______________________________________________ >>>> gem5-users mailing list >>>> [email protected] >>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> gem5-users mailing list >>> [email protected] >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
