How do I use NFS mount to start rootfs for LS1043

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

How do I use NFS mount to start rootfs for LS1043

902 Views
dana_xiong
Contributor I

Hi,

   

   I use LS1043ARDB board and LSDK1906 want to start the file system by mounting it over NFS,

    But there is no description in the LSDK1906 manual ,

   I would like to ask if there is a detailed description of the documentation.

Thanks,

Dana

Labels (1)
Tags (3)
0 Kudos
1 Reply

853 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Dana,

After deploying rootfs on NFS server, please configure bootargs as the following

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

=>saveenv

<ethx> is the port connected on the Linux boot network.

 

=>tftp 0xa0000000 Image

=>tftp 0xb0000000 <dtb_file>

booti 0xa0000000 - 0xb0000000

 

Note:

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/portmap restart

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

Thanks,

Yiping

0 Kudos