I compiled boot.arm from the system/arm directory in the gem5 repository and placed it in the corresponding binaries directory, but I'm currently getting an error when I try to boot
warn: Returning thumbEE disabled for now since we don't support CP14config registers and jumping to ThumbEE vectors panic: access out of bounds @ cycle 197783535000 [read:build/ARM_FS/dev/disk_image.cc, line 371] Memory Usage: 425304 KBytes Program aborted at cycle 197783535000 Aborted I'm assuming this has to do with the disc image size? I tried updating the values within FSConfig.py with the new memory size (in the makeArmSystem section of code) and overriding the value of memsize in Benchmarks.py, but then I get the following error as it boots up: mmap: Invalid argument fatal: Could not mmap! @ cycle 0 Are there other files that I should be updating? Thanks, Brian On Tue, Aug 16, 2011 at 11:39 AM, Ali Saidi <sa...@umich.edu> wrote: > 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 < > brian.le...@eecs.northwestern.edu> 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 <sa...@umich.edu> 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 >> > 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