Cannot boot through NFS

TheSergon13
Hi everybody,

Something really strange is happening with me:
-First I tried to boot my boar either from flash or via NFS, using the
uImage kernel file given. Everything works fine.
-Now I needed to customize the kernel and I did create my uImage. But the
strange thing is that if I from flash, the board boots with no problem.
However if I try to boot from NFS, I have this error:
      
     Uncompressing Kernel Image ... Error: inflate() returned -3

What this means?

Best regards,
Sérgio

Pajolo
Hey Sergio,
what are your boot parameters?

TheSergon13
To boot from flash I use:

    bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=tty 
             SAC0,115200;
    bootcmd=nand read 0x31000000 60000 200000; bootm 0x31000000

And to boot from NFS I use:

    bootargs=console=ttySAC0 init=/linuxrc root=/dev/nfs
nfsroot=192.168.1.1:/armLinux/SBC2440
            
ip=192.168.1.168:192.168.1.1:192.168.1.1:255.255.255.0:www.embedinfo.com:eth0:of
f
    boocmd=nfs 30000000 192.168.1.1:/armLinux/SBC2440/uImage;bootm


When booting via NFS, this is the error:

  File transfer via NFS from server 192.168.1.1; our IP address is
192.168.1.168
  Filename '/armLinux/SBC2440/uImage'.
  Load address: 0x30000000
  Loading:
#################################################################
     #################################################################
     #################################################################
     #################################################################
     ###########################################*** ERROR: Cannot umount
  ## Booting kernel from Legacy Image at 30000000 ...
     Image Name:   Linux-2.6.13-arm-linux2440
     Created:      2010-03-24   2:08:15 UTC
     Image Type:   ARM Linux Kernel Image (gzip compressed)
     Data Size:    1549674 Bytes =  1.5 MB
     Load Address: 30008000
     Entry Point:  30008000
     Verifying Checksum ... OK
     Uncompressing Kernel Image ... Error: inflate() returned -3
  GUNZIP: uncompress or overwrite error - must RESET board to recover

  U-Boot 2008.10 (Jun 18 2009 - 17:34:23)

Dee
Add IP address of mini2440 in /etc/hosts file e.g.

192.168.0.1 mini2440

It will fix the ERROR: Cannot umount problem.
 
Hope it helps,

Thanks,
Dee

vatti
Hi

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

Regarding this


boocmd=nfs 30000000 192.168.1.1:/armLinux/SBC2440/uImage;bootm

change to

boocmd=nfs 32000000 192.168.1.1:/armLinux/SBC2440/uImage;bootm