What if you try "aarch64-ubuntu-trusty-headless.img" disk image instead of "inaro-minimal-aarch64.img"?
Mohammad On Tue, Jul 14, 2015 at 5:08 AM, Konstadinos PARASYRIS <[email protected]> wrote: > Dear Gem5 Users, > > I am trying to run a 64-bit full system simulation. I execute the > following command : > > ./build/ARM/gem5.opt -r -d test configs/example/fs.py > --kernel=/PATH/Gem5_Dev/system/binaries/vmlinux.aarch64.20140821 > --machine=VExpress_EMM64 > --dtb-file=/PATH/Gem5_Dev/system/binaries/vexpress.aarch64.20140821.dtb > --disk-image=linaro-minimal-aarch64.img --script=./script.sh > > The contents of the script.sh file are the following: > > #!/bin/bash > echo "HELLO WORLD" > ls > m5 exit > > The simulator boots up fine, although it takes some reasonable time. > However neither the "echo" command is executed nor the "ls". At the end the > simualtion terminates because of the m5 exit instruction. > > The output of the simout is the following: > > **** REAL SIMULATION **** > warn: Existing EnergyCtrl, but no enabled DVFSHandler found. > info: Entering event queue @ 0. Starting simulation... > warn: SCReg: Writing 0 to dcc0:site0:pos0:fn7:dev0 > warn: Tried to read RealView I/O at offset 0x60 that doesn't exist > warn: Tried to read RealView I/O at offset 0x48 that doesn't exist > warn: Tried to read RealView I/O at offset 0x8 that doesn't exist > warn: Tried to read RealView I/O at offset 0x48 that doesn't exist > Exiting @ tick 51080808874500 because m5_exit instruction encountered > > and the last lines of the system.terminal are: > > [ 3.411025] TCP: cubic registered > [ 3.411026] NET: Registered protocol family 17 > [ 3.411205] VFS: Mounted root (ext2 filesystem) on device 8:1. > [ 3.411215] devtmpfs: mounted > [ 3.411223] Freeing unused kernel memory: 208K (ffffffc000692000 - > ffffffc0006c6000) > INIT: version 2.88 booting > Starting udev > [ 3.446942] udevd[607]: starting version 182 > Starting Bootlog daemon: bootlogd. > [ 3.532260] random: dd urandom read with 19 bits of entropy available > Populating dev cache > net.ipv4.conf.default.rp_filter = 1 > net.ipv4.conf.all.rp_filter = 1 > hwclock: can't open '/dev/misc/rtc': No such file or directory > Mon Jan 27 08:00:00 UTC 2014 > hwclock: can't open '/dev/misc/rtc': No such file or directory > INIT: Entering runlevel: 5 > Configuring network interfaces... udhcpc (v1.21.1) started > [ 3.640781] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow > Control: None > Sending discover... > Sending discover... > Sending discover... > No lease, forking to background > done. > Starting rpcbind daemon...rpcbind: cannot create socket for udp6 > rpcbind: cannot create socket for tcp6 > done. > rpcbind: cannot get uid of '': Success > creating NFS state directory: done > starting statd: done > Starting auto-serial-console: done > > > Any idea why I cant execute any bash command on the simulator. I have also > tried the -b option and the results are the same. > > Konstantinos Parasyris. > > > > > > > > _______________________________________________ > 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
