Preparation: Check whether nfs mounting is correct on your linux system, and set the nfs directory to be mounted. My settings are as follows:
/Opt/EmbedSky/root_nfs * (rw, sync, no_root_squash)
Next, you need to decompress the root file system root_qtopia_2.2.0_2.6.30.4_20100601.tar.bz2 produced by tq2440to the root_nfs directory (if you are a master, you can also create your own root directory ).
The root file system created by TQ2440 needs to be modified in one place,
Modify the file system/etc/init. d/rcS
# Net_set & // comment out
1. OK. Next we need to get the Development Board. First, connect the Development Board, connect the power supply, and then dial the Development Board to nfs to start. You can see the following content through the Super Terminal:
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode!
##### Boot for Nor Flash Main Menu #####
##### EmbedSky USB download mode #####
[1] Download u-boot or STEPLDR. nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot. nb0) to Nand Flash
[3] Download Linux Kernel (zImage. bin) to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image (root. bin) to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[A] Download User Program (eg: uCOS-II or TQ2440_Test)
[B] Download LOGO Picture (. bin) to Nand Flash
[L] Set LCD Parameters
[N] Enter TFTP download mode menu
[O] Download u-boot to Nor Flash
[R] Reboot u-boot
[T] Test Linux Image (zImage)
[Q] quit from menu
Enter your selection:
2. Select 0 and set the startup parameter. Press the 0 option to enter the following:
##### Parameter Menu #####
[1] Set NFS boot parameter
[2] Set Yaffs boot parameter
[3] Set parameter
[4] View the parameters
[D] Delete parameter
[S] Save the parameters to Nand Flash
[Q] Return main Menu
Enter your selection:
Select 1 to go to NFS parameter settings.
The settings are as follows:
Enter your selection: 1
Enter the pc ip address :( xxx. xxx)
192.168.1.20.// your linux IP Address
Enter the SKY2440/TQ2440 IP address :( xxx. xxx)
192.168.1.6 // your development board IP Address
Enter the mask IP address :( XXX. XXX)
255.255.255.0 // Subnet Mask
Enter NFS Directory :( eg:/opt/embedsky/root_nfs)
/Opt/embedsky/root_nfs // NFS mount directory set on your Linux
Click "S" to save the configuration, and then select "Q" to exit. Then press 8 to start the system. Then you can see that the system has entered a familiar interface.
-------------------------
Note: 1. First, you must confirm that the NFS can be pinged; 2. Check whether the NFS is started; 3. Check whether the NFS mount directory is correct.