Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 11/27/1999 16:32:30
Module Name: syssrc
Committed By: simonb
Date: Sun Nov 28 00:32:30 UTC 1999
Added Files:
syssrc/sys/arch/pmax/stand/installboot: Makefile installboot.c
installboot.h loadbootstrap.c
Log Message:
Bootblock installer - based heavily on the alpha installboot but with
some significant differences:
* Because the pmax bootblocks don't have a fixed load address, we
need to keep the first stage blocks in /usr/mdec with some sort
of executable format that includes load and transfer address.
Since ELF is native, /usr/mdec/bootxx_* are in ELF format and
installboot (in loadbootstrap.c) needs knowledge of the ELF format.
* Support for installing the first stage at an arbitiary position.
-a adds the first stage to end of the "disk" (only on works on
regular files) and -i <block> puts the first stage at ISO
filesystem block number <block> for use in multi-arch boot
CDs (see installboot(8) for more details and an example).
* No checksum support. This should really be done in some sort of
MI way rather than duplicating code between ports' installboot.c
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 syssrc/sys/arch/pmax/stand/installboot/Makefile \
syssrc/sys/arch/pmax/stand/installboot/installboot.c \
syssrc/sys/arch/pmax/stand/installboot/installboot.h \
syssrc/sys/arch/pmax/stand/installboot/loadbootstrap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.