DragonFly BSD

CVS log for src/sys/boot/i386/loader/Attic/Makefile

[BACK] Up to [DragonFly] / src / sys / boot / i386 / loader

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12
Fri May 18 07:41:43 2007 UTC (7 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.11: +1 -1 lines
Finish moving boot/i386 to boot/pc32 (it was left half done), remove
boot/i386, and cleanup boot/pc32.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Sep 3 23:52:49 2005 UTC (9 years ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8, DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6, DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +1 -4 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 7 11:49:56 2005 UTC (9 years, 2 months ago) by corecode
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +1 -1 lines
convert ln to ${LN}

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jul 5 20:35:35 2005 UTC (9 years, 2 months ago) by dillon
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +8 -8 lines
Revert the last commit until a better solution can be found, it breaks
the build.

Reported-by: Numerous

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jul 4 21:39:05 2005 UTC (9 years, 2 months ago) by asmodai
Branches: MAIN
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +8 -8 lines
Rename the variable PROG to LDR to remove a warning message about
'line 43: warning: duplicate script for target "loader" ignored"'.

The thing was that ${PROG}: was specified later on in the Makefile, which
conflicts with line 39 from bsd.prog.mk, which is:

${PROG}: ${OBJS}

thus redefining ${PROG} or rather loader.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 14 09:41:01 2004 UTC (9 years, 11 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +2 -1 lines
Add /boot/defaults/loader-bootp.conf, a separate default configuration
file for bootp boots.  It's basically the same as defaults/loader.conf
but with auxillary config file names extended with -bootp.  Changes are
as follows:

bootfile="kernel.BOOTP"
userconfig_script_name="/boot/kernel-bootp.conf"
loader_conf_files="/boot/device.hints /boot/loader-bootp.conf /boot/loader-bootp.conf.local"
nextboot_conf="/boot/nextboot-bootp.conf"

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 19 23:30:38 2004 UTC (10 years, 2 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +10 -1 lines
MAJOR BOOT CODE REVAMP / 30 hour+ hacking session (50 if you include the
attempt I made last month).

* Document the code wherever possible.  The previous code had lots of
  basically useless comments.

* Consolidate constants and calculations into a single header file.  The
  previous code separately defined the constants, did not document the
  relationships (which is why it took 30+ hours to fix), and often used
  unrelated numerical optimizations to get from one constant def to another.

* Most address ORG values can now be modified in one place (bootasm.h) and
  the boot code will actually still work.  Note, however, that many ORG
  values must still be < 0x10000 due to the lack of segment register use in
  16 bit code.   This can be fixed with additional work, but not in this
  commit.

* Provide two alternative address ORG relocations for experimentation
  purposes.

* Fix what I believe to be a bug in boot2/boot2.c.  Boot2.c was accessing
  the drive/slice data stored by boot1 using the base-offset-0 linear address
  instead of the btx-client-user address.  Additionally, boot1 was storing
  the data at a location that the btx client could not access.
  (see MEM_BTX_USR_ARG)

* Fix a heap/stack collision in the loader.  The loader was setting the end
  of the heap to the end of BIOS memory without taking into account the
  fact that its stack was likely growing downward starting at the end of
  BIOS memory.

* Fix a heap calculation error in the loader.  The loader was using the
  physical address representation of the end of BIOS memory instead of the
  virtual address representatino, which can result in the loader pushing into
  BIOS memory.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 28 19:24:14 2004 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +1 -1 lines
Undo some of the previously made changes to deal with cross build issues
from 4.x and older versions of DFly.

sys.mk should *NOT* include bsd.init.mk.  That is way, way too early and
blows up .inc files, e.g. such as those used by sys/boot.

Rename .sub back to .inc in sys/boot (more on the way) so it will cross build
from 4.x.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 26 19:49:32 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +1 -1 lines
Rename Makefile.in to Makefile.sub

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 10 06:08:36 2003 UTC (10 years, 10 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +17 -31 lines
Fully synchronize sys/boot from FreeBSD-5.x, but add / to the module path
so /kernel will be found and loaded instead of /boot/kernel.  This will
give us all the capabilities of the FreeBSD-5 boot code including AMD64 and
ELF64 support.

As part of this work, rather then try to adjust ufs/fs.h and friends to get
UFS2 info I instead copied the fs.h and friends from FreeBSD-5 into the
sys/boot subtree

Additionally, import Peter Wemm's linker set improvements from FreeBSD-5.x.
They happen to be compatible with GCC 2.95.x and it allows very few changes
to be made to the boot code.

NOTE!  UFS2 support is not enabled by default as of this commit because it
causes boot2 to run over its limit by 88 bytes.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 04:28:18 2003 UTC (11 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: PRE_MP
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -0 lines
Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids.  Most
ids have been removed from !lint sections and moved into comment sections.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:53:50 2003 UTC (11 years, 3 months ago) by dillon
Branches: MAIN
CVS tags: FREEBSD_4_FORK
import from FreeBSD RELENG_4 1.41.2.8

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options