[U-Boot] Flash Errors in Building u-boot.2009.03 for mx31ads

Wolfgang Denk wd at denx.de
Mon Jun 15 23:16:07 CEST 2009


Dear Yong Yang,

In message <737b0be30906150750j28387c06u3a7ba7ffea73682f at 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 at denx.de
An age is called Dark not because  the  light  fails  to  shine,  but
because people refuse to see it.           -- James Michener, "Space"


More information about the U-Boot mailing list