You can use "--kernal" in the command line to specify the path for your
kernel. See configs/common/Options.py for detail.

 

-Tao

 

From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Saturday, November 24, 2012 10:31 AM
To: [email protected]
Subject: [gem5-users] Could not load kernel file
/vmlinux.arm.smp.fb.2.6.38.8

 

Hello,  

 

I was wondering if someone can help me. I used the << echo "export
M5_PATH=/home/pm/full_system_for_gem5/" >> ~/.bashrc >> but when I use
<<echo path_gem5>> all I see is <<m5_path>>  in terminal and not the address
I specified in /.bashrc file. When I look in .bashrc I can see that the line
has added to file but still when I type echo m5_path I don't see the actual
path.

 

I continued the process with youtube tutorial to build the ARM: and I change
the SysPaths:

def system(): 

    if not system.dir:

        try:

                path =
env['/home/pm/gem5/full_system_images/binaries'].split(':')

 

But on my attempt to build ARM, I get : fatal: Could not load kernel file
/dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8.

 

 Here is the whole message: 

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 23 2012 23:02:28

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.i
mg

Global frequency set at 1000000000000 ticks per second

info: kernel located at:
/dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8

fatal: Could not load kernel file
/dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8

 @ cycle 0

[System:build/ARM/sim/system.cc, line 124]

Memory Usage: 290188 KBytes

 

Could someone please help me?

 

I would most appreciate it.

 

Thank you,

Parnian

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

Reply via email to