Hi,everyone!
I want to modify the uEnv.txt in sd card to boot my beaglebone from sd card and mount nfs filesystem?
I modified uEnv.txt as follow:
bootargs=console=ttyo0,115200n8 root=/dev/nfs
nfsroot=192.168.1.27:/opt/ti-sdk-am335x-evm/targetNFS rw noinitrd ip=192.168.1.100:192.168.1.27:192.168.1.1:255.255.255.0
ipaddr=192.168.1.100
serverip=192.168.1.27
netmask=255.255.255.0
ethaddr=00:08:ee:05:4d:7e
autoload=no
bootdelay=3
bootcmd=tftp 0x81000000 uImage-am335x;bootm 0x81000000
then, I powered my board on, it will boot from sd card and mount filesystem in mmc not the nfs nfs filesystem .
so ,I have to manually do something in u-boot:
#mmc rescan
#fatload mmc 0 0x81000000 uEnv.txt
#env import -t 0x81000000 $filesize
#boot
then, I can now mount nfs filesystem.
why the uEnv.txt in sdcard don't function? What's the right uEnv.txt to mount nfs filesystem?