We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 59854

PetaLinux - "GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover" When Booting Linux System


When I boot my Linux system, I see a message similar to the following:

GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover


This message can occur when a Linux FIT image is so large that it overflows the space that U-BOOT has allocated for uncompressing the image. 

In many systems a size of 8MB or 16MB (common defaults) is sufficient but some systems may require a larger extraction space.  

This is controlled with the "#define CONFIG_SYS_BOOTM_LEN" directive in the UBOOT configuration headers.

An example of this option is below:

#define  CONFIG_SYS_BOOTM_LEN   0x1000000 /* use 16MByte as max gunzip size */

For PetaLinux users, this #define should be placed in the U-BOOT header associated with the PetaLinux project. 

For users building from source, the #define should be placed in the appropriate header file located in <UBOOT_SRC>/include/configs/

AR# 59854
Date 11/05/2014
Status Active
Type General Article
  • PetaLinux
Page Bookmarked