Jump to content

IMX8/Nitrogen8M/Yocto/Advanced image loading: Difference between revisions

Line 196: Line 196:
  fi
  fi
-if test "sata" = "${devtype}" ; then
-if test "sata" = "${devtype}" ; then
+test "nfs" = "${fstype}" ; then
+if test "nfs" = "$fstype" ; then
+ setenv bootargs "${bootargs} root=/dev/nfs rw ip=dhcp nfsroot=${tftpserverip}:${nfsroot},v3,tcp" ;
+ setenv bootargs "${bootargs} root=/dev/nfs rw ip=dhcp nfsroot=${tftpserverip}:${nfsroot},v3,tcp" ;
+elif test "sata" = "${devtype}" ; then
+elif test "sata" = "${devtype}" ; then
866

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.