[U-Boot] [RFC PATCH 3/3] move wandboard over to use the generic distro configuratin and environment

Stephen Warren swarren at wwwdotorg.org
Wed Feb 19 18:50:07 CET 2014


On 02/17/2014 10:56 AM, Dennis Gilmore wrote:
> Signed-off-by: Dennis Gilmore <dennis at ausil.us>

> diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h

> -	"netargs=setenv bootargs console=${console},${baudrate} " \
> -		"root=/dev/nfs " \
> -	"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
> -		"netboot=echo Booting from net ...; " \
> -		"run netargs; " \
> -		"if test ${ip_dyn} = yes; then " \
> -			"setenv get_cmd dhcp; " \
> -		"else " \
> -			"setenv get_cmd tftp; " \
...

This one also removes nfsroot stuff.

Admittedly I would personally argue that nfsroot setup belong in the
boot.scr that comes from some TFTP server, and I wrote the Tegra boot
scripts assuming that, but I probably got away with that for Tegra since
we never had any nfsroot setup in the default environment. People using
these boards might like to keep their working features:-) Perhaps we
could persuade people to adapt though?


More information about the U-Boot mailing list