public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Unable to decompress files greater than 500 MB
       [not found] <CGME20161026102024epcas3p2a9e2d042ccba443ea9daa8db60154fb3@epcas3p2.samsung.com>
@ 2016-10-26 10:22 ` Zakir Ahmed
  2016-10-27  4:16   ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Zakir Ahmed @ 2016-10-26 10:22 UTC (permalink / raw)
  To: u-boot

Hi,

 

We are using u-boot source code which has the support for most of the
compressions like bz2, lzma, gz etc.

 

We tried uncompressing bz2, lzma and gz images and most of them either fail
or data abort or hang indefinitely for large sized uncompressed data > 500
MB.

 

This is for the arm port.

 

Could you please provide us any pointers for the same?

 

signature

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 113456 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161026/5bd501cf/attachment.png>

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

* [U-Boot] Unable to decompress files greater than 500 MB
  2016-10-26 10:22 ` [U-Boot] Unable to decompress files greater than 500 MB Zakir Ahmed
@ 2016-10-27  4:16   ` Heiko Schocher
  2016-10-27  7:23     ` Zakir Ahmed
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2016-10-27  4:16 UTC (permalink / raw)
  To: u-boot

Hello Zakir Ahmed,

Am 26.10.2016 um 12:22 schrieb Zakir Ahmed:
> Hi,
>
>
>
> We are using u-boot source code which has the support for most of the
> compressions like bz2, lzma, gz etc.
>
>
>
> We tried uncompressing bz2, lzma and gz images and most of them either fail
> or data abort or hang indefinitely for large sized uncompressed data > 500
> MB.
>
>
>
> This is for the arm port.
>
>
>
> Could you please provide us any pointers for the same?

On which board is this and how much RAM do you have?
How looks your memory map?
In which way does it fail?

I just speculate now ... you may overwrite U-Boot Code /stack
malloc space ?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

* [U-Boot] Unable to decompress files greater than 500 MB
  2016-10-27  4:16   ` Heiko Schocher
@ 2016-10-27  7:23     ` Zakir Ahmed
  0 siblings, 0 replies; 3+ messages in thread
From: Zakir Ahmed @ 2016-10-27  7:23 UTC (permalink / raw)
  To: u-boot

Hello Schocher,

Thanks for your response.

This is custom board which uses ARM Cortex- A15 processor.
RAM is 2GB.
I run loading uboot at 
1536 MB (0x60000000) to avoid overwriting uboot code. 
Compressed Image at 0x47400000 -> 1140 MB (Compressed Image < 200 MB)
Uncompressed Image@0x0C000000 -> I have tested this at different
addresses starting from 0xA000 till 0x0C000000. Same issue is seen


-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de] 
Sent: Thursday, October 27, 2016 9:46 AM
To: Zakir Ahmed
Cc: u-boot at lists.denx.de; 'ANAND N'; cpgs at samsung.com
Subject: Re: [U-Boot] Unable to decompress files greater than 500 MB

Hello Zakir Ahmed,

Am 26.10.2016 um 12:22 schrieb Zakir Ahmed:
> Hi,
>
>
>
> We are using u-boot source code which has the support for most of the 
> compressions like bz2, lzma, gz etc.
>
>
>
> We tried uncompressing bz2, lzma and gz images and most of them either 
> fail or data abort or hang indefinitely for large sized uncompressed 
> data > 500 MB.
>
>
>
> This is for the arm port.
>
>
>
> Could you please provide us any pointers for the same?

On which board is this and how much RAM do you have?
How looks your memory map?
In which way does it fail?

I just speculate now ... you may overwrite U-Boot Code /stack malloc space ?

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

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

end of thread, other threads:[~2016-10-27  7:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20161026102024epcas3p2a9e2d042ccba443ea9daa8db60154fb3@epcas3p2.samsung.com>
2016-10-26 10:22 ` [U-Boot] Unable to decompress files greater than 500 MB Zakir Ahmed
2016-10-27  4:16   ` Heiko Schocher
2016-10-27  7:23     ` Zakir Ahmed

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