]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
zynq: Extend kernel image size to 20MB
authorMichal Simek <michal.simek@xilinx.com>
Mon, 20 Jan 2014 10:29:06 +0000 (11:29 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Feb 2014 08:41:21 +0000 (09:41 +0100)
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

index 9b6db043b577ae44dca5a45b991041abd4773261..3ada295fe0d7a0a75201a8b616f7aa90879a7800 100644 (file)
 #define CONFIG_FIT_SIGNATURE
 #define CONFIG_RSA
 
+/* Extend size of kernel image for uncompression */
+#define CONFIG_SYS_BOOTM_LEN   (20 * 1024 * 1024)
+
 /* Boot FreeBSD/vxWorks from an ELF image */
 #if defined(CONFIG_ZYNQ_BOOT_FREEBSD)
 # define CONFIG_API