[U-Boot-Users] u-boot compilation

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

André Stierenberg
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?




Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

Robert Schwebel-2
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.



Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

Wolfgang Denk
In message <20021105184520.GS21366 at 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



Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

Robert Schwebel-2
In reply to this post by Robert Schwebel-2
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.



Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

Robert Schwebel-2
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.



Reply | Threaded
Open this post in threaded view
|

[U-Boot-Users] u-boot compilation

Holger Schurig
> 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