[U-Boot] compile the u-boot

Wolfgang Denk wd at denx.de
Fri Jan 13 20:34:23 CET 2012


Dear Jilin Zhou,

In message <65FA52F035A583499CF50319F9E7ADBC081F5D at EXMBX1.ott.qnx.com> you wrote:
> 
> Thanks for the reply. My host environment is Mac. Our company has a cross
> compiler toolchain  for armv7.

Meybe it has some problem?

> We use this cross compiler every day and it should be fine.

Maybe not fine enough for U-Boot ;-)

> Anywhere I made it wrong? Thanks.

I cannot see any problems either - tested with ELDK 4.2 through 5.2.

For example:

-> eldk-switch -r 5.2 armv7a
Setup for armv7a (using ELDK 5.2)
-> ./MAKEALL omap4_panda
Configuring for omap4_panda board...
panda.c: In function 'misc_init_r':
panda.c:78:2: warning: implicit declaration of function 'gpio_direction_input' [-Wimplicit-function-declaration]
panda.c:79:2: warning: implicit declaration of function 'gpio_get_value' [-Wimplicit-function-declaration]
panda.c: In function 'misc_init_r':
panda.c:78:2: warning: implicit declaration of function 'gpio_direction_input' [-Wimplicit-function-declaration]
panda.c:79:2: warning: implicit declaration of function 'gpio_get_value' [-Wimplicit-function-declaration]
   text    data     bss     dec     hex filename
 184296    4376  203648  392320   5fc80 ./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings or errors: 1 ( omap4_panda )
----------------------------------------------------------


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: wd at denx.de
I often quote myself; it adds spice to my conversation.  - G. B. Shaw


More information about the U-Boot mailing list