hye guyz i have written the kernel for the davinci DM6446.I am trying to mount the file system using nfs but get error as shown in my log.
rpcbind: server 172.16.1.244 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/rohan/dir
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
I have mounted my host on a client PC it is working fine now when i connect it to the board it gives following error
U-Boot > printenv
baudrate=115200
ethaddr=00:1C:C0:0A:00:01
bootm=0x80700000
filesize=200000
fileaddr=80700000
gatewayip=172.16.0.10
netmask=255.255.240.0
bootcmd_nand=nand read 0x80700000 0x100000 0x200000; bootm 0x80700000
bootfile=/home/admin/uImage
serverip=172.16.0.97
bootdelay=10
bootcmd=nboot 0x80700000 0 100000; bootm
nfshost=172.16.1.244
rootpath=/home/rohan/workdir/
ipaddr=172.16.0.92
bootargs=console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=172.16.1.244:/
home/rohan/workdir ,nolock mem=120M
stdin=serial
stdout=serial
stderr=serial
videostd=ntsc
ver=U-Boot 2009.06-rc2 (Aug 22 2009 - 16:01:10)
Environment size: 643/131068 bytes
U-Boot > boot
Loading from NAND 256MiB 1,8V 8-bit, offset 0x100000
Image Name: Linux-2.6.31-rc5-davinci1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1478780 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.31-rc5-davinci1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1478780 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
................................... done, booting the kernel.
Linux version 2.6.31-rc5-davinci1 (root@skw) (gcc version 4.2.2) #1 PREEMPT Thu
Aug 20 11:17:51 WIT 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM644x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm6446a variant 0x1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 30480
Kernel command line: console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=17
2.16.1.244:/home/rohan/workdir,nolock mem=120M
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 118512KB available (2708K code, 295K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:229
Console: colour dummy device 80x30
Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 71 gpio irqs
NET: Registered protocol family 16
WARNING: both IDE and Flash are enabled, but they share AEMIF pins.
Disable IDE for NAND/NOR support.
MUX: Setting register HPIEN_DISABLE
PINMUX0 (0x00000000) = 0x80000c1f -> 0x80000c1f
MUX: initialized ATAEN
MUX: Setting register ATAEN
PINMUX0 (0x00000000) = 0x80000c1f -> 0x80020c1f
MUX: initialized HDIREN
MUX: Setting register HDIREN
PINMUX0 (0x00000000) = 0x80020c1f -> 0x80030c1f
MUX: initialized MCBSP
MUX: Setting register MCBSP
PINMUX1 (0x00000004) = 0x00000081 -> 0x00000481
bio: create slab <bio-0> at 0
pcf857x: probe of 1-0038 failed with error -121
pcf857x: probe of 1-0039 failed with error -121
pcf857x: probe of 1-003a failed with error -121
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 231
io scheduler noop registered
io scheduler anticipatory registered (default)
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
fb0: dm_osd0_fb frame buffer device
fb1: dm_vid0_fb frame buffer device
fb2: dm_osd1_fb frame buffer device
fb3: dm_vid1_fb frame buffer device
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
Platform driver 'serial8250' needs updating - please use dev_pm_ops
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ4
1): -22
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ4
2): -22
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
davinci_emac_probe: using random MAC addr: 76:ef:60:a9:74:0b
emac-mii: probed
dm9000 Ethernet Driver, V1.31
Platform driver 'dm9000' needs updating - please use dev_pm_ops
console [netcon0] enabled
netconsole: network logging started
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Clocks: disable unused uart1
Clocks: disable unused uart2
Clocks: disable unused ide
Clocks: disable unused asp0
Clocks: disable unused mmcsd
Clocks: disable unused spi
Clocks: disable unused usb
Clocks: disable unused vlynq
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused timer1
Looking up port of RPC 100003/2 on 172.16.1.244
rpcbind: server 172.16.1.244 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 172.16.1.244
rpcbind: server 172.16.1.244 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /home/rohan/dir
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:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Can someone plz help me in this.