Re: booting via tftp using nfs filesystem + dm6446

2009-02-15 Thread kirthika varadarajan
Hi,
 dhcp is not working. i set static ip addr and i am able to mount nfs file
system.

Thanks a lot



On 2/16/09, zhenfeng ren <1985re...@gmail.com> wrote:
>
> > bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
> > nfsroot=192.16
> > 8.0.184:/home/kirthika/workdir/filesys,nolock mem=120M
> NFS: 192.168.0.184:/home/kirthika/workdir/filesys works OK?
> --
> Thanks,
> Zhenfeng Ren
>
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: booting via tftp using nfs filesystem + dm6446

2009-02-15 Thread zhenfeng ren
> bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
> nfsroot=192.16
> 8.0.184:/home/kirthika/workdir/filesys,nolock mem=120M
NFS: 192.168.0.184:/home/kirthika/workdir/filesys works OK?
-- 
Thanks,
Zhenfeng Ren

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


booting via tftp using nfs filesystem + dm6446

2009-02-15 Thread kirthika varadarajan
I have difficulty in booting via tftp using file system.

My boot configuration is as follows

bootdelay=3
baudrate=115200
netmask=255.255.255.0
rootpath=/home/kirthika/workdir/filesys
bootfile=uImage
gatewayip=192.168.0.1
serverip=192.168.0.185
nfshost=192.168.0.184
bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs
nfsroot=192.16
8.0.184:/home/kirthika/workdir/filesys,nolock mem=120M
ipaddr=192.168.0.188
bootcmd=dhcp;bootm
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:29:00
videostd=ntsc


Starting kernel ...

Uncompressing
Linux.
... done, booting the.Linux version
2.6.10_mvl401-davinc
i_evm (kirth...@localhost.localdomain) (gcc version 3.4.3 (MontaVista
3.4.3-25.0
.30.0501131 2005-07-23)) #6 Sun Feb 15 18:19:53 KST 2009
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp
root=/dev/nfs nf
sroot=192.168.0.184:/home/kirthika/workdir/filesys,nolock mem=120M
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
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: 118784KB available (2311K code, 487K data, 136K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task()
desched cpu_callback 3/
ksoftirqd started up.
desched cpu_callback 2/
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'nor_davinci.0'. Parent at platform
Registering platform device 'nand_davinci.0'. Parent at platform
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 18:17:12 Feb 15 2009
Registering platform device 'i2c'. Parent at platform
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Feb 15 2009 18:16:41 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Console: switching to colour frame buffer device 90x30
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ìtyS0 at MMIO 0x1c2 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK4026GAX RoHS, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB), CHS=65535/16/63
 hda: unknown partition table
ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c806 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.0.98, my address is 0.0.0.0
IP-Config: Unable to set interface netmask (-99).
Looking up port of RPC 13/2 on 192.168.0.184
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 15/1 on 192.168.0.184
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 101
mount: RPC call returned error 101
Root-NFS: Server returned error -101 while mounting
/home/kirthika/workdir/files
ys
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