Tao, I really appreciate your help. I tried with both arm.boot and vmlinux 
still no change.
 when I try vmlinix
I get:

 info: kernel located at: 
/home/pm/full_system_images/binaries/vmlinuz.arm.smp.fb.2.6.38.8
fatal: Could not load kernel file 
/home/pm/full_system_images/binaries/vmlinuz.arm.smp.fb.2.6.38.8
 @ cycle 0
[System:build/ARM/sim/system.cc, line 124]

line 124
 if (kernel == NULL)
                fatal("Could not load kernel file %s", params()->kernel);

When I try arm.boot  I write:sudo build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/pm/full_system_images/disks/arm-ubuntu-natty-headless.img 
--kernel=/home/pm/full_system_images/binaries/boot.arm

and here is what I get:

warning: No header file specified for SimObject: Switch
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Nov 21 2012 07:56:11
gem5 started Nov 24 2012 12:27:32
gem5 executing on ubuntu
command line: build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/pm/full_system_images/disks/arm-ubuntu-natty-headless.img 
--kernel=/home/pm/full_system_images/binaries/boot.arm
Global frequency set at 1000000000000 ticks per second
info: kernel located at: /home/pm/full_system_images/binaries/boot.arm
fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
 @ cycle 0
[ArmSystem:build/ARM/arch/arm/system.cc, line 62]
Memory Usage: 290192 KBytes

I looked at line 62 but it is only a header: #include "mem/physical.hh"

So, I don't know what to do now. Could someone help me please?

Thank you,
Parnian
________________________________
From: [email protected] [[email protected]] on behalf of 
Tao Zhang [[email protected]]
Sent: Saturday, November 24, 2012 11:58 AM
To: 'gem5 users mailing list'
Subject: Re: [gem5-users] can't load the kernel ( successfully changed the 
kernel location and am using sudo)

Kernel should be a file (e.g., vmlinux) but not a directory.

-Tao

From: [email protected] [mailto:[email protected]] On 
Behalf Of [email protected]
Sent: Saturday, November 24, 2012 11:57 AM
To: [email protected]
Subject: [gem5-users] can't load the kernel ( successfully changed the kernel 
location and am using sudo)

I changed the destination address for kernel but still I get could not load the 
kernel file.
Here is the whole thing:

pm@ubuntu:~/gem5$ sudo build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/pm/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img  
--kernel=/home/pm/full_system_for_gem5/binaries
warning: No header file specified for SimObject: Switch
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Nov 21 2012 07:56:11
gem5 started Nov 24 2012 08:46:29
gem5 executing on ubuntu
command line: build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/pm/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img 
--kernel=/home/pm/full_system_for_gem5/binaries
Global frequency set at 1000000000000 ticks per second
info: kernel located at: /home/pm/full_system_for_gem5/binaries
fatal: Could not load kernel file /home/pm/full_system_for_gem5/binaries
 @ cycle 0
[System:build/ARM/sim/system.cc, line 124]
Memory Usage: 290188 KBytes

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to