From: Michal Simek Date: Mon, 20 Jan 2014 10:29:06 +0000 (+0100) Subject: zynq: Extend kernel image size to 20MB X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6f2a55b45f3d643a42e7d88de6eb4d712d4bbf0;p=thirdparty%2Fu-boot.git zynq: Extend kernel image size to 20MB 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 --- diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index f71016a4857..be8adfcfe4e 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -308,6 +308,9 @@ #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