[U-Boot-Users] Re: 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 wd@denx.de To: "Nishant Galange" nishant.subs@myrealbox.com 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
In message 1106566247.8c1d0e9cnishant.subs@myrealbox.com 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

In message 1106590110.8c249fdcnishant.subs@myrealbox.com you wrote:
I wish it were possible to get my hands on the person who first customised
He must have left some trails...
the u-boot. I'd shoot him for not starting out with a more recent version of u-boot in the first place.
:-)
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.
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.
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
participants (2)
-
Nishant Galange
-
Wolfgang Denk