Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

GUNZIP: uncompress, out-of-mem or overwrite error

After loading dtb & kernel via nfs, I boot the kernel and then see this error

> bootm 0xD6000000 - 0xD5000000# # Booting kernel from Legacy Image at d6000000 ...

Image Name: Linux-3.19.0-dirty

Image Type: NIOS II Linux Kernel Image (gzip compressed)

Data Size: 1686478 Bytes = 1.6 MiB

Load Address: d6000000

Entry Point: d6000000

Verifying Checksum ... OK# # Flattened Device Tree blob at d5000000

Booting using the fdt blob at 0xd5000000

Uncompressing Kernel Image ... Error: inflate() returned -3

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

These are my NIOS entries in the kernel .config

CONFIG_NIOS2=y

CONFIG_NIOS2_MEM_BASE=0x10000000# CONFIG_NIOS2_DTB_AT_PHYS_ADDR is not set# CONFIG_NIOS2_DTB_SOURCE_BOOL is not set

CONFIG_NIOS2_HW_MUL_SUPPORT=y# CONFIG_NIOS2_HW_MULX_SUPPORT is not set

CONFIG_NIOS2_HW_DIV_SUPPORT=y# CONFIG_NIOS2_FPU_SUPPORT is not set# CONFIG_NIOS2_CI_SWAB_SUPPORT is not set

CONFIG_NIOS2_CI_SWAB_NO=0

CONFIG_NIOS2_DCACHE_SIZE=0x8000

CONFIG_NIOS2_DCACHE_LINE_SIZE=0x20

CONFIG_NIOS2_ICACHE_SIZE=0x8000

CONFIG_NIOS2_ALIGNMENT_TRAP=y

CONFIG_NIOS2_CMDLINE_IGNORE_DTB=y

CONFIG_NIOS2_PASS_CMDLINE=y

CONFIG_NIOS2_KERNEL_MMU_REGION_BASE_BOOL=y

CONFIG_NIOS2_KERNEL_MMU_REGION_BASE=0x80000000

CONFIG_NIOS2_KERNEL_REGION_BASE_BOOL=y

CONFIG_NIOS2_KERNEL_REGION_BASE=0xD6000000# CONFIG_NIOS2_IO_REGION_BASE_BOOL is not set

CONFIG_NIOS2_IO_REGION_BASE=0xe0000000

Probably there is something missing or wrong here - the default config file which I downloaded seems out of date.

Kernel is 3.19

RAM is from 0xD0000000 to DFFFFFFF

(I did a search, but didn't find any results)

Thanks
No RepliesBe the first to reply