From: Michal Simek Date: Mon, 20 Jan 2014 10:29:06 +0000 (+0100) Subject: zynq: Extend kernel image size to 20MB X-Git-Tag: v2014.04-rc2~72^2~18^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae9f489977c802d5209b05a4d78fc59aa41f89c4;p=oweals%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 9b6db043b5..3ada295fe0 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -221,6 +221,9 @@ #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