[ELDK] error when compiling u-boot for omap3_sdp3430
Wolfgang Denk
wd at denx.de
Fri Jun 18 11:19:29 CEST 2010
Dear Shrikumar Sharma,
In message <AANLkTilm7o8V6CoSgLvwOgs5MBZDEcduFhZ7fjk2Py9r at mail.gmail.com> you wrote:
>
> Apologies if this is not the right forum for this question. Please let me
> know which is the right one if this is the case.
Both this list and the U-Boot mailing list are ok.
> I have installed eldk-4.1 and am trying to build u-boot for
> omap3_sdp3430_config.
>
> Basically the steps I followed were:
>
> make omap3_sdp3430_config
> make
>
>
> However this fails at cache.S with the following error log:
>
> cache.S : Assembler messages:
> cache.S:133: Error: bad instruction `push {r0,r1,r2,lr}'
> cache.S:160: Error: bad instruction `pop {r1,r2,r3,pc}'
> cache.S:164: Error: bad instruction `push {r0,r1,r2,lr}'
> cache.S:191: Error: bad instruction `pop {r1,r2,r3,pc}'
This is actually a U-Boot issue, so if please could re-send this to
the U-Boot mailing list?
> Could someone tell me how to solve this? Is it an issue with ELDK or an
> issue with u-boot?
It is a problem with U-Boot. It does not compile with the GCC version
4.0.0 as included with ELDK 4.1.
As a quick workaround you could switch to using ELDK 4.2 instead,
where the board compiles just fine.
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
There are three things I always forget. Names, faces - the third I
can't remember. - Italo Svevo
More information about the eldk
mailing list