diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-01-20 11:29:06 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-19 09:41:21 +0100 |
commit | ae9f489977c802d5209b05a4d78fc59aa41f89c4 (patch) | |
tree | ff14140dd248469539f56924ee3a5200cef395cf | |
parent | c74a94415cd5cea211004f520aa5710510392a0e (diff) | |
download | u-boot-imx-ae9f489977c802d5209b05a4d78fc59aa41f89c4.zip u-boot-imx-ae9f489977c802d5209b05a4d78fc59aa41f89c4.tar.gz u-boot-imx-ae9f489977c802d5209b05a4d78fc59aa41f89c4.tar.bz2 |
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 <michal.simek@xilinx.com>
-rw-r--r-- | include/configs/zynq-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 9b6db04..3ada295 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 |