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 > 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