Greetings,
I have hacked the following files to provide limited PXE Emulation
support.
Attached herewith are patches to enable netbooting of FreeBSD via
the pxeboot mechanism using etherboot-5.0.4 on all (etherboot-5.0.4) supported
ethernet cards.
To enable, compile the utilities in /sys/boot/i386 with the enviorment
variable `ETHERBOOT_PXEEMU' set. Compile etherboot with `FREEBSD_PXEEMU'
defined in the Config file.
Also attached is a sample bootptab for your reference.
Files touched:
etherboot-5.0.4/src/Config
etherboot-5.0.4/src/main.c
etherboot-5.0.4/src/misc.c
etherboot-5.0.4/src/etherboot.h
etherboot-5.0.4/src/linux-asm-string.h
etherboot-5.0.4/src/osdep.h
etherboot-5.0.4/src/start32.S
/sys/boot/i386/btx/btx/Makefile
/sys/boot/i386/btx/btx/btx.s
/sys/boot/i386/btx/lib/Makefile
/sys/boot/i386/btx/lib/btxsys.s
/sys/boot/i386/btx/lib/btxv86.h
/sys/boot/i386/libi386/Makefile
/sys/boot/i386/libi386/pxe.c
/sys/boot/i386/pxeldr/Makefile
/sys/boot/i386/pxeldr/pxeldr.s
Please note! This works only with FreeBSD pxeldr style btx clients.
Regards,
rohit
|