U-boot not compiling--may be bug..
HI all
I have taken u-boot code from u-boot-1.1.6 ( http://www.denx.de/wiki/UBoot )
I tried to compile for omap1510inn(which is having arm926ejs core), I want to compile it for arm926ejs. I have done,
$make omap1510inn_config
$make
It is throwing me errors,
board.c: In function `start_armboot':
board.c:331: error: incompatible types in assignment
board.c:373: warning: passing arg 1 of `smc_set_mac_addr' from incompatible pointer type make[1]: *** [board.o] Error 1
make[1]: Leaving directory `/home/bhagwat/u-boot/u-boot-1.1.6/lib_arm'
seems some bug..
please help me; I am not able to proceed.
Regards,__Bhagwat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070904/2272bc9e/attachment.htm
Quoted 3 lines · In message <098f01c7eeff$8a2f5f20$9c02a8c0@socpassion> you wrote:
I have taken u-boot code from u-boot-1.1.6 ( =
http://www.denx.de/wiki/UBoot )
Why are you using such old code for any recent work?
Why don't you follow the recommendation to use current code, i. e. op of tree from the git repository?
Quoted 9 lines
I tried to compile for omap1510inn(which is having arm926ejs core), I want to compile it for arm926ejs.
I have done,$make
omap1510inn_config
$makeIt is throwing me errors,
Quoted 8 lines
board.c: In function `start_armboot':
board.c:331: error: incompatible types in assignment board.c:373: warning: passing arg 1 of `smc_set_mac_addr' from incompatible pointer type
make[1]: *** [board.o] Error 1
make[1]: Leaving directory `/home/bhagwat/u-boot/u-boot-1.1.6/lib_arm'seems some bug..
This is probably a toolchain issue on your side, then. Or you modified the code. For me, 1.1.6 is building fine:
with U-Boot 1.1.6 = commit c5920044:
-> ./MAKEALL omap1510inn Configuring for omap1510inn board... text data bss dec hex filename 93503 3340 19512 116355 1c683 ./u-boot
with current = commit ff13ac8c:
-> ./MAKEALL omap1510inn Configuring for omap1510inn board... text data bss dec hex filename 95223 3352 19536 118111 1cd5f ./u-boot
Quoted 4 lines
------=_NextPart_000_098C_01C7EF2D.A3CAEB60
Content-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: quoted-printable
Please never post HTML on thi slist!
Best regards,
Wolfgang Denk
Signature · 4 lines
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 God made machine language; all the rest is the work of man.