Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 17:19:53 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/i386 Makefile.inc Makefile src/sys/boot/i386/btx/btxldr Makefile btxldr.s src/sys/boot/i386/cdldr Makefile cdldr.s src/sys/boot/i386/libi386 pxe.c biosdisk.c libi386.h src/sys/boot/i386/loader Makefile ...
Message-ID:  <200003280119.RAA11729@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2000/03/27 17:19:53 PST

  Modified files:
    sys/boot/i386        Makefile 
    sys/boot/i386/btx/btxldr Makefile btxldr.s 
    sys/boot/i386/cdldr  Makefile cdldr.s 
    sys/boot/i386/libi386 biosdisk.c libi386.h 
    sys/boot/i386/loader Makefile conf.c main.c 
  Added files:
    sys/boot/i386        Makefile.inc 
    sys/boot/i386/libi386 pxe.c 
    sys/boot/i386/pxeldr Makefile pxeldr.s 
  Log:
  Mega i386 loader commit.
  - Don't hard code 0x10000 as the entry point for the loader.  Instead add
    src/sys/boot/i386/Makefile.inc which defines a make variable with the
    entry point for the loader.  Move the loader's entry point up to
    0x20000, which makes PXE happy.
  - Don't try to use cpp to parse btxldr for the optional BTXLDR_VERBOSE,
    instead use m4 to achieve this.  Also, add a BTXLDR_VERBOSE knob in the
    btxldr Makefile to turn this option on.
  - Redo parts of cdldr's Makefile so that it now builds and installs cdboot
    instead of having i386/loader/Makefile do that.  Also, add in some more
    variables to make the pxeldr Makefile almost identical and thus to ease
    maintainability.
  - Teach cdldr about the a.out format.  Cdldr now parsers the a.out header
    of the loader binary and relocates it based on that.  The entry point of
    the loader no longer has to be hardcoded into cdldr.  Also, the boot
    info table from mkisofs is no longer required to get a useful cdboot.
  - Update the lsdev function for BIOS disks to parse other file systems
    (such as DOS FAT) that we currently support.  This is still buggy as
    it assumes that a floppy with a DOS boot sector actually has a MBR and
    parses it as such.  I'll be fixing this in the future.
  - The biggie:  Add in support for booting off of PXE-enabled network
    adapters.  Currently, we use the TFTP API provided by the PXE BIOS.
    Eventually we will switch to using the low-level NIC driver thus
    allowing both TFTP and NFS to be used, but for now it's just TFTP.
  
  Submitted by:	ps, alfred
  Testing by:	Benno Rice <benno@netizen.com.au>
  
  Revision  Changes    Path
  1.12      +6 -2      src/sys/boot/i386/Makefile
  1.8       +12 -6     src/sys/boot/i386/btx/btxldr/Makefile
  1.9       +56 -46    src/sys/boot/i386/btx/btxldr/btxldr.s
  1.2       +28 -11    src/sys/boot/i386/cdldr/Makefile
  1.2       +65 -60    src/sys/boot/i386/cdldr/cdldr.s
  1.29      +31 -7     src/sys/boot/i386/libi386/biosdisk.c
  1.12      +4 -2      src/sys/boot/i386/libi386/libi386.h
  1.42      +8 -19     src/sys/boot/i386/loader/Makefile
  1.12      +3 -1      src/sys/boot/i386/loader/conf.c
  1.18      +42 -13    src/sys/boot/i386/loader/main.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003280119.RAA11729>