[PATCH 1/3] ARM: zImage: no need to get the decompressed size from the filesystem

Tony Lindgren tony at atomide.com
Thu Apr 21 08:47:38 EDT 2011


* Nicolas Pitre <nicolas.pitre at linaro.org> [110420 07:12]:
> In commit d239b1dc093d the hardcoded 4x estimate for the decompressed
> kernel size was replaced by the exact Image file size and passed to
> the linker as a symbol value.  Turns out that this is unneeded as the
> size is already included at the end of the compressed piggy data.
> For those compressed formats that don't include this data, the build
> system already takes care of appending it using size_append in
> scripts/Makefile.lib.  So let's use that instead.
> 
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>

Works fine on the boards I'm using:

Tested-by: Tony Lindgren <tony at atomide.com> 



More information about the linux-arm-kernel mailing list