Re: [U-Boot-Users] Trouble with Make Command

2008-07-22 Thread Rugunda, Solo
Hi

I am fairly new to Uboot. I am having trouble running the make command
from the u-boot-1.1.4/tools # prompt.

When I do a make, this is the error I get

Makefile:108: /config.mk: No such file or directory
make: *** No rule to make target `/config.mk'.  Stop.

I am told by one of the developers that I need to have the correct make
parameters and told me to try this ...make HOSTARCH=at91rm9200  
But I still get the same error

I believe that I don't have the parameters right OR I am missing
something in my make command. Do I have to say anything about the target
arch  or the cross compiler while writing the make command ?  My target
architecture is the at91rm9200 processor

Thanks



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2008 4:53 AM
To: Rugunda, Solo
Cc: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] Question about Bad CRC

In message [EMAIL PROTECTED]
you wrote:
 
 1. I think I might be making an error with the syntax. Can you verify
 that this is the exact correct syntax to fix the Bad CRC (quotations,
 colons etc)
 (or am I making an error somewhere in the syntax)
 
 #define CONFIG_PREEBOOT setenv preboot 'setenv preboot;saveenv';
---^^ typo

Try CONFIG_PREBOOT instead...

 2. And also can you verify that I would add this line in the file that
I
 am adding this line of code to is at91rm9200dk.h in

Include/configs/at91rm9200dk.h is the configuration file for the  old
evaluation  kit;  I don;t think you should meddle with this file. You
should have your own board config file instead.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
...

Please don't top post / full quote.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You have the capacity to learn from  mistakes.  You'll  learn  a  lot
today.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Trouble with Make Command

2008-07-22 Thread Jerry Van Baren
Rugunda, Solo wrote:
 Hi
 
 I am fairly new to Uboot. I am having trouble running the make command
 from the u-boot-1.1.4/tools # prompt.
 
 When I do a make, this is the error I get
 
 Makefile:108: /config.mk: No such file or directory
 make: *** No rule to make target `/config.mk'.  Stop.

Hi Solo,

Run make in your top level directory, u-boot-1.1.4, not in the tools 
subdirectory.

By the way, the prompt # indicates you are running make as root.  You 
should not need to.  Running as root for anything that doesn't need root 
access (essentially everything but host configuration) is a poor 
practice and discouraged.

HTH,
gvb

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Trouble with Make Command

2008-07-22 Thread Rugunda, Solo
Thanks Jerry and Nathan

So I built the image by running the Make with the correct cross compiler
from the uboot prompt. 

The file produced is u-boot.bin.gz

Now, How do I put this image onto my board and in the right location?


Thanks


Solo

-Original Message-
From: Jerry Van Baren [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 2:11 PM
To: Rugunda, Solo
Cc: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] Trouble with Make Command

Rugunda, Solo wrote:
 Hi
 
 I am fairly new to Uboot. I am having trouble running the make
command
 from the u-boot-1.1.4/tools # prompt.
 
 When I do a make, this is the error I get
 
 Makefile:108: /config.mk: No such file or directory
 make: *** No rule to make target `/config.mk'.  Stop.

Hi Solo,

Run make in your top level directory, u-boot-1.1.4, not in the tools 
subdirectory.

By the way, the prompt # indicates you are running make as root.  You 
should not need to.  Running as root for anything that doesn't need root

access (essentially everything but host configuration) is a poor 
practice and discouraged.

HTH,
gvb


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Trouble with Make Command

2008-07-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:49 Tue 22 Jul , Rugunda, Solo wrote:
 Thanks Jerry and Nathan
 
 So I built the image by running the Make with the correct cross compiler
 from the uboot prompt. 
 
 The file produced is u-boot.bin.gz
u-boot.bin.gz? are you sure?
It's suppose to produce a elf u-boot and u-boot.bin.
You are suppose to burn the u-boot.bin to your flash

Best Regards,
J.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Trouble with Make Command

2008-07-22 Thread Rugunda, Solo
You are right. After taking a closer look, the binaries generated are 
u-boot.bin, u-boot.srec and u-boot ,not sure why the u-boot.bin.gz is in
there tho.

Anyway, it looks like I have the correct binary files. Which one do I
burn to flash? And how do I go about putting it on the board? (new to
uboot)

Thanks. 


-Original Message-
From: Jean-Christophe PLAGNIOL-VILLARD [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 3:12 PM
To: Rugunda, Solo
Cc: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] Trouble with Make Command

On 14:49 Tue 22 Jul , Rugunda, Solo wrote:
 Thanks Jerry and Nathan
 
 So I built the image by running the Make with the correct cross
compiler
 from the uboot prompt. 
 
 The file produced is u-boot.bin.gz
u-boot.bin.gz? are you sure?
It's suppose to produce a elf u-boot and u-boot.bin.
You are suppose to burn the u-boot.bin to your flash

Best Regards,
J.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users