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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

516 Views
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 Kudos
Reply
1 Reply

456 Views
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 Kudos
Reply