The ARM full system files are going through a bit of a transition on
the website at the moment. You can compile boot.arm from the system/arm
directory in the gem5 repository and a more extensible set of disk
images, kernels, etc should be ready by the end of the week. 

Thanks,


Ali 

On Tue, 16 Aug 2011 11:36:48 -0700, Brian Leung  wrote:  
Thanks
for the clarification. I made a new, larger .img disc image and copied
over the base system files from the included ael-arm.ext2. I also
modified the paths in configs/common/Benchmarks.py to point to the
correct .img upon bootup. 

However, when I run it, I get the following
error: 

command line: ./build/ARM_FS/gem5.opt configs/example/fs.py

Global frequency set at 1000000000000 ticks per second 
info: kernel
located at: /dist/m5/system/binaries/vmlinux.arm 
fatal: Could not read
bootloader: /dist/m5/system/binaries/boot.arm @ cycle 0

[ArmSystem:build/ARM_FS/arch/arm/system.cc, line 66] 
Memory Usage:
408828 KBytes 

I didn't make any changes to the binaries from the
included example. I also do not see a boot.arm file in the binaries
folder, but there isn't one included in the original example on the
website and that one booted fine. Is there something that I am missing?


Thanks, 

Brian  

On Mon, Aug 15, 2011 at 6:07 PM, Ali Saidi  wrote:

The script makes disk images (files that contain both a disk partition
and a partition table. If you use a .ext2 file gem5 expects it to just
be a ext2 disk image without the partition table. You'll want the prior
not the latter and to name it with a .img extension.

 That will use a a
compact flash controller in the system instead of mapping the disk into
flat memory.

 Ali

 On Aug 15, 2011, at 3:43 PM, Brian Leung wrote:

 >
Hello,
 >
 > I am currently trying to get benchmarks to run for an ARM
system, but the included disk image is too small to hold my benchmarks.
I created a larger disk image using the "gem5img.py" script and mounted
both the new larger disc image and the original disc image to my host
system. I copied over the base files from the original disc image and my
new benchmarks to the new larger disc image.
 >
 > However, when I try
to boot the machine using my disc image, I get the following error:
 >

> mmap: Bad file descriptor
 > fatal: Could not find file:
/dist/m5/system/disks/ael-arm.ext2 @ cycle 0
 >
[PhysicalMemory:build/ARM_FS/mem/physical.cc, line 102]
 > Memory Usage:
216064 KBytes
 >
 > The file ael-arm.ext2 does exists in the correct
directory (/dist/m5/system/disks/) and is my new updated larger disc
image.
 >
 > Any help is gladly appreciated.
 >
 > Thanks,
 >
 > Brian 
> _______________________________________________
 > gem5-users mailing
list
 > gem5-users@gem5.org [2]
 >
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [3]


_______________________________________________
 gem5-users mailing
list
gem5-users@gem5.org
[4]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [5]




Links:
------
[1] mailto:sa...@umich.edu
[2]
mailto:gem5-users@gem5.org
[3]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[4]
mailto:gem5-users@gem5.org
[5]
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

Reply via email to