]> git.ipfire.org Git - thirdparty/u-boot.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>
Thu, 30 Jan 2014 09:49:30 +0000 (10:49 +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 f71016a4857a7e03f117f1827fdd1385b98f48ff..be8adfcfe4e616741f8ea214e4a8e7968bbc38bb 100644 (file)
 #define CONFIG_FIT
 #define CONFIG_FIT_VERBOSE     1 /* enable fit_format_{error,warning}() */
 
+/* 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