U-boot 0.3.0 compilation error with ELDK 3.0
I wish it were possible to get my hands on the person who first customised the u-boot. I'd shoot him for not starting out with a more recent version of u-boot in the first place.
But whats done is done, and now I have this task in front of me.
Is there absolutely no way out?
What is more surprising is that the makefiles
and config.mk files seem exactly the same as in
u-boot 1.1.1.
Especially the -Ttext 0xFFF00000 flag which is causing the error. I did find out that the -mrelocatable flag
has changed to -fPIC. That was one of the first
hurdles that I faced. But this one has me stumped.
I repeat, is there absolutely no way out? I'm desperate.
Anxiously,
Nishant.
-----Original Message-----
From: Wolfgang Denk <[email protected]>
To: "Nishant Galange" <[email protected]>
Date: Mon, 24 Jan 2005 12:55:57 +0100
Subject: Re: [U-Boot-Users] U-boot 0.3.0 compilation error with ELDK 3.0
Quoted 8 lines · In message <[email protected]> you wrote:
- ELDK 3.0 installed and running on my machine.
- customised u-boot 0.3.0 source meant for a 8266 based PMC addin card.
- no possible contact with the person who first customized and built it.
- the task of making some minor modifications in it.When I try to compile the above mentioned u-boot, I get the following error :
U-Boot 0.3.0 is too old and cannot be compiled with recent versions of GCC. GCC-3.x requires a few adaptions which were added in later versions of U-Boot.
Pleas euse current code (I hope whoever provided the port to your board cared to send his patches upstream).
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de He who hesitates is not only lost, but miles from the next exit.
Quoted 1 line · In message <[email protected]> you wrote:
I wish it were possible to get my hands on the person who first customised
He must have left some trails...
Quoted 2 lines
the u-boot. I'd shoot him for not starting out with a more recent version
of u-boot in the first place.
:-)
Quoted 1 line
Is there absolutely no way out?
You can try using old tools - the old version of the ELDK (release 2.1.0) is still available on the mirrors.
Quoted 3 lines
What is more surprising is that the makefiles
and config.mk files seem exactly the same as in
u-boot 1.1.1.
No changes to these files were needed, then.
Quoted 1 line
I repeat, is there absolutely no way out? I'm desperate.
Create a diff between the official 0.3.0 source tree and yours; then try applying this patch to the current tree. If you're lucky, there aren't too many rejects. But don't hold your breath - 0.3.0 is _very_ old.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I've got a bad feeling about this.