[U-Boot-Users] Question to install ELDK

Hi. I had download ELDK3.1 for arm(arm-2004-11-09.iso). And I prepared a host environment with a full installation of Red Hat Linux 9, and mount the iso file in my host OS, to execute #./install -d /ELDK arm without errors. Add ELDK's bin directory to $PATH. After doing these, can I use this ELDK compile u-boot? Does the Environment variable CROSS_COMPILE MUST be set?

without errors. Add ELDK's bin directory to $PATH. After doing these, can I use this ELDK compile u-boot? Does the Environment variable CROSS_COMPILE MUST be set?
Next to the fact that testing this will take about the same amount of time as figuring it out by yourself by testing this, the answers are:
1. yes 2. no: it's hardcoded in the Makefile
... ifeq ($(ARCH),ppc) CROSS_COMPILE = ppc_82xx- endif ...
Setting the CROSS_COMPILE is does not hurt though.

Mark,
in message 1f729c480412090650692f01ec@mail.gmail.com you wrote: ...
After doing these, can I use this ELDK compile u-boot? Does the Environment variable CROSS_COMPILE MUST be set?
...
- no: it's hardcoded in the Makefile
This is wrong. It's not hardcoded. Only a _default_value_ is provided.
... ifeq ($(ARCH),ppc) CROSS_COMPILE = ppc_82xx- endif ...
And you must be referring to something else, but not to U-Boot.
Setting the CROSS_COMPILE is does not hurt though.
RTFM. Setting CROSS_COMPILE is _required_ when using the ELDK.
Best regards,
Wolfgang Denk

- no: it's hardcoded in the Makefile
This is wrong. It's not hardcoded. Only a _default_value_ is provided.
My fault, wrong choice of words.
And you must be referring to something else, but not to U-Boot.
# (C) Copyright 2000-2004 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
euhm looks like it...
but I am wrong, I am using a 'touched' file, your makefile says:
ifeq ($(HOSTARCH),ppc) CROSS_COMPILE = else
time to delete those changes.
RTFM. Setting CROSS_COMPILE is _required_ when using the ELDK.
I'm always using the CROSS_COMPILE var, so I never noticed the change when switching from ELDK to powerpc-linux-uclibc-gcc. I must have done the RTFM sometime :)

In message 1f729c4804120909587fa88349@mail.gmail.com you wrote:
And you must be referring to something else, but not to U-Boot.
# (C) Copyright 2000-2004 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
euhm looks like it...
Looks like it, but is not. Seem someone meddled with the code.
but I am wrong, I am using a 'touched' file, your makefile says:
ifeq ($(HOSTARCH),ppc) CROSS_COMPILE = else
This is not the relevant part...
Best regards,
Wolfgang Denk

Hi all,
I am working on a custom board , I used U-Boot and ported it, U-Boot is working well, and i compiled ELDK to a uImage , with the command >make uImage.
here is the rest of the precedure:
er8260> tftp 10000 uImage ARP broadcast 1 TFTP from server 10.10.0.187; our IP address is 10.10.0.185 Filename 'uImage'. Load address: 0x10000 Loading: #################################################################
################################################################# ################## done Bytes transferred = 757201 (b8dd1 hex) er8260> bootm ## Booting image at 00010000 ... Image Name: Linux-2.4.24-pre2 Created: 2004-12-07 22:25:46 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 757137 Bytes = 739.4 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... Error: inflate() returned -3 GUNZIP ERROR - must RESET board to recover
can anyone please help me? why is this happening?
(I read the FAQ , and searched mailing list for 200 last mails , by the phrase" GUNZIP uncompressing error", i didn't find anything , hope it not to be a FAQ and sorry if it is.)
Best regards. sadri
__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250

Hi Sadri!
On Thursday 09 December 2004 17:41, Alireza Sadri wrote:
I am working on a custom board , I used U-Boot and ported it, U-Boot is working well, and i compiled ELDK to a uImage , with the command >make uImage.
here is the rest of the precedure:
er8260> tftp 10000 uImage ARP broadcast 1 TFTP from server 10.10.0.187; our IP address is 10.10.0.185 Filename 'uImage'. Load address: 0x10000
^^^^^^^
Here is your problem! When using this load-address you will likely overwrite your image upon decompressing it! Choose another load address and everything should work fine (at least 0x200000).
can anyone please help me? why is this happening?
The image will be decompressed to the load address given in the header of the uImage file (here 0x00000000). So there is a good chance that you overwrite the source-image @ 0x100000 (depending on your image-size).
(I read the FAQ , and searched mailing list for 200 last mails , by the phrase" GUNZIP uncompressing error", i didn't find anything , hope it not to be a FAQ and sorry if it is.)
I am pretty sure that this is well documented. Could be that Wolfgang will point this out... ;-)
Best regards, Stefan
participants (5)
-
Alireza Sadri
-
Marc Leeman
-
Stefan Roese
-
Wolfgang Denk
-
灰色 轨迹