[U-Boot] kernel does not boot

Mehmet Salih YILDIRIM salih.yildirim at protel.tv
Tue Sep 21 09:51:38 CEST 2010


  I am using TI's davinci board (microprocessor is dm6446) and I both 
tried community u-boot build and I compiled myself. I try to boot kernel 
from tftp and fs from nfs but I cannot mount fs. Here is errors:

    IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.2.50
    IP-Config: Complete:
          device=eth0, addr=192.168.2.50, mask=255.255.255.0,
    gw=192.168.2.1,
          host=192.168.2.50, domain=protel.local, nis-domain=(none),
          bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
    Looking up port of RPC 100003/2 on 0.0.0.0
    rpcbind: server 0.0.0.0 not responding, timed out
    Root-NFS: Unable to get nfsd port number from server, using default
    Looking up port of RPC 100005/1 on 0.0.0.0
    rpcbind: server 0.0.0.0 not responding, timed out
    Root-NFS: Unable to get mountd port number from server, using default
    Root-NFS: Server returned error -5 while mounting /tftpboot/
    VFS: Unable to mount root fs via NFS, trying floppy.
    VFS: Cannot open root device "nfs" or unknown-block(2,0)
    Please append a correct "root=" boot option; here are the available
    partitions:
    0300        39070080 hda driver: ide-gd
    Kernel panic - not syncing: VFS: Unable to mount root fs on
    unknown-block(2,0)
    Backtrace:
    [<c002e5f4>] (dump_backtrace+0x0/0x114) from [<c02c886c>]
    (dump_stack+0x18/0x1c)
      r7:00008000 r6:c6012000 r5:c0024808 r4:c03cbd30
    [<c02c8854>] (dump_stack+0x0/0x1c) from [<c02c88c4>] (panic+0x54/0x12c)
    [<c02c8870>] (panic+0x0/0x12c) from [<c0008fbc>]
    (mount_block_root+0x1e0/0x220)
      r3:00000001 r2:c6023e98 r1:c6023f60 r0:c034e926
    [<c0008ddc>] (mount_block_root+0x0/0x220) from [<c00090c0>]
    (mount_root+0xc4/0x)
      r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00200000
    [<c0008ffc>] (mount_root+0x0/0xfc) from [<c0009268>]
    (prepare_namespace+0x170/0)
      r5:c0024808 r4:c03cb820
    [<c00090f8>] (prepare_namespace+0x0/0x1c8) from [<c00084bc>]
    (kernel_init+0xe4/)
      r5:00000000 r4:c03cb5e0
    [<c00083d8>] (kernel_init+0x0/0x118) from [<c0043124>]
    (do_exit+0x0/0x668)
      r5:00000000 r4:00000000

My u-boot config is also here:

    DaVinci EVM # printenv
    bootcmd=dhcp;tftpboot 0x82000000 initrd.image;setenv addip setenv
    bootargs $(bo0
    baudrate=115200
    ipaddr=192.168.2.50
    bootargs=mem=120M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=
    192.168.2.48p
    rootpath=/home/yildirim/targetfs
    nfshost=192.168.2.48
    serverip=192.168.2.48
    bootdelay=10
    bootfile=uImage
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:0e:99:02:5d:47
    videostd=pal

    Environment size: 562/16380 bytes

Thank in advance.


More information about the U-Boot mailing list