]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: zynq: Extend kernel image size to 60MB
authorMichal Simek <michal.simek@xilinx.com>
Mon, 20 Jan 2014 10:29:06 +0000 (11:29 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 14 May 2014 05:43:34 +0000 (07:43 +0200)
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 2080a612bbd49242d0042ee2e0e6c814b3096bdf..8ee78e4e0803cf3d27a053fc121233e84b8d8786 100644 (file)
 #define CONFIG_RSA
 
 /* Extend size of kernel image for uncompression */
-#define CONFIG_SYS_BOOTM_LEN   (20 * 1024 * 1024)
+#define CONFIG_SYS_BOOTM_LEN   (60 * 1024 * 1024)
 
 /* Boot FreeBSD/vxWorks from an ELF image */
 #if defined(CONFIG_ZYNQ_BOOT_FREEBSD)