* [U-Boot-Users] Question to Install ELDK
@ 2004-12-09 1:38 灰色 轨迹
0 siblings, 0 replies; 8+ messages in thread
From: 灰色 轨迹 @ 2004-12-09 1:38 UTC (permalink / raw)
To: u-boot
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?
--
Zhibiao Wu
lenovo-ai
MSN:yokishiro at hotmail.com
Office email: wuzb at lenovo-ai.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Question to install ELDK
@ 2004-12-09 1:47 灰色 轨迹
2004-12-09 14:50 ` Marc Leeman
0 siblings, 1 reply; 8+ messages in thread
From: 灰色 轨迹 @ 2004-12-09 1:47 UTC (permalink / raw)
To: u-boot
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?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Question to install ELDK
2004-12-09 1:47 [U-Boot-Users] Question to install ELDK 灰色 轨迹
@ 2004-12-09 14:50 ` Marc Leeman
2004-12-09 15:24 ` Wolfgang Denk
2004-12-09 16:41 ` [U-Boot-Users] Uncompressing uImage error Alireza Sadri
0 siblings, 2 replies; 8+ messages in thread
From: Marc Leeman @ 2004-12-09 14:50 UTC (permalink / raw)
To: u-boot
> 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.
--
ash nazg durbatul?k, ash nazg gimbatul,
ash nazg thrakatul?k agh burzum-ishi krimpatul
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Question to install ELDK
2004-12-09 14:50 ` Marc Leeman
@ 2004-12-09 15:24 ` Wolfgang Denk
2004-12-09 17:58 ` Marc Leeman
2004-12-09 16:41 ` [U-Boot-Users] Uncompressing uImage error Alireza Sadri
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2004-12-09 15:24 UTC (permalink / raw)
To: u-boot
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?
...
> 2. 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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every solution breeds new problems.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Uncompressing uImage error
2004-12-09 14:50 ` Marc Leeman
2004-12-09 15:24 ` Wolfgang Denk
@ 2004-12-09 16:41 ` Alireza Sadri
2004-12-09 16:59 ` Stefan Roese
1 sibling, 1 reply; 8+ messages in thread
From: Alireza Sadri @ 2004-12-09 16:41 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Uncompressing uImage error
2004-12-09 16:41 ` [U-Boot-Users] Uncompressing uImage error Alireza Sadri
@ 2004-12-09 16:59 ` Stefan Roese
0 siblings, 0 replies; 8+ messages in thread
From: Stefan Roese @ 2004-12-09 16:59 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Question to install ELDK
2004-12-09 15:24 ` Wolfgang Denk
@ 2004-12-09 17:58 ` Marc Leeman
2004-12-09 18:40 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: Marc Leeman @ 2004-12-09 17:58 UTC (permalink / raw)
To: u-boot
> > 2. 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 at 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 :)
--
ash nazg durbatul?k, ash nazg gimbatul,
ash nazg thrakatul?k agh burzum-ishi krimpatul
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Question to install ELDK
2004-12-09 17:58 ` Marc Leeman
@ 2004-12-09 18:40 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2004-12-09 18:40 UTC (permalink / raw)
To: u-boot
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 at 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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Gravitation cannot be held responsible for people falling in love."
- Albert Einstein
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-12-09 18:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 1:47 [U-Boot-Users] Question to install ELDK 灰色 轨迹
2004-12-09 14:50 ` Marc Leeman
2004-12-09 15:24 ` Wolfgang Denk
2004-12-09 17:58 ` Marc Leeman
2004-12-09 18:40 ` Wolfgang Denk
2004-12-09 16:41 ` [U-Boot-Users] Uncompressing uImage error Alireza Sadri
2004-12-09 16:59 ` Stefan Roese
-- strict thread matches above, loose matches on Subject: below --
2004-12-09 1:38 [U-Boot-Users] Question to Install ELDK 灰色 轨迹
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox