Hi all,
I am using Redha Linux Enterprise 4.
I am working with TI DMEVM 6446 evaluation board.
I am trying to create NFS and to mount on the target system.
I am using the SPRUE66B document for reference,


I have done the follwing things,

1) Install the monta vista linux onto the Host PC
2)Done the following things
          host $ cp -a 
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/target/* .
          host $ chown -R <useracct> opt
3) in etc/exports edit the following thing
          /home/<useracct>/workdir/filesys 
*(rw,no_root_squash,no_all_squash,sync)

4) set the following in the target

EVM # setenv nfshost <IP ADDRESS OF YOUR NFS HOST>
EVM # setenv rootpath <DIRECTORY_TO_MOUNT>
EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw
ip=dhcp root=/dev/nfs
nfsroot=$(nfshost):$(rootpath),nolock mem=120M

5) create the project in
/home/Ramesh/workdir/filesys/opt

// print the target env

bootdelay=3
baudrate=115200
bootfile="uImage"
setenv=nfshost 10.65.102.101
bootargs=console=ttyS0,115200n8 noinitrd rw ip=10.65.103.111 root=/dev/nfs 
nfsroot=10.65.103.111:home/Ramesh/workdir/filesysMbootcmd=bootm 0x2050000
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:5c:53
videostd=ntsc
nfshost=10.65.103.111
rootpath=/home/Ramesh/workdir/filesys
bootrags=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs 
nfsroot=10.65.103.111:home/Ramesh/workdir/filesys, nolock M
Environment size: 513/131068 bytes


then boot the target.
I am not able to see in the target /opt/( my project)



When I boot the target, I am not sure the NFS is mounted or not.
But I felt that NFS is not mounted on to the target.

I am getting the following messages.
///////////////////////////////////////////////////////////////////
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.65.102.141
IP-Config: Complete:
device=eth0, addr=10.65.102.141, mask=255.255.255.0, gw=10.65.102.254,
host=10.65.102.141, domain=wpgholdings.com, nis-domain=(none),
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 136K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating module dependencies
Loading modules:
Starting checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap.
Cleaning: /tmp /var/lock /var/run done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd klogd.
Starting NFS common utilities: statd lockd.
Starting internet superserver: inetd.
cmemk: module license '(c) Texas Instruments' taints kernel.
cmem initialized 4 pools between 0x87800000 and 0x88000000
dsplinkk: no version for "struct_module" found: kernel tainted.
DDR_START 0x8fa00000 DDR_SIZE 0x400000
Starting web server ...
thttpd
DVT-DSA proc module 1.0 initialized
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista 
Software,Inc.
.
MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)

10.65.102.141 login:

///////////////////////////////////////////////////

Please refer the Red color in the above message.

May You give me some idea to test how to test the NFS>:


Thanks
Ramesh,.


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

Reply via email to