N32926-NFS mount

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/YYGY731793898/article/details/65437146

N32926-NFS mount

Directory linux-2.6.35.4 / drivers / net / arm in, w55fa92_ether.c in 1040 near line,


Due to hardware circuit, L8720A of address 0

Fःyaad [0]

SMI pin is used to configure communication LAN8720A address in the chip has been carrying the pin pull-down resistor, that the default 0 (even if not connected to the external floating), the system detects the address on the pin when the acquired power is obtained LAN8720A 0 or 1, and stored in the special mode PHYAD bit register (R18) in, PHYAD this register has five bits, the communication address may be provided by different software SMI when required over two LAN8720A. PHYAD [0] pins are shared with RXER.

Because there is no choice makemuconfig in CONFIG_W55FA92_ETH_PHY_RTL8201, so add 1044,1045 two lines.

In Kconfig file,


Join 109-114 these lines, increase LAN8720A option .

Because w55FA92 Ethernet 2 Nd Port  and Soundcard port conflict. To ban sound card, and then another late set.

 

 

 

SDIO card and because there is a conflict.

 


2 serial ports and high-speed card due to conflict.



Set Enable NFS file system.



Recompile, burn development board, Ping the virtual machine, but can not ping the gateway.

In / mnt folder created under the directory nfs

In the virtual host installation, nfs

1.   sudo apt-get installnfs-kernel-server

2. Open the / etc / exports, was added at the end of the line:
    / Home / yygyickl / nfsdir * (RW, Sync, the no_root_squash)

3.   sudo /etc/init.d/portmaprestart

4.   sudo/etc/init.d/nfs-kernel-server restart

5. showmount -e // Check mount directory

 

Of the board's end:

ifconfig-a " to check all the parameters of the network card

1.      ifconfig eth0192.168.1.184 netmask255.255.255.0broadcast 192.168.1.1 up  start card 

2.     Mount -t nfs -o nolock192.168.1.183: / Home / yygyickl / nfsdir / mnt / nfs  mount

Virtual Host IP : 192.168.1.183  directory: / Home / yygyickl / nfsdir   and / etc / exports the same file .

The above two write / mnt / nand1-1 / boot_script , the network boot and mount the NFS file system .

 

 

Guess you like

Origin blog.csdn.net/YYGY731793898/article/details/65437146