Hello all, 

I am having trouble mounting to the NFS server on my host Linux machine.  My 
configuration is as follows.

I am using Ubuntu 9.10 as host OS
I am working with TI DM6446 evaluation board
I am referencing the SPRUE66B document
My evaluation board ethernet cable is plugged directly into the ethernet port 
of my host machine, so i configured the ip statically.  

I have done the following steps from:

1.) Installed the target linux software on host.
2.) Installed the DVSDK software on host.
3.) Installed CODEC servers on host.
4.) Copied target file system with permisions to location  
/home/chris/workdir/filesys
5.) Edit /etc/exports file to read:
          /home/chris/workdir/filesys *(rw,no_root_squash,no_all_squash,sync)
6.) Start NFS Server:
          sudo /etc/init.d/nfs-kernel-server restart
7.) Disable firewall using firestarter application
9.) Open terminal session in minicom
10.) Set following environment variables:
   
   EVM # setenv nfshost 192.168.1.100
   EVM # setenv rootpath home/chris/workdir/filesys
   EVM # setenv bootargs video=davincifb:vid0=0,2500K:
   vid1=0,2500K:osd0=720x576x16,2025K
   davinci_enc_mngr.ch0_output=COMPOSITE
   davinci_enc_mngr.ch0_mode=$(videostd)
   console=ttyS0,115200n8 noinitrd rw 
ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off
   root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock
   mem=118M

This is the target printenv:

DaVinci EVM # printenv
bootdelay=3
baudrate=115200
bootfile="uImage"
filesize=1ecc28
fileaddr=80700000
bootcmd=nboot 0x80700000 0 0x200000; bootm
nfshost=192.168.1.100
rootpath=home/chris/workdir/filesys
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:42:8e
videostd=ntsc
serverip=192.168.1.100
ipaddr=192.168.1.101
gateway=192.168.1.1
netmask=255.255.255.0
bootargs=davinci_enc_mngr.ch0_mode=ntsc console=ttyS0,115200n8 noinitrd rw 
ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off root=/dev/nfs 
nfsroot=192.168.1.100:home/chris/workdir/filesys,nolock mem=
118M

Environment size: 565/16380 bytes

when i try to boot i am getting the following output:

Loading from NAND 64MiB 1,8V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2018280 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting image at 80700000 ...
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2018280 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing 
Linux.....................................................................................................................................
 done, booting the kernel.
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (x0029...@aspbuild11) (gcc 
version 4.2.0 20070126 (prerelease) (MontaVista 4.2.0-3.0.0.0702771 
2007-03-10)) #1 PREEMPT Wed May 20 01:14:17 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM6443 variant 0x1
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
Built 1 zonelists.  Total pages: 30208
Kernel command line: davinci_enc_mngr.ch0_mode=ntsc console=ttyS0,115200n8 
noinitrd rw ip=192.168.1.101:192.168.1.100:192.168.1.1:255.255.255.0:::off 
root=/dev/nfs nfsroot=192.168.1.100:home/chris/workdir/filesys
,nolock mem=118M
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
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: 118MB = 118MB total
Memory: 115328KB available (3461K code, 689K data, 176K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
WARNING: both IDE and NOR flash are enabled, but share pins.
        Disable IDE for NOR support.
ch0 default output "COMPOSITE", mode "NTSC"
MUX: initialized LOEEN
MUX: initialized LFLDEN
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
davinci_spi_board_init: NO spi support
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs May 20 2009 01:11:27 Installing. 
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb: dm_osd0_fb: 720x480...@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid0_fb: 0x0...@0,0 with framebuffer size 1020KB
davincifb davincifb: dm_osd1_fb: 720x48...@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid1_fb: 0x0...@0,0 with framebuffer size 1020KB
davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
netconsole: not configured, aborting
TI DaVinci EMAC: MAC address is 00:0e:99:02:42:8e
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
Linux video capture interface: v2.00
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Trying to register davinci display video device.
layer=c728d600,layer->video_dev=c728d760
Trying to register davinci display video device.
layer=c728d400,layer->video_dev=c728d560
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

 Davici AEW Driver cannot be loaded
 VIDEO PORT is not enabledData Flow path from CCDC is disabled

 Davinci AF driver cannot be loaded
 VIDEO PORT is not enabled 
 CCDC needs to be configured<6>i2c /dev entries driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MUX: initialized HDIREN
MUX: initialized ATAEN
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
hda: TOSHIBA MK4032GAX, ATA DISK drive
ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22
hda: max request size: 512KiB
hda: 78140160 sectors (40007 MB), CHS=16383/255/63, UDMA(66)
hda: cache flushes supported
 hda: hda1 hda2
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c785e000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0
rtc0: hours 12-23 are misreported as duplicate hours 00-11
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 
2006 UTC).
ASoC version 0.13.1
MUX: initialized MCBSP
AIC3X Audio Codec 0.1
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
rtc_davinci_evm rtc_davinci_evm: setting the system clock to 2004-02-01 
12:13:16 (1075637596)
IP-Config: Complete:
      device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.101, domain=, nis-domain=(none),
     bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.100
Looking up port of RPC 100005/1 on 192.168.1.100
Root-NFS: Server returned error -13 while mounting home/chris/workdir/filesys
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
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


I cannot seem to figure out why this happening.  any help would be greatly 
appreciated

thank you, 

chris jackson




_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to