Compile up both the NFS and the TFTP version of the PXE loader and
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 3 Sep 2005 23:52:53 +0000 (23:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 3 Sep 2005 23:52:53 +0000 (23:52 +0000)
commit423d6aa030d43ea1d66b0572688d0964c641c1b5
tree7bb8d1336f9e9af5c2d2f481e5434633d9fd7a7c
parenta2103e9002648332afc649adabaea94ddfdfe92a
Compile up both the NFS and the TFTP version of the PXE loader and
make both available in /boot.  The NFS version obtains all loader-level data
(including the kernel binary) from the diskless root mount.  The TFTP version
obtains all loader-level data (including the kernel binary) via TFTP.

Do not pass a bogus NFS handle to the kernel (it was previously passing an
all-zero's handle for the TFTP version).

Note that current kernels will not be able to do a NFS root mount from the
tftp version of the loader unless they have BOOTP support compiled in,
because the tftp version of the loader is not able to resolve and pass a
NFS file handle to the kernel.
18 files changed:
sys/boot/i386/Makefile
sys/boot/i386/libi386/pxe.c
sys/boot/i386/loader/Makefile
sys/boot/i386/loader/conf.c
sys/boot/i386/loader_tftp/Makefile [copied from sys/boot/pc32/loader/Makefile with 91% similarity]
sys/boot/i386/loader_tftp/version [new file with mode: 0644]
sys/boot/i386/pxeldr/pxeboot.8
sys/boot/i386/pxeldr_tftp/Makefile [new file with mode: 0644]
sys/boot/i386/pxeldr_tftp/pxeboot_tftp.8 [copied from sys/boot/pc32/pxeldr/pxeboot.8 with 89% similarity]
sys/boot/pc32/Makefile
sys/boot/pc32/libi386/pxe.c
sys/boot/pc32/loader/Makefile
sys/boot/pc32/loader/conf.c
sys/boot/pc32/loader_tftp/Makefile [copied from sys/boot/pc32/loader/Makefile with 91% similarity]
sys/boot/pc32/loader_tftp/version [new file with mode: 0644]
sys/boot/pc32/pxeldr/pxeboot.8
sys/boot/pc32/pxeldr_tftp/Makefile [new file with mode: 0644]
sys/boot/pc32/pxeldr_tftp/pxeboot_tftp.8 [copied from sys/boot/pc32/pxeldr/pxeboot.8 with 89% similarity]