freebsd-dev/sys/boot/uboot
Ian Lepore 0d2550a169 If the user has set a u-boot env var named rootpath, automatically
import it into the loader(8) env as dhcp.root-path, so that it overrides
any dhcp/bootp server-provided path.

Now if you have a dhcp server available you can easily net-boot a u-boot
system even if you don't control the dhcp server config, by setting just
two variables in the u-boot env:

  loaderdev=net
  rootpath=<nfsserverip>:<pathname>

Previously you had to either accept all the dhcp parameters from the
server without the ability to locally provide the rootpath, or you had
to forego dhcp and set more vars (ipaddr, netmask, serverip, rootpath).
2016-02-22 18:53:55 +00:00
..
common Fix the error checking for the ubenv command. This moves the check for an 2015-12-29 21:29:05 +00:00
fdt Make dtb file configurable via loader(8) variable. ubldr already checks 2015-08-15 21:47:07 +00:00
lib If the user has set a u-boot env var named rootpath, automatically 2016-02-22 18:53:55 +00:00
Makefile Start to allow platforms other than U-Boot to use the FDT code in loader by 2014-11-01 17:12:44 +00:00
Makefile.inc Rename the linker emulation name for powerpc and powerc64. This is needed that 2011-11-19 19:25:57 +00:00