S3C2410 Development Board study the next day

Source: Internet
Author: User
Tags bz2

NFS Configuration (Ubuntu)

Installing the cross-compilation tool

1. Place your compilation tool compression Pack (ARM-LINUX-GCC-3.4.5-GLIBC-2.3.6.TAR.BZ2) in the study directory.

Enter study decompression: TAR-JXVF arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2

will be in the current directory to generate the package of uncompressed files, in this directory to find the bin directory, the bin directory to record the absolute path, in the next step to set the environment variables will be used.

2. Add the cross-compilation tool to the system's environment variable:

Sudo gedit/etc/environment//Setting Environment variables

Add your cross compilation path after path:/home/study/study/gcc-3.4.5-glibc-2-5/bin, then save.

Then restart or cancel out Ubuntu.

Open the terminal input arm-linux-gcc-v after the reboot to see if there is any output related version information.

NFS configuration There are two ways to implement personal feeling:

The configuration of the server is the same:

Installation of packages:

Nfs-kernel-server

Nfs-common

Portmap

Catalog Export: (that is, configure the file directory you want to share)

/etc/exports

This is my add:

The last is to start the NFS service:

Sudo/etc/init.d/nfs-kernel-server restart

There are two configurations of the Development Board:

1. Configure the parameters directly when Vivi is started:

Param set Linux_cmd_line "Root=/dev/nfs (the path to which the development Board is to be hung) RW nfsroot= host Ip:/home/study/study/rootfsnogui (directory to share)

ip= Client IP: Server IP: Gateway: Mask: Server Host Name: Service Interface (eth0): Off console=ttyasc0

2. Set to the kernel of the Development Board:

Ifconfig eth0 172.16.34.100 netmask 255.255.255.0//ip and child masks

Route add default GW 172.16.34.1//Gateway

This command can also be used to set up the virtual machine Ubuntu of IP

 

Note: The virtual machine and host and 2410 IP are set to the same LAN, so that window System, Linux system, 2410linux system can communicate with each other, the main purpose is to let the Linux system HelloWorld program into 2410linux running, The 2410 terminals installed on the window system can view the results of the running on the board.

The last is the mount:

Mount-o nolock,rsize=4096,wsize=4096 172.16.34.200:/home/study/study/rootfsnogui/dev/nfs

So the NFS transplant succeeds (the result of a day's detour)

Portmap

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.