In order to mount nfs successfully in Ubuntu, many problems were encountered. After mounting is successful today, I feel that many of these problems can be avoided. However, from another perspective, you may be exercising your abilities. Let's talk about the main steps first, and then let's talk about the key points for successful mounting. If your mounting is unsuccessful, it is likely that these key points are not well done. The first step is to burn uboot and kernel for the Development Board. 1. format the SD card in FAT32 format. Solidify the startup code to SD
In order to mount nfs successfully in Ubuntu, many problems were encountered. After mounting is successful today, I feel that many of these problems can be avoided. However, from another perspective, you may be exercising your abilities.
Let's talk about the main steps first, and then let's talk about the key points for successful mounting. If your mounting is unsuccessful, it is likely that these key points are not well done.
The first step is to burn uboot and kernel for the Development Board.
1. format the SD card in FAT32 format. Solidify the startup code into the SD card.
Possible problems: 1 volume erro and so on.
Solution: Re-unplug the SD card. In some cases, try another SD card.
2. Download Uboot to nandflash and set Uboot parameters. Note that the serial port and baud rate must be set correctly.
Possible problems: 1. ARNING: OEMMultiBINNotify: Invalid BIN region descriptor (s ).
Don't support raw image
Solution: in this case, select USB Port> UBOOT. Select Uboot instead of transmit.
2. Unable to write uboot into nandflash
Solution: Press ENTER until OK appears. (This is generally because nand erase is not clean and must wait until OK appears. If it does not appear, it indicates that it is not erased)
3. Burn the Kernel.
The possible problems are generally the same as above 2. Pay attention to the points I mentioned.
4. Installing the root file system is also an important step. Www.linuxidc.com if you want to install the yaffs2 file, it will also involve mounting NFS.
Suppose we want to install the yaffs2 file.
First step: Install NFS
Install the NFS service software on the host (I am using Ubuntu in the virtual machine), because Debian/Ubuntu is not installed by default.
1. Install port er portmap (optional)
$ Sudo apt-get install portmap
2. Enter the following command at the terminal prompt to install the NFS server:
$ Sudo apt-get install nfs-kernel-server
3. Install the NFS client (optional)
$ Sudo apt-get install nfs-common
Note: Both nfs-kernel-server and nfs-common depend on portmap. In addition, in some documents, www.linuxidc.com suggested that apt-get should be used to manually install the NFS client nfs-common and port er portmap. However, this is not necessary, this is because apt automatically installs nfs-kernel-server.
In this way, the host is equivalent to the NFS Server. Similarly, if the target system is an NFS client, you must install the NFS client program. For Debian/Ubuntu systems, install nfs-common (step 1 ).