Re: [gem5-users] Error message when trying to build ARM : Could not read bootloader

2012-11-17 Thread Jack Harvard
The error could happen due to the following reasons (by looking at 
http://grok.gem5.org/source/xref/gem5/src/base/loader/object_file.cc#createObjectFile)

1) user pmokri has no read permission of the file boot.arm
2) file not in the format Ecoff, Aout, Elf
3) mmap failed which is unlikely

On 16 Nov 2012, at 19:08, pmo...@masonlive.gmu.edu wrote:

 Hello 
 
 Thank you for your reply.
 
 I am following the youtube tutorial and when I type this : 
 build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
  
 
 I get the following error: 
 
 fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
 
 I have done all the instructions in wiki. Changed the destination in the 
 syspath.py and fs.py . When I go to /dist/m5/system/binaries$ I can see 
 boot.arm so it is there but I don't know why it doesn't load.
 
  I have changed the destination from dist/m5/system to another location, 
 but still I get the same error. 
 
 Here is the whole thing:
 
 pmokri@ubuntu:~/gem5$ build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
 
 gem5 Simulator System.  http://gem5.org
 gem5 is copyrighted software; use the --copyright option for details.
 
 gem5 compiled Nov  2 2012 15:38:10
 gem5 started Nov 15 2012 10:31:19
 gem5 executing on ubuntu
 command line: build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
 Global frequency set at 1 ticks per second
 info: kernel located at: /dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8
 fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
  @ cycle 0
 [ArmSystem:build/ARM/arch/arm/system.cc, line 62]
 Memory Usage: 284128 KBytes
 
 Thank you for your help.
 
 Parnian
 
 From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of 
 Payne, Benjamin [bpa...@lps.umd.edu]
 Sent: Friday, November 16, 2012 1:31 PM
 To: gem5 users mailing list
 Subject: Re: [gem5-users] Error message when trying to build ARM : Could not 
 read bootloader
 
 Hello,
  
 Could you post what commands you issued prior to this error? (Copy-paste the 
 output from the screen.)
  
 Thank you,
  
  
 Ben Payne
 Laboratory for Physical Sciences
 http://www.lps.umd.edu/
  
 From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
 Behalf Of pmo...@masonlive.gmu.edu
 Sent: Friday, November 16, 2012 11:29 AM
 To: gem5-users@gem5.org
 Subject: [gem5-users] Error message when trying to build ARM : Could not read 
 bootloader
  
 Hello,
  
 I am trying to build ARM using gem5.fast on a ubuntu 12.04 bit virtual 
 machine. And I get this message. Could someone advise me on how to resolve 
 this?
  
 I'd most appreciate it.
  
 Thank you,
 Best regards,
 Parnian
 ___
 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


Re: [gem5-users] Error message when trying to build ARM : Could not read bootloader

2012-11-17 Thread pmo...@masonlive.gmu.edu
Jack , Payne Thanks a lot. It was the permission.

Regards,
Parnian
 

From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of 
Jack Harvard [jack.harv...@gmail.com]
Sent: Saturday, November 17, 2012 5:48 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] Error message when trying to build ARM : Could
not read bootloader

The error could happen due to the following reasons (by looking at 
http://grok.gem5.org/source/xref/gem5/src/base/loader/object_file.cc#createObjectFile)

1) user pmokri has no read permission of the file boot.arm
2) file not in the format Ecoff, Aout, Elf
3) mmap failed which is unlikely

On 16 Nov 2012, at 19:08, pmo...@masonlive.gmu.edu wrote:

 Hello

 Thank you for your reply.

 I am following the youtube tutorial and when I type this : 
 build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

 I get the following error:

 fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm

 I have done all the instructions in wiki. Changed the destination in the 
 syspath.py and fs.py . When I go to /dist/m5/system/binaries$ I can see 
 boot.arm so it is there but I don't know why it doesn't load.

  I have changed the destination from dist/m5/system to another location, 
 but still I get the same error.

 Here is the whole thing:

 pmokri@ubuntu:~/gem5$ build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

 gem5 Simulator System.  http://gem5.org
 gem5 is copyrighted software; use the --copyright option for details.

 gem5 compiled Nov  2 2012 15:38:10
 gem5 started Nov 15 2012 10:31:19
 gem5 executing on ubuntu
 command line: build/ARM/gem5.fast configs/example/fs.py 
 --disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
 Global frequency set at 1 ticks per second
 info: kernel located at: /dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8
 fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
  @ cycle 0
 [ArmSystem:build/ARM/arch/arm/system.cc, line 62]
 Memory Usage: 284128 KBytes

 Thank you for your help.

 Parnian

 From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of 
 Payne, Benjamin [bpa...@lps.umd.edu]
 Sent: Friday, November 16, 2012 1:31 PM
 To: gem5 users mailing list
 Subject: Re: [gem5-users] Error message when trying to build ARM : Could not 
 read bootloader

 Hello,

 Could you post what commands you issued prior to this error? (Copy-paste the 
 output from the screen.)

 Thank you,


 Ben Payne
 Laboratory for Physical Sciences
 http://www.lps.umd.edu/

 From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
 Behalf Of pmo...@masonlive.gmu.edu
 Sent: Friday, November 16, 2012 11:29 AM
 To: gem5-users@gem5.org
 Subject: [gem5-users] Error message when trying to build ARM : Could not read 
 bootloader

 Hello,

 I am trying to build ARM using gem5.fast on a ubuntu 12.04 bit virtual 
 machine. And I get this message. Could someone advise me on how to resolve 
 this?

 I'd most appreciate it.

 Thank you,
 Best regards,
 Parnian
 ___
 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] Error message when trying to build ARM : Could not read bootloader

2012-11-16 Thread pmo...@masonlive.gmu.edu
Hello,

I am trying to build ARM using gem5.fast on a ubuntu 12.04 bit virtual machine. 
And I get this message. Could someone advise me on how to resolve this?

I'd most appreciate it.

Thank you,
Best regards,
Parnian
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Error message when trying to build ARM : Could not read bootloader

2012-11-16 Thread Payne, Benjamin
Hello,

Could you post what commands you issued prior to this error? (Copy-paste the 
output from the screen.)

Thank you,


Ben Payne
Laboratory for Physical Sciences
http://www.lps.umd.edu/

From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
Behalf Of pmo...@masonlive.gmu.edu
Sent: Friday, November 16, 2012 11:29 AM
To: gem5-users@gem5.org
Subject: [gem5-users] Error message when trying to build ARM : Could not read 
bootloader

Hello,

I am trying to build ARM using gem5.fast on a ubuntu 12.04 bit virtual machine. 
And I get this message. Could someone advise me on how to resolve this?

I'd most appreciate it.

Thank you,
Best regards,
Parnian
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Error message when trying to build ARM : Could not read bootloader

2012-11-16 Thread pmo...@masonlive.gmu.edu
Hello

Thank you for your reply.

I am following the youtube tutorial and when I type this : build/ARM/gem5.fast 
configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

I get the following error:

fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm

I have done all the instructions in wiki. Changed the destination in the 
syspath.py and fs.py . When I go to /dist/m5/system/binaries$ I can see 
boot.arm so it is there but I don't know why it doesn't load.

 I have changed the destination from dist/m5/system to another location, but 
still I get the same error.

Here is the whole thing:

pmokri@ubuntu:~/gem5$ build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Nov  2 2012 15:38:10
gem5 started Nov 15 2012 10:31:19
gem5 executing on ubuntu
command line: build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
Global frequency set at 1 ticks per second
info: kernel located at: /dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8
fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
 @ cycle 0
[ArmSystem:build/ARM/arch/arm/system.cc, line 62]
Memory Usage: 284128 KBytes

Thank you for your help.

Parnian


From: gem5-users-boun...@gem5.org [gem5-users-boun...@gem5.org] on behalf of 
Payne, Benjamin [bpa...@lps.umd.edu]
Sent: Friday, November 16, 2012 1:31 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] Error message when trying to build ARM : Could not 
read bootloader

Hello,

Could you post what commands you issued prior to this error? (Copy-paste the 
output from the screen.)

Thank you,


Ben Payne
Laboratory for Physical Sciences
http://www.lps.umd.edu/

From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
Behalf Of pmo...@masonlive.gmu.edu
Sent: Friday, November 16, 2012 11:29 AM
To: gem5-users@gem5.org
Subject: [gem5-users] Error message when trying to build ARM : Could not read 
bootloader

Hello,

I am trying to build ARM using gem5.fast on a ubuntu 12.04 bit virtual machine. 
And I get this message. Could someone advise me on how to resolve this?

I'd most appreciate it.

Thank you,
Best regards,
Parnian
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Error message when trying to build ARM : Could not read bootloader

2012-11-16 Thread pmo...@masonlive.gmu.edu
Hello


I am following the youtube tutorial and when I type this : build/ARM/gem5.fast 
configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

I get the following error:

fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm

I have done all the instructions in wiki. Changed the destination in the 
syspath.py. When I go to /dist/m5/system/binaries$ I can see boot.arm so it 
is there but I don't know why it doesn't load.

 I have changed the destination from dist/m5/system to another location, but 
still I get the same error. Could you help me?

Here is the whole thing:

pmokri@ubuntu:~/gem5$ build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Nov  2 2012 15:38:10
gem5 started Nov 15 2012 10:31:19
gem5 executing on ubuntu
command line: build/ARM/gem5.fast configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
Global frequency set at 1 ticks per second
info: kernel located at: /dist/m5/system/binaries/vmlinux.arm.smp.fb.2.6.38.8
fatal: Could not read bootloader: /dist/m5/system/binaries/boot.arm
 @ cycle 0
[ArmSystem:build/ARM/arch/arm/system.cc, line 62]
Memory Usage: 284128 KBytes

Parnian

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users