freebsd-skq/sys/boot/powerpc
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
..
boot1.chrp Increase the boot1 file size on the HFS boot image. 2016-09-16 22:51:37 +00:00
kboot Stop closing the network device when netbooting for loaders using the common 2016-10-13 22:43:49 +00:00
ofw Stop closing the network device when netbooting for loaders using the common 2016-10-13 22:43:49 +00:00
ps3 Stop closing the network device when netbooting for loaders using the common 2016-10-13 22:43:49 +00:00
uboot Convert a couple lingering NO_FORTH conditionals to test MK_FORTH. 2014-12-23 15:42:34 +00:00
Makefile Add kexec-based Linux shim loader for use with the firmware petitboot 2015-01-05 04:33:39 +00:00
Makefile.inc Clean up PowerPC bootloader compiler flags to fix the build with GCC 5.2 2015-12-03 00:08:50 +00:00