Build NFS for the Development Board through Ubuntu

Source: Internet
Author: User

GenerallyNFSFile System to develop and test your ownProgramIf each change is made on the Development BoardU-bootBurnedNAND FlashThe above statement wastes a lot of time, so you must set it before development.NFSFile System:

 

COMPUTER:Ubuntu 12.04

Target Board:Ok6410

1. Enable the computerNFSService

1 ).InstallNFS:Sudo apt-Get install nfs-kernel-Server

2 ).ModifyNFSOfConfigFile: file directory/Etc/exports,InExportsAdd the target board to the fileNFSFile System Path and various options,The content is as follows:

/Home/CSB/code/2440 rootfs * (RW, insecure, sync, all_squash )#This isTq2440Of

/Home/CSB/code/6410 rootfs * (RW, insecure, sync, all_squash) # ok6410OfNFS

After modification, useSourceCommand to make the settings take effect:Sudo source/etc/exports

3 ).RestartNFSService

Sudo service Portmap restart

Sudo service nfs-kernel-server restart

4 ).Test successful

Showmount-eThe following content will appear

CSB @ csb-ThinkPad-Edge-E430c :~ $ Showmount-e

Export list for csb-ThinkPad-Edge-E430c:

/Home/CSB/code/6410 rootfs *

/Home/CSB/code/2440 rootfs *

The operation is successful.

5 ).Set a wired NicIP

Generally, the network cable is used to connect the network port of the computer to the target network port, and then the computerIPStatic addressIP

Set192.168.1.101, ThroughUbuntuOfNetwork mangerSet

2. Target board settingsNFSStart the system

1 ).InU-bootIn the menuBootargsSet

Bootargs = console = ttysac0root =/dev/nfs nfsroot = 192.168.1.101:/home/CSB/code/2440 rootfs IP = 192.168.1.110: 192.168.1.101: 192.168.1.1: 255.255.255.0

WhereIP =BoardIP: ComputerIP: Gateway: Subnet Mask

2 ).If there are no errors, the load will be successful.LinuxSystem

Eth0: link up, 100 Mbps, full-duplex, LPA 0xcde1

IP-config: complete:

Device = eth0, ADDR = 192.168.1.110, mask = 255.255.255.0, GW = 192.168.1.110,

Host = sky2440, domain =, Nis-domain = embedsky.net,

Bootserver = 192.168.1.101, rootserver = 192.168.1.101, rootpath =

Looking up port of RPC 100003/2 on 192.168.1.101

Looking up port of RPC 100005/1 on 192.168.1.101

VFS: mounted root (NFS filesystem) on device 0: 11.

Freeing init memory: 240 K

Start Qt-4.5

Usbcore: registered new interface driver rt73usb

Usbcore: registered new interface driver zd1211rw

Initializing S3C2440 camera interface ......

S3C2440 camif init done

Loading ov9650 driver .........

Ov9650 address 0x60, manufacture ID 0 xFFFF, exact CT 0x7fa2

Ov9650 address 0x60, manufacture ID 0 xFFFF, exact CT 0x7fa2

No ov9650 found !!!

[16/Jun/2009: 09: 40: 08 + 0000] BOA: Server version BOA/0.94.13

[16/Jun/2009: 09: 40: 08 + 0000] BOA: server built Jul 29 2009 at 14:27:34.

you only need to CP to NFS the file is ready.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.