TI中文支持网
TI专业的中文技术问题搜集分享网站

请问如何在TMDXEVM8148平台上搭建nfs环境?

rt

Louis:

参考下面的链接,在ubuntu服务器上建立nfs server。

http://processors.wiki.ti.com/index.php/Linux_Host_Configuration_-_Ubuntu#Installing_a_NFS_Server

Installing a NFS Server

The network file-system (NFS) server allows other machines on the same network to mount a file-system exported by the NFS server over a network connection. To install a NFS server, in a terminal shell, execute the following command.

sudo apt-get install nfs-kernel-server

The directories that are exported by the NFS server and can be mounted by other machines on the same network are listed in the file “/etc/exports.” By default no directories are exported. If a user “joe” wished created a directory called “nfs-export” in his home directory and wished to export this using the NFS server so that other machines could mounted this directory and access the contents, the following could be added to the “/etc/exports” file.

/home/joe/nfs-export *(rw,sync,no_subtree_check)

The option “rw” permits read and write accesses to this directory when mounted as an NFS volume as long as the user mounting the directory has the appropriate file-level permissions within the directory itself. The option “sync” prevents the NFS server from responding to external accesses until local accesses have been completed. There are many other options that can be used in addition to these and it is recommended that the man page for “exports” is read for more details.

If you are exporting a file system for target hardware to root mount, you likely need to allow root access to your exported host file system. This is a security issue in some environments. The symptom that indicates you need to allow root access is you are asked for a password when logging into the target hardware as root, and no password is set.

/home/joe/nfs-export *(rw,sync,no_root_squash,no_subtree_check)

The NFS server does not monitor changes to the “/etc/exports” file and so after modifying the file it is necessary to force the NFS server to export all the directories listed in the file “/etc/exports.” To force the NFS server to export all the directories listed in the file “/etc/exports,” execute the following command in a terminal shell.

sudo /usr/sbin/exportfs -va

Tuff Li:

回复 Louis:

和芯片无关的问题请自行google或者百度

Bingyu Zhu:

回复 Louis:

谢谢您!

我已经在我的主机上面搭建好了ezsdk环境,nfs也弄好了

我现在是从sd卡启动,取消自动启动后,进入bootloader,设置好bootargs后要保存参数时,显示erase nand flash…之后就没反应了,不知应该怎样解决

我的板子是TMDXEVM8148,软件是最新版ezsdk

Bingyu Zhu:

回复 Louis:

谢谢您!

我已经在我的主机上面搭建好了ezsdk环境,nfs也弄好了

我现在是从sd卡启动,取消自动启动后,进入bootloader,设置好bootargs后要保存参数时,显示erase nand flash…之后就没反应了,不知应该怎样解决

我的板子是TMDXEVM8148,软件是最新版ezsdk

赞(0)
未经允许不得转载:TI中文支持网 » 请问如何在TMDXEVM8148平台上搭建nfs环境?
分享到: 更多 (0)