
Error was fixed by using another tool chain.
On Mon, Jun 15, 2009 at 4:51 PM, Yong Yang yangyong79@gmail.com wrote:
I downloaded the source tar files from the FTP site, instead of from git. My cross-compiler is arm-elf-gcc from http://www.gnuarm.org/ It seems my tool chain works, since I maked images for omap5112osk successfully.
:((( On Mon, Jun 15, 2009 at 4:16 PM, Wolfgang Denk wd@denx.de wrote:
Dear Yong Yang,
In message 737b0be30906150750j28387c06u3a7ba7ffea73682f@mail.gmail.com you wrote:
I ran into a bunch of errors related to Flash and Net (e.g. undefined reference to 'flash_init'), when building u-boot for mx31ads.
I cannot reproduce any such errors:
-> git checkout v2009.03 ... HEAD is now at e60beb1... Prepare 2009.03 -> ./MAKEALL mx31ads Configuring for mx31ads board... text data bss dec hex filename 179720 4560 25228 209508 33264 ./u-boot
Ditto for the current version:
-> git checkout v2009.06 ... HEAD is now at 6b1f78a... Prepare v2009.06 -> ./MAKEALL mx31ads Configuring for mx31ads board... env_embedded.c:187: warning: string length '592' is greater than
the length '509' ISO C90 compilers are required to support text data bss dec hex filename 180440 4584 25228 210252 3354c ./u-boot
I checked include/configs/mx31ads.h, and it does use CFI flash configuration. Does anyone have ideas what might go wrong? Thanks
Are you soure your source tree is OK, and your tool chain is working?
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@denx.de An age is called Dark not because the light fails to shine, but because people refuse to see it. -- James Michener, "Space"