[U-Boot] Unable to decompress files greater than 500 MB

Zakir Ahmed zakir.ahmed at samsung.com
Thu Oct 27 09:23:24 CEST 2016


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 at 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




More information about the U-Boot mailing list