I've successfully been able to boot my AM335x-EVMSK via ethernet (kernel and root filesystem), using the following commands from the u-boot prompt.
setenv serverip 192.168.3.204 setenv bootfile zImage setenv fdtfile am335x-evmsk.dtb setenv rootpath /am-rootfs
I'm pretty sure that also setting "bootcmd=run netboot" would cause this to automatically happen, if I could get these variables to save into the u-boot environment.
I can't get that to work, though. I tried "saveenv", and I'm told the environment is saved, but when I reboot, those variable are gone. I've also created a uEnv.txt (int *nix format with a newline at the end of the file) with these variables, on the DOS partition of the SD card, but that doesn't seem to work either.
How do I make these persistent, so my device boots via ethernet automatically?