This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem in Uncompressing Linux............. in OMAPL137Evm

Hi all,

           I am using OMAPL137evm board. I have flashed uboot  and loaded uImage through tftp and hangs at Uncompressing Linux.......

The log is as shown below ....

 

U-Boot > boot
Using  device
TFTP from server 192.168.1.46; our IP address is 192.168.1.51
Filename 'uImage'.
Load address: 0xc0700000
Loading: ##############################

###################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################
done
Bytes transferred = 1804312 (1b8818 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.18_pro500-da830_omapl1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1804248 Bytes =  1.7 MB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................


and the Env Variables are as below



U-Boot > pr
baudrate=115200
ethaddr=00:0e:99:02:f7:c0
nfshost=192.168.1.50
rootpath=/tftpboot
netmask=255.255.255.0
dnsip=125.22.47.125
dnsip2=202.56.250.5
ipaddr=192.168.1.51
bootfile=uImage
bootcmd=tftp 0xc0700000;bootm
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.1.51 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=32M root2
bootdelay=10
gateway=192.168.1.0
serverip=192.168.1.46
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 2009.11 (Nov 09 2010 - 18:49:23)

Environment size: 487/16380 bytes

I have created rootfs.jffs2 using command

mkfs.jffs2 -r fs -e 32 --no-cleanmarkers -o rootfs.jffs2

please can any one tell me what i am missing .. . ...

 

Thanks in advance












  • Hi lokesh,

    OMAPL137evm has 3 instances of UART  (ttyS0, ttyS1 and ttyS2). Out of these 3, ttyS2 is connected to the serial output. So bootargs should be set to ttyS2.

    Your bootargs says

    bootargs=console=ttyS0,115200n8........

    can you change it to bootargs=console=ttyS2,115200n8 and verify

    U-Boot>setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=192.168.1.51 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=32M

     

    Regards

    Gururaja

  • Hi Gururaja,

     

    I have a similar problem while uncompressing the kernel I have checked my bootargs which are as below

    autoload=no
    baudrate=115200
    bootargs=console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/mmcblk0p1 rootfstype=ext2 mem=32M
    bootdelay=3
    bootfile=uImage
    dnsip=192.168.5.1
    ethact=DaVinci-EMAC
    ethaddr=00:0e:99:02:fc:ae
    fileaddr=C0700000
    filesize=17E63C
    ipaddr=192.168.5.139
    serverip=192.168.5.121
    stderr=serial
    stdin=serial
    stdout=serial
    ver=U-Boot 2011.03 (Jun 23 2011 - 19:57:54)

    and bootcmd set as 'bootm 0xc0700000 but still it gets stuck up at

     

    DA830-evm > boot
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-2.6.34.9
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1566204 Bytes = 1.5 MiB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux...

     

    I have been able to load the MVista trial version of linux after building and even directly available image and that works fine I am able to login and tried simple Hello world tooo

    Even sometime ago I had loaded readily available image of angstrom linux and I could reach the point of loging in ... but when I  try for a build from the kernel from www.kernel.org.. (tried 2.6.39.1 and 2.6.34.9  versions)  its stuck up at this point or gives uncompression error and system halt message.

    Suggestions and help welcomed!!

     

    Regards

    NIKHIL RAJPAL