about t1040Deploy U-Boot, Linux Kernel, and Root Filesystem to a Reference Design Board (RDB)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

about t1040Deploy U-Boot, Linux Kernel, and Root Filesystem to a Reference Design Board (RDB)

869 次查看
412125192
Contributor II

请问关于3. Use Yocto Project to generate a tar.gz type file system, and uncompress it in <nfs_root_path>.中generate a tar.gz type file system是产生哪些文件?以及<nfs_root_path>是指哪个路径?

0 项奖励
回复
1 回复

809 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello 吴 博,

The tar.gz filesystem generates folders as the following.

bin  boot  dev  etc  home  lib  linuxrc media  mnt  proc  root  run  sbin  sys  tmp  usr  var

Setting Host NFS Server Environment
a. On the Linux host NFS server, add the following line in the file /etc/exports:
<nfs_root_path> <board_ipaddress>(rw,no_root_squash,async)
b. Restart the NFS service:
/etc/init.d/nfs restart

=>setenv bootargs root=/dev/nfs rw nfsroot=<tftp_serverip>:<nfs_root_path>
ip=<board_ipaddr>:<tftp_serverip>:
<your_gatewayip>:<your_netmask>:<board_name>:eth0:off console=ttyS0,115200

 

nfs_root_path is llike "/nfsroot/b20826".

Please refer to the following in /etc/exports.

/nfsroot/b20826 192.168.2.1/24(rw,no_root_squash,async)

Thanks,

Yiping

0 项奖励
回复