AnsweredAssumed Answered

NFS deployment not working -p2041rdb

Question asked by GOKULRAJ PANDIYAN on Jul 4, 2016
Latest reply on Jul 29, 2016 by GOKULRAJ PANDIYAN

I just followed instructions given in QorIQ-SDK2.0 doc as below.

 

1.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)

ex. /home/cdot/yacto/new_rfs 192.168.43.129(rw,no_root_squash,async)

2.Restart the NFS service:

/etc/init.d/nfs restart

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

3.Setting U-Boot Environment

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

=>setenv netdev <ethx>

=>saveenv

ex.

setenv bootargs root=/dev/nfs-kernel- server rw nfsroot=192.168.43.60:/home/cdot/yacto/new_rfs ip=192.168.43.129:192.168.43.69:192.168.43.1:255.255.255.0:p2041rdb:fm1-gb0:off console=ttyS0,115200

setenv netdev fm1-gb0

saveenv

4.Booting up the System

bootm ec02000 - ec80000

 

=>loads only uImage and dtb and then goes for reboot after 180 secs.

 

Note.

1.My u-boot,RCW and FMan ucode are in NOR flash at EBF40000,EC000000,EBF00000 respectively.

2.My uImage,DTB are also in NOR Flash at EC020000,EC800000  respectively

3.RAMDISK deployment from TFTP and NOR flash is working fine.

Outcomes