OK3568 4.19.206 Implementing Support for NFS Services

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

Implementing Support for NFS Services

The 3568 Linux system does not support the NFS service by default. You can use the following methods to support NFS.

Open the file /OK3568-linux-source/buildroot/configs/OK3568_defconfig, and add

BR2_PACKAGE_NFS_UTILS=y

BR2_PACKAGE_NFS_UTILS_RPCDEBUG=y BR2_PACKAGE_NFS_UTILS_RPC_LOCKD=y

BR2_PACKAGE_NFS_UTILS_RPC_NFSD=y BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD=y

Image

Then compile according to the./build. sh buildroot shown above.

When compiling, choose whether to overwrite the original config file, do not enter, let it run automatically.

Results:

Image

And then the generated rootfs. IMG is separately programmed into the development board.

Type cd sbin in the development board and then ls to view it. As shown in the following figure, when you see mount.nfs, it indicates that the NFS service has been successfully started.

Image