Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/alpha/stand now that boot.c does the bootstrap...



details:   https://anonhg.NetBSD.org/src/rev/c395326f7726
branches:  netbsd-1-4
changeset: 468062:c395326f7726
user:      cgd <cgd%NetBSD.org@localhost>
date:      Mon Apr 05 06:56:24 1999 +0000

description:
now that boot.c does the bootstrap name with a -D, the newvers scripts
are all the same, so eliminate the redundancy.  also, use mrg's
"Version:" trick to find the version rather than using the RCS ID.
(I must have been having a ... bad day.)  Also, bump boot and netboot
versions for all the changes that have been happening lately.

diffstat:

 sys/arch/alpha/stand/boot/Makefile      |  33 ++++++++++++++++++++++++++++++++
 sys/arch/alpha/stand/boot/version       |  20 +++++++++++++++++++
 sys/arch/alpha/stand/netboot/version    |  14 +++++++++++++
 sys/arch/alpha/stand/ustarboot/Makefile |  34 +++++++++++++++++++++++++++++++++
 sys/arch/alpha/stand/ustarboot/version  |   8 +++++++
 5 files changed, 109 insertions(+), 0 deletions(-)

diffs (129 lines):

diff -r 0599186168f2 -r c395326f7726 sys/arch/alpha/stand/boot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/boot/Makefile        Mon Apr 05 06:56:24 1999 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.26.2.2 1999/04/05 06:56:24 cgd Exp $
+
+PROG = boot
+
+SRCS = start.S boot.c loadfile.c blkdev.c prom.c prom_disp.S OSFpal.c
+SRCS+= filesystem.c prom_swpal.S booted_dev.c
+
+BOOT_RELOC = ${SECONDARY_LOAD_ADDRESS}
+
+CPPFLAGS += ${SECONDARY_CPPFLAGS} \
+               -DBOOT_TYPE_NAME='"Secondary"' \
+               -DLIBSA_SINGLE_DEVICE=blkdev \
+                 -D"blkdevioctl(x,y,z)=EINVAL"
+
+CLEANFILES+= vers.c vers.o ${PROG}.sym
+
+${PROG}: ${PROG}.sym
+       @echo creating ${PROG} from ${PROG}.sym...
+       @objcopy --output-target=binary ${PROG}.sym ${PROG}
+       @chmod 644 ${PROG}
+       @ls -l ${PROG}
+       @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${SECONDARY_MAX_LOAD} \
+           ${SECONDARY_MAX_TOTAL} || (rm -f ${PROG} ; false)
+
+SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=yes
+.include "../Makefile.bootprogs"
+
+${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+       sh ${.CURDIR}/../common/newvers.sh ${.CURDIR}/version
+       ${COMPILE.c} vers.c
+       ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
+           ${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
+       ${SIZE} ${PROG}.sym
diff -r 0599186168f2 -r c395326f7726 sys/arch/alpha/stand/boot/version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/boot/version Mon Apr 05 06:56:24 1999 +0000
@@ -0,0 +1,20 @@
+$NetBSD: version,v 1.10.2.2 1999/04/05 06:56:24 cgd Exp $
+
+# The newvers.sh looks for the line below.  We use this method
+# rather than $3 of the dollar-NetBSD-dollar line above so that
+# this version can be on branch-files also.
+Version: 1.10
+
+1.1:   Initial version
+1.2:   don't forget the Id string!
+1.3:   make it work on AlphaStations
+1.4-1: Re-import from master sources
+1.4-2: Complete rewrite of boot block code
+1.5:   Update for new ECOFF headers
+1.6:   Don't pass arguments to the kernel, trim unnecessary environment
+       calls, kill 'ask' loop (i.e. if boot fails, halt), seperate
+       ECOFF and a.out support into seperate options.
+1.7:   Use libsa and libkern rather than building the objects locally.
+1.8:   Search for a kernel, if none specified.
+1.9:   Add support for gzipped kernels.
+1.10:  The Great Boot Block Cleanup of April 1999.
diff -r 0599186168f2 -r c395326f7726 sys/arch/alpha/stand/netboot/version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/netboot/version      Mon Apr 05 06:56:24 1999 +0000
@@ -0,0 +1,14 @@
+$NetBSD: version,v 1.7.2.2 1999/04/05 06:56:24 cgd Exp $
+
+# The newvers.sh looks for the line below.  We use this method
+# rather than $3 of the dollar-NetBSD-dollar line above so that
+# this version can be on branch-files also.
+Version: 1.7
+
+1.1:   Initial version
+1.2:   Cleaned and polished a bit
+1.3:   Use libsa and libkern rather than building the objects locally.
+1.4:   Allow ethernet address to be hardcoded with setnetbootinfo(8).
+1.5:   Search for a kernel, if none specified.
+1.6:   Add support for gzipped kernels.
+1.7:   The Great Boot Block Cleanup of April 1999.
diff -r 0599186168f2 -r c395326f7726 sys/arch/alpha/stand/ustarboot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/ustarboot/Makefile   Mon Apr 05 06:56:24 1999 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.3.2.2 1999/04/05 06:56:25 cgd Exp $
+
+PROG = ustarboot
+
+SRCS = start.S boot.c loadfile.c blkdev.c prom.c prom_disp.S OSFpal.c
+SRCS+= prom_swpal.S booted_dev.c
+
+BOOT_RELOC = ${UNIFIED_LOAD_ADDRESS}
+
+CPPFLAGS += ${UNIFIED_CPPFLAGS} \
+               -DBOOT_TYPE_NAME='"ustar"' \
+               -DLIBSA_SINGLE_DEVICE=blkdev \
+                 -D"blkdevioctl(x,y,z)=EINVAL" \
+               -DLIBSA_SINGLE_FILESYSTEM=ustarfs
+
+CLEANFILES+= vers.c vers.o ${PROG}.sym
+
+${PROG}: ${PROG}.sym
+       @echo creating ${PROG} from ${PROG}.sym...
+       @objcopy --output-target=binary ${PROG}.sym ${PROG}
+       @chmod 644 ${PROG}
+       @ls -l ${PROG}
+       @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \
+           ${UNIFIED_MAX_TOTAL} || (rm -f ${PROG} ; false)
+
+SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=yes
+.include "../Makefile.bootprogs"
+
+${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+       sh ${.CURDIR}/../common/newvers.sh ${.CURDIR}/version
+       ${COMPILE.c} vers.c
+       ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
+           ${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
+       ${SIZE} ${PROG}.sym
diff -r 0599186168f2 -r c395326f7726 sys/arch/alpha/stand/ustarboot/version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/ustarboot/version    Mon Apr 05 06:56:24 1999 +0000
@@ -0,0 +1,8 @@
+$NetBSD: version,v 1.2.2.2 1999/04/05 06:56:25 cgd Exp $
+
+# The newvers.sh looks for the line below.  We use this method
+# rather than $3 of the dollar-NetBSD-dollar line above so that
+# this version can be on branch-files also.
+Version: 1.1
+
+1.1:   Initial version (part of The Great Boot Block Cleanup of April 1999).



Home | Main Index | Thread Index | Old Index