public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Uncompressing uImage error
  2004-12-09 14:50 [U-Boot-Users] Question to install ELDK Marc Leeman
@ 2004-12-09 16:41 ` Alireza Sadri
  2004-12-09 16:59   ` Stefan Roese
  0 siblings, 1 reply; 6+ 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] 6+ messages in thread

* [U-Boot-Users] Uncompressing uImage error
@ 2004-12-09 16:47 Nghiem, Tien
  2004-12-09 16:53 ` Alireza Sadri
  2004-12-09 16:54 ` Alireza Sadri
  0 siblings, 2 replies; 6+ messages in thread
From: Nghiem, Tien @ 2004-12-09 16:47 UTC (permalink / raw)
  To: u-boot

Hi Sadri,

Try to load your uImage at 200000.

Tien


-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Alireza
Sadri
Sent: Thursday, December 09, 2004 11:42 AM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] Uncompressing uImage error


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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Uncompressing uImage error
  2004-12-09 16:47 [U-Boot-Users] Uncompressing uImage error Nghiem, Tien
@ 2004-12-09 16:53 ` Alireza Sadri
  2004-12-14 10:45   ` Detlev Zundel
  2004-12-09 16:54 ` Alireza Sadri
  1 sibling, 1 reply; 6+ messages in thread
From: Alireza Sadri @ 2004-12-09 16:53 UTC (permalink / raw)
  To: u-boot

hi , 

thnaks a lot, it worked out.

so can you explain it for me , why?

best regards.
a.r.sadri.

--- "Nghiem, Tien" <TNghiem@oerlikon.ca> wrote:

> Hi Sadri,
> 
> Try to load your uImage at 200000.
> 
> Tien
> 
> 
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On
> Behalf Of Alireza
> Sadri
> Sent: Thursday, December 09, 2004 11:42 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Uncompressing uImage error
> 
> 
> 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
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] Uncompressing uImage error
  2004-12-09 16:47 [U-Boot-Users] Uncompressing uImage error Nghiem, Tien
  2004-12-09 16:53 ` Alireza Sadri
@ 2004-12-09 16:54 ` Alireza Sadri
  1 sibling, 0 replies; 6+ messages in thread
From: Alireza Sadri @ 2004-12-09 16:54 UTC (permalink / raw)
  To: u-boot

hi , 

thnaks a lot, it worked out.

so can you explain it for me , why?

best regards.
a.r.sadri.

--- "Nghiem, Tien" <TNghiem@oerlikon.ca> wrote:

> Hi Sadri,
> 
> Try to load your uImage at 200000.
> 
> Tien
> 
> 
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On
> Behalf Of Alireza
> Sadri
> Sent: Thursday, December 09, 2004 11:42 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Uncompressing uImage error
> 
> 
> 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
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 6+ 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; 6+ 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] 6+ messages in thread

* [U-Boot-Users] Uncompressing uImage error
  2004-12-09 16:53 ` Alireza Sadri
@ 2004-12-14 10:45   ` Detlev Zundel
  0 siblings, 0 replies; 6+ messages in thread
From: Detlev Zundel @ 2004-12-14 10:45 UTC (permalink / raw)
  To: u-boot

Hi Alireza,

> thnaks a lot, it worked out.
>
> so can you explain it for me , why?
>
> best regards.
> a.r.sadri.
>
> --- "Nghiem, Tien" <TNghiem@oerlikon.ca> wrote:
>
>> Hi Sadri,
>> 
>> Try to load your uImage at 200000.

In case you don't know already - you loaded your image at 64kBytes.
When starting Linux, the kernel gets uncompressed beginning at address
0 and sooner or later (at 64k rather sooner) overwrites the yet to be
uncompressed kernel at what stage things get "interesting".

Cheers
  Detlev

-- 
But in terms of creative  information, information that people can use
or enjoy, and that will be  used and enjoyed more  the more people who
have it, always we should encourage the copying.
	                                    -- Richard M. Stallman

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-12-14 10:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 16:47 [U-Boot-Users] Uncompressing uImage error Nghiem, Tien
2004-12-09 16:53 ` Alireza Sadri
2004-12-14 10:45   ` Detlev Zundel
2004-12-09 16:54 ` Alireza Sadri
  -- strict thread matches above, loose matches on Subject: below --
2004-12-09 14:50 [U-Boot-Users] Question to install ELDK Marc Leeman
2004-12-09 16:41 ` [U-Boot-Users] Uncompressing uImage error Alireza Sadri
2004-12-09 16:59   ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox