freebsd-dev/sys/boot/arm/uboot
Baptiste Daroussin 1b46e63d3c Stop closing the network device when netbooting for loaders using the common
dev_net.c code.

The NETIF_OPEN_CLOSE_ONCE flag was added in r201932 to prevent that behaviour
on some architectures (sparc64 and powerpc64) the default was left to always
open and close the device for each open and close of a file by the loader
because it was necessary for u-boot on arm.

Since it has been added, the flag was turned on for every arches including the
u-boot loader for arm.

This also fixes netbooting on RPi3 (tested by gonzo@)

For the loader.efi it greatly speeds up netbooting

Reviewed by:	emaste, gonzo, tsoome
Approved by:	gonzo
MFC after:	1 month
Sponsored by:	Gandi.net
Differential Revision:	https://reviews.freebsd.org/D8230
2016-10-13 22:43:49 +00:00
..
conf.c
help.uboot Add a 'ubenv import' command to import environment variables from the 2014-09-08 19:19:10 +00:00
ldscript.arm Align the start of the text segment to an 8-byte boundary. This fixes 2016-04-09 19:09:06 +00:00
loader.conf Create a custom /boot/defaults/loader.conf for ARM. This differs from the 2015-01-03 19:38:37 +00:00
Makefile Stop closing the network device when netbooting for loaders using the common 2016-10-13 22:43:49 +00:00
start.S Create a relocatable instance of ubldr for ARM. The original ubldr, 2015-05-10 19:14:28 +00:00
version