diff mbox

[U-Boot,11/18] ARM: zynq: Extend kernel image size to 60MB

Message ID 3667dacb1908b6b6e1d9a6ebe4fa9f1d37643fa1.1398433337.git.michal.simek@xilinx.com
State Accepted
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek April 25, 2014, 1:42 p.m. UTC
Extend max kernel image size. Gunzip is checking
this value. If kernel is larger, message below is shown.

Uncompressing Kernel Image ... Error: inflate() returned -5
GUNZIP: uncompress, out-of-mem or overwrite error -
must RESET board to recover

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/zynq-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.8.2.3
diff mbox

Patch

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 2080a61..8ee78e4 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -209,7 +209,7 @@ 
 #define CONFIG_RSA

 /* Extend size of kernel image for uncompression */
-#define CONFIG_SYS_BOOTM_LEN	(20 * 1024 * 1024)
+#define CONFIG_SYS_BOOTM_LEN	(60 * 1024 * 1024)

 /* Boot FreeBSD/vxWorks from an ELF image */
 #if defined(CONFIG_ZYNQ_BOOT_FREEBSD)