Hi All,

I think I found a answer to the question I posted above. It may not be the 
most elegant solution but it works for now so I would move on, but I 
thought to share my findings here. Below is my new uEnv.txt file which I 
put on the first partition of the sd card

bootpart=0:1
bootdir=
loadimage=fatload mmc ${bootpart} ${loadaddr} zImage
loadfdt=fatload mmc ${bootpart} ${fdtaddr} am335x-boneblack.dtb
bootargs_nfs=setenv ipaddr 192.168.1.6;setenv serverip 192.168.1.22;setenv 
bootargs console=ttyO0,115200 root=/dev/nfs rw 
nfsroot=${serverip}:/home/onio/rootfs ip=${ipaddr} rootfstype=ext4 rootwait
uenvcmd=run loadimage;run loadfdt;run bootargs_nfs; printenv bootargs; 
bootz ${loadaddr} - ${fdtaddr};

The solution was to assign a valid "u-boot instruction" to a variable and 
then use the u-boot uenvcmd=run variable command to execute the assigned 
variable instruction 


Example:
bootargs_nfs=setenv ipaddr 192.168.1.6;setenv serverip 192.168.1.22;setenv 
bootargs console=ttyO0,115200 root=/dev/nfs rw 
nfsroot=${serverip}:/home/onio/rootfs ip=${ipaddr} rootfstype=ext4 rootwait
uenvcmd=run bootargs_nfs;


Sets host ip address to 192.168.1.6
sets server ip address to 192.168.1.22
sets bootargs to use nfs etc

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2b471400-cdc4-4e3a-87a0-803ddd3f3078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to