public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot compilation
@ 2002-11-05 18:36 André Stierenberg
  2002-11-05 18:45 ` Robert Schwebel
  0 siblings, 1 reply; 14+ messages in thread
From: André Stierenberg @ 2002-11-05 18:36 UTC (permalink / raw)
  To: u-boot

Hello,

i?ve problems compiling u-boot. I use cross compiler 2.95.3. When i 
compile u-boot i get an errer that he cant finde a file called 
"mach-types.h". What could it be? How can i fix this problems? I haven?t 
found the file in my filesystem.. not in the kernel directory (2.4.18 
and 2.5.0) and not in the directory of the cross compiler!

Andr?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2002-11-05 18:36 [U-Boot-Users] u-boot compilation André Stierenberg
@ 2002-11-05 18:45 ` Robert Schwebel
  2002-11-05 18:56   ` Wolfgang Denk
       [not found]   ` <3DC813F7.3010500@gmx.de>
  0 siblings, 2 replies; 14+ messages in thread
From: Robert Schwebel @ 2002-11-05 18:45 UTC (permalink / raw)
  To: u-boot

On Tue, Nov 05, 2002 at 07:36:24PM +0100, Andr? Stierenberg wrote:
> i?ve problems compiling u-boot. I use cross compiler 2.95.3. When i 
> compile u-boot i get an errer that he cant finde a file called 
> "mach-types.h". What could it be? How can i fix this problems? I haven?t 
> found the file in my filesystem.. not in the kernel directory (2.4.18 
> and 2.5.0) and not in the directory of the cross compiler!

mach-types.h should be in the include/asm-arm/ directory of your kernel
tree. Are you sure you have installed a correct toolchain and kernel
source? 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2002-11-05 18:45 ` Robert Schwebel
@ 2002-11-05 18:56   ` Wolfgang Denk
       [not found]   ` <3DC813F7.3010500@gmx.de>
  1 sibling, 0 replies; 14+ messages in thread
From: Wolfgang Denk @ 2002-11-05 18:56 UTC (permalink / raw)
  To: u-boot

In message <20021105184520.GS21366@pengutronix.de> you wrote:
>
> > i?ve problems compiling u-boot. I use cross compiler 2.95.3. When i 
> > compile u-boot i get an errer that he cant finde a file called 
> > "mach-types.h". What could it be? How can i fix this problems? I haven?t 
> > found the file in my filesystem.. not in the kernel directory (2.4.18 
> > and 2.5.0) and not in the directory of the cross compiler!
> 
> mach-types.h should be in the include/asm-arm/ directory of your kernel
> tree. Are you sure you have installed a correct toolchain and kernel
> source? 

No. No file "mach-types.h" is needed anywhere in  the  U-Boot  source
code.  If  the compiler thinks it needs it (and cannot find it), then
the cross compiler is misconfigured.

Get a working set of tools. 

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
       [not found]   ` <3DC813F7.3010500@gmx.de>
@ 2002-11-05 19:14     ` Robert Schwebel
       [not found]       ` <3DC81E93.7090808@gmx.de>
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Schwebel @ 2002-11-05 19:14 UTC (permalink / raw)
  To: u-boot

On Tue, Nov 05, 2002 at 07:54:47PM +0100, Andr? Stierenberg wrote:
> What erne and toolchain version are you using?

2.95.3. It seems like you are doing something substancially wrong - can
you tell us what you did? 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
       [not found]       ` <3DC81E93.7090808@gmx.de>
@ 2002-11-05 20:20         ` Robert Schwebel
  2002-11-06  7:54           ` Holger Schurig
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Schwebel @ 2002-11-05 20:20 UTC (permalink / raw)
  To: u-boot

Andre, 

Please include the list in your replies. 

On Tue, Nov 05, 2002 at 08:40:03PM +0100, Andr? Stierenberg wrote:
> i have used the toolchain 2.95.3 from www.arm.linux.org.uk. I have
> installed in in /usr/local/arm like discribed in the README file..

My impression when I looked at this toolchain for the last time was that
it is only a stage 1 toolchain - at least this is what the build script
generates.

> then i did a make lubbock_config and make all i n the u-boot direkctory. 
> At some point there comes a errer message that the file mach-types.h is 
> missing what is needed by hardware.h in the toolchain.

Could you cut-and-paste the error message plus some context? It's a
little bit difficult to find out what happens if you don't give us more
information. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2002-11-05 20:20         ` Robert Schwebel
@ 2002-11-06  7:54           ` Holger Schurig
  0 siblings, 0 replies; 14+ messages in thread
From: Holger Schurig @ 2002-11-06  7:54 UTC (permalink / raw)
  To: u-boot

> On Tue, Nov 05, 2002 at 08:40:03PM +0100, Andr? Stierenberg wrote:
> > i have used the toolchain 2.95.3 from www.arm.linux.org.uk. I have
> > installed in in /usr/local/arm like discribed in the README file..
>
> My impression when I looked at this toolchain for the last time was that
> it is only a stage 1 toolchain - at least this is what the build script
> generates.

Not sure what you've meant, but I'm using the 2.95.3 from www.arm.linux.org.uk 
to compile armboot, now with my u-boot tries. I used it with Linux up to 
2.4.17, now I'm using 3.2 (from the same location). It does NOT work with 
redboot.

One thing that one has to do with this 2.95.3 right is the installation 
location. It has to be /usr/local/arm/2.95.3 so that your PATH is 
/usr/local/arm/2.95.3/bin:$PATH

-- 
MN-Logistik GmbH         http://www.mn-logistik.de
Holger Schurig
Dieselstr. 18
61191 Rosbach v.d.H?he
Tel: 06003/9141-0        Fax: 06003/9141-49

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
@ 2002-11-06  8:23 Marius Gröger
  2002-11-06  8:53 ` Robert Schwebel
  0 siblings, 1 reply; 14+ messages in thread
From: Marius Gröger @ 2002-11-06  8:23 UTC (permalink / raw)
  To: u-boot

Robert Schwebel <robert@schwebel.de> schrieb am 05.11.02 21:22:47:
> > i have used the toolchain 2.95.3 from www.arm.linux.org.uk. I have
> > installed in in /usr/local/arm like discribed in the README file..
> 
> My impression when I looked at this toolchain for the last time was that
> it is only a stage 1 toolchain - at least this is what the build script
> generates.

What do you mean here - what else than stage 1 can a
cross compiler be?!

Regards,
Marius.

________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2002-11-06  8:23 Marius Gröger
@ 2002-11-06  8:53 ` Robert Schwebel
  0 siblings, 0 replies; 14+ messages in thread
From: Robert Schwebel @ 2002-11-06  8:53 UTC (permalink / raw)
  To: u-boot

On Wed, Nov 06, 2002 at 09:23:52AM +0100, Marius Gr?ger wrote:
> What do you mean here - what else than stage 1 can a cross compiler
> be?!

Normally when you build a toolchain you first have to build a compiler
which is able to work without glibc headers (needs only to have C
support). Then you use it to build glibc and afterwards you recompile
your compiler with glibc support and whatever languages you need. 

At least that was the only way I could manage to build a working
toolchain. If you just build a toolchain with faked glibc headers you
will not be able to compile more than the kernel with it. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
@ 2002-11-06  9:34 Marius Gröger
  0 siblings, 0 replies; 14+ messages in thread
From: Marius Gröger @ 2002-11-06  9:34 UTC (permalink / raw)
  To: u-boot

Robert Schwebel <robert@schwebel.de> schrieb am 06.11.02 10:03:44:
> On Wed, Nov 06, 2002 at 09:23:52AM +0100, Marius Gr?ger wrote:
> > What do you mean here - what else than stage 1 can a cross compiler
> > be?!
> 
> Normally when you build a toolchain you first have to build a compiler
> which is able to work without glibc headers (needs only to have C
> support). Then you use it to build glibc and afterwards you recompile
> your compiler with glibc support and whatever languages you need. 

Gotcha... I thought you were referring to gcc's terminology
of "stages". There, anything higher thant stage 1 is
compiled by itself which obviously won't work cross.

What you call stage1 is sometimes (and in Elinos, too) called
a "bootstrap gcc".

However: u-boot should be compilable with such a bootstrap
gcc, as it should not be dependent on glibc. (It is
bad enogh for it to be so dependent on several Linux
headers, but that is a compromise to be able to reuse
code from Linux - we had that before).
 
Regards,
Marius.

________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
@ 2006-08-05  9:52 nilgosavi
  2006-08-05 22:17 ` Wolfgang Denk
  2006-08-07 11:52 ` nilgosavi
  0 siblings, 2 replies; 14+ messages in thread
From: nilgosavi @ 2006-08-05  9:52 UTC (permalink / raw)
  To: u-boot


Hi,
I want to compile u-boot for board db64460 using MPC74448(PPC). Which
toolchain should i go for. From where i can download it.How to go about
compilation of u-boot with that toolchain.Ptease help....
Thanks
Nilesh Gosavi
-- 
View this message in context: http://www.nabble.com/u-boot-compilation-tf2055294.html#a5662810
Sent from the Uboot - Users forum at Nabble.com.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2006-08-05  9:52 nilgosavi
@ 2006-08-05 22:17 ` Wolfgang Denk
  2006-08-05 23:02   ` Wolfgang Denk
  2006-08-07  7:33   ` Zang Roy-r61911
  2006-08-07 11:52 ` nilgosavi
  1 sibling, 2 replies; 14+ messages in thread
From: Wolfgang Denk @ 2006-08-05 22:17 UTC (permalink / raw)
  To: u-boot

In message <5662810.post@talk.nabble.com> you wrote:
> 
> I want to compile u-boot for board db64460 using MPC74448(PPC). Which

I never heard about this processor. Are you sure the name is correct?

> toolchain should i go for. From where i can download it.How to go about
> compilation of u-boot with that toolchain.Ptease help....

Assuming  you  mean  MPC8448,  then  you  can  for  example  use  the
"ppc_74xx"  packacges of ELDK 4.0; all the remaining questions should
be answered by the manual (DULG).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He had been eight years upon a project for extracting sunbeams out of
cucumbers, which were to be put in vials hermetically sealed, and let
out to warm the air in raw inclement summers.        - Jonathan Swift
              _Gulliver's Travels_ ``A Voyage to Laputa, etc.'' ch. 5

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2006-08-05 22:17 ` Wolfgang Denk
@ 2006-08-05 23:02   ` Wolfgang Denk
  2006-08-07  7:33   ` Zang Roy-r61911
  1 sibling, 0 replies; 14+ messages in thread
From: Wolfgang Denk @ 2006-08-05 23:02 UTC (permalink / raw)
  To: u-boot

In message <20060805221727.2068D35360F@atlas.denx.de> I wrote:
> 
> Assuming  you  mean  MPC8448,  then  you  can  for  example  use  the
> "ppc_74xx"  packacges of ELDK 4.0; all the remaining questions should
> be answered by the manual (DULG).

Grrgh.. of course I meant: "Assuming you mean MPC7448 ..."

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When it is incorrect, it is, at least *authoritatively* incorrect.
                                    - Hitchiker's Guide To The Galaxy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2006-08-05 22:17 ` Wolfgang Denk
  2006-08-05 23:02   ` Wolfgang Denk
@ 2006-08-07  7:33   ` Zang Roy-r61911
  1 sibling, 0 replies; 14+ messages in thread
From: Zang Roy-r61911 @ 2006-08-07  7:33 UTC (permalink / raw)
  To: u-boot


> > 
> > I want to compile u-boot for board db64460 using 
> MPC74448(PPC). Which
> 
> I never heard about this processor. Are you sure the name is correct?

I think It might be mpc7448 processor.

> 
> > toolchain should i go for. From where i can download it.How to go 
> > about compilation of u-boot with that toolchain.Ptease help....
> 
> Assuming  you  mean  MPC8448,  then  you  can  for  example  
> use  the "ppc_74xx"  packacges of ELDK 4.0; all the remaining 
> questions should be answered by the manual (DULG).
If it is mpc7448, the toolchain for ppc_74xx is OK!
Roy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [U-Boot-Users] u-boot compilation
  2006-08-05  9:52 nilgosavi
  2006-08-05 22:17 ` Wolfgang Denk
@ 2006-08-07 11:52 ` nilgosavi
  1 sibling, 0 replies; 14+ messages in thread
From: nilgosavi @ 2006-08-07 11:52 UTC (permalink / raw)
  To: u-boot


You are right ,processor is  MPC7448 not  MPC8448. Thanks for help
-- 
View this message in context: http://www.nabble.com/u-boot-compilation-tf2055294.html#a5683516
Sent from the Uboot - Users forum at Nabble.com.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-08-07 11:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 18:36 [U-Boot-Users] u-boot compilation André Stierenberg
2002-11-05 18:45 ` Robert Schwebel
2002-11-05 18:56   ` Wolfgang Denk
     [not found]   ` <3DC813F7.3010500@gmx.de>
2002-11-05 19:14     ` Robert Schwebel
     [not found]       ` <3DC81E93.7090808@gmx.de>
2002-11-05 20:20         ` Robert Schwebel
2002-11-06  7:54           ` Holger Schurig
  -- strict thread matches above, loose matches on Subject: below --
2002-11-06  8:23 Marius Gröger
2002-11-06  8:53 ` Robert Schwebel
2002-11-06  9:34 Marius Gröger
2006-08-05  9:52 nilgosavi
2006-08-05 22:17 ` Wolfgang Denk
2006-08-05 23:02   ` Wolfgang Denk
2006-08-07  7:33   ` Zang Roy-r61911
2006-08-07 11:52 ` nilgosavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox