The results of my cats NWDO hacking.
This was tested using a custom INSTALL kernel. The current one is >4Mb which the cats firmware can't currently boot. We need to decide what needs to be removed from INSTALL.
This commit is contained in:
parent
8bd1df21b5
commit
ac60400580
15
distrib/cats/Makefile
Normal file
15
distrib/cats/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.1 2002/04/11 16:33:58 skrll Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
ITARGET= ${RELEASEDIR}/installation
|
||||
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE}
|
||||
|
||||
SUBDIR= ramdisk .WAIT instkernel
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
||||
INSTOBJ!= cd ${.CURDIR}/instkernel && ${PRINTOBJDIR}
|
||||
|
||||
release: check_RELEASEDIR
|
||||
${IINST} ${INSTOBJ}/netbsd.${kern}.gz ${ITARGET}/
|
48
distrib/cats/instkernel/Makefile
Normal file
48
distrib/cats/instkernel/Makefile
Normal file
@ -0,0 +1,48 @@
|
||||
# $NetBSD: Makefile,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${_SRC_TOP_}/distrib/Makefile.inc"
|
||||
|
||||
.include <bsd.kernobj.mk>
|
||||
|
||||
CLEANFILES= netbsd.tmp netbsd.tmp.gz
|
||||
|
||||
RAMDISKS= RAMDISK ramdisk
|
||||
|
||||
.for V F in ${RAMDISKS}
|
||||
${V}DIR!= cd ${.CURDIR}/../${F} && ${PRINTOBJDIR}
|
||||
${V}= ${${V}DIR}/${F}.fs
|
||||
.endfor
|
||||
|
||||
# create netbsd.*.gz targets
|
||||
#
|
||||
# TARGETS is a list of:
|
||||
# KERNEL_name fs-image
|
||||
#
|
||||
TARGETS= INSTALL ${RAMDISK}
|
||||
|
||||
.for K R in ${TARGETS}
|
||||
KERNELS+= netbsd.${K}.gz
|
||||
KERNELSYMS+= netbsd.${K}.symbols
|
||||
CLEANFILES+= netbsd.${K}.gz netbsd.${K}.symbols
|
||||
netbsd.${K}.gz: .NOTMAIN ${KERNOBJDIR}/${K}/netbsd ${R}
|
||||
@echo "Populating ${.TARGET} with ${R}"
|
||||
cp ${KERNOBJDIR}/${K}/netbsd netbsd.tmp
|
||||
${MDSETIMAGE} -v netbsd.tmp ${R}
|
||||
${NM} netbsd.tmp > netbsd.${K}.symbols
|
||||
${STRIP} netbsd.tmp
|
||||
OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
|
||||
${_SRC_TOP_}/sys/arch/arm/conf/elf2aout.sh netbsd.tmp netbsd.tmp
|
||||
gzip -9 netbsd.tmp
|
||||
mv netbsd.tmp.gz ${.TARGET}
|
||||
.endfor
|
||||
|
||||
# do the work
|
||||
#
|
||||
realall: ${KERNELS}
|
||||
|
||||
release:
|
||||
-mkdir -p ${RELEASEDIR}/binary/kernel
|
||||
cp -p ${KERNELS} ${KERNELSYMS} ${RELEASEDIR}/binary/kernel
|
||||
|
||||
.include <bsd.prog.mk>
|
39
distrib/cats/ramdisk/Makefile
Normal file
39
distrib/cats/ramdisk/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $NetBSD: Makefile,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${_SRC_TOP_}/distrib/Makefile.inc"
|
||||
|
||||
IMAGE= ramdisk.fs
|
||||
IMAGESIZE= 1900k
|
||||
MAKEFS_FLAGS= -f 10
|
||||
|
||||
WARNS= 1
|
||||
|
||||
CRUNCHBIN= ramdiskbin
|
||||
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
||||
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
||||
IMAGEENDIAN= le
|
||||
MAKEDEVTARGETS= ramdisk
|
||||
PARSELISTENV= PWD_MKDB=${PWD_MKDB:Q}
|
||||
IMAGEDEPENDS= ${CRUNCHBIN} \
|
||||
disktab.preinstall dot.hdprofile dot.profile termcap.vt100 \
|
||||
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
|
||||
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
||||
${_SRC_TOP_}/etc/services
|
||||
|
||||
# Use stubs to eliminate some large stuff from libc
|
||||
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
||||
.include "${HACKSRC}/Makefile.inc"
|
||||
${CRUNCHBIN}: libhack.o
|
||||
|
||||
|
||||
realall: ${IMAGE}
|
||||
|
||||
release:
|
||||
|
||||
|
||||
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
||||
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
||||
.include "${DISTRIBDIR}/common/Makefile.image"
|
||||
|
||||
.include <bsd.prog.mk>
|
31
distrib/cats/ramdisk/disktab.preinstall
Normal file
31
distrib/cats/ramdisk/disktab.preinstall
Normal file
@ -0,0 +1,31 @@
|
||||
# $NetBSD: disktab.preinstall,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
#
|
||||
# Disk geometry and partition layout tables.
|
||||
# Key:
|
||||
# dt controller type
|
||||
# ty type of disk (fixed, removeable, simulated)
|
||||
# d[0-4] drive-type-dependent parameters
|
||||
# ns #sectors/track
|
||||
# nt #tracks/cylinder
|
||||
# nc #cylinders/disk
|
||||
# sc #sectors/cylinder, nc*nt default
|
||||
# su #sectors/unit, sc*nc default
|
||||
# se sector size, DEV_BSIZE default
|
||||
# rm rpm, 3600 default
|
||||
# sf supports bad144-style bad sector forwarding
|
||||
# sk sector skew per track, default 0
|
||||
# cs sector skew per cylinder, default 0
|
||||
# hs headswitch time, default 0
|
||||
# ts one-cylinder seek time, default 0
|
||||
# il sector interleave (n:1), 1 default
|
||||
# bs boot block size, default BBSIZE
|
||||
# sb superblock size, default SBSIZE
|
||||
# o[a-h] partition offsets in sectors
|
||||
# p[a-h] partition sizes in sectors
|
||||
# b[a-h] partition block sizes in bytes
|
||||
# f[a-h] partition fragment sizes in bytes
|
||||
# t[a-h] partition types (filesystem, swap, etc)
|
||||
#
|
||||
# All partition sizes reserve space for bad sector tables.
|
||||
# (5 cylinders needed for maintenance + replacement sectors)
|
||||
#
|
62
distrib/cats/ramdisk/dot.hdprofile
Normal file
62
distrib/cats/ramdisk/dot.hdprofile
Normal file
@ -0,0 +1,62 @@
|
||||
# $NetBSD: dot.hdprofile,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
#
|
||||
# Copyright (c) 1994 Christopher G. Demetriou
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. All advertising materials mentioning features or use of this software
|
||||
# must display the following acknowledgement:
|
||||
# This product includes software developed for the
|
||||
# NetBSD Project. See http://www.netbsd.org/ for
|
||||
# information about NetBSD.
|
||||
# 4. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
|
||||
export PATH
|
||||
TERM=pc3
|
||||
export TERM
|
||||
HOME=/
|
||||
export HOME
|
||||
|
||||
umask 022
|
||||
|
||||
if [ "X${DONEPROFILE}" = "X" ]; then
|
||||
DONEPROFILE=YES
|
||||
export DONEPROFILE
|
||||
|
||||
echo "Checking filesystems..."
|
||||
fsck -y
|
||||
|
||||
echo "Mounting root..."
|
||||
mount -u /
|
||||
|
||||
# set up some sane defaults
|
||||
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
|
||||
stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
|
||||
echo ''
|
||||
|
||||
TERMCAP=/.termcap ; export TERMCAP
|
||||
|
||||
[ -x /sysinst ] && /sysinst
|
||||
fi
|
64
distrib/cats/ramdisk/dot.profile
Normal file
64
distrib/cats/ramdisk/dot.profile
Normal file
@ -0,0 +1,64 @@
|
||||
# $NetBSD: dot.profile,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
#
|
||||
# Copyright (c) 1997 Perry E. Metzger
|
||||
# Copyright (c) 1994 Christopher G. Demetriou
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. All advertising materials mentioning features or use of this software
|
||||
# must display the following acknowledgement:
|
||||
# This product includes software developed for the
|
||||
# NetBSD Project. See http://www.netbsd.org/ for
|
||||
# information about NetBSD.
|
||||
# 4. The name of the author may not be used to endorse or promote products
|
||||
# derived from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
|
||||
export PATH
|
||||
TERM=pc3
|
||||
export TERM
|
||||
HOME=/
|
||||
export HOME
|
||||
|
||||
umask 022
|
||||
|
||||
ROOTDEV=/dev/md0a
|
||||
|
||||
if [ "X${DONEPROFILE}" = "X" ]; then
|
||||
DONEPROFILE=YES
|
||||
export DONEPROFILE
|
||||
|
||||
# set up some sane defaults
|
||||
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
|
||||
stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
|
||||
echo ''
|
||||
|
||||
# mount the ramdisk read write
|
||||
mount -u $ROOTDEV /
|
||||
|
||||
# mount the kern_fs so that we can examine the dmesg state
|
||||
mount -t kernfs /kern /kern
|
||||
|
||||
# run the installation or upgrade script.
|
||||
sysinst
|
||||
fi
|
81
distrib/cats/ramdisk/list
Normal file
81
distrib/cats/ramdisk/list
Normal file
@ -0,0 +1,81 @@
|
||||
# $NetBSD: list,v 1.1 2002/04/11 16:33:59 skrll Exp $
|
||||
|
||||
SRCDIRS bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/dd
|
||||
PROG bin/df
|
||||
PROG bin/ed
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
PROG bin/sync
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/fsck
|
||||
PROG sbin/fsck_ffs
|
||||
PROG sbin/ifconfig
|
||||
PROG sbin/init
|
||||
PROG sbin/mknod
|
||||
PROG sbin/mount
|
||||
PROG sbin/mount_cd9660
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_filecore
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_msdos
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
PROG sbin/reboot sbin/halt
|
||||
PROG sbin/restore sbin/rrestore
|
||||
PROG sbin/route
|
||||
PROG sbin/shutdown
|
||||
PROG sbin/slattach
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
|
||||
PROG usr/bin/less usr/bin/more
|
||||
PROG usr/bin/sed
|
||||
PROG usr/bin/tip
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
|
||||
LIBS libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm
|
||||
|
||||
# init invokes the shell as -sh
|
||||
ARGVLN sh -sh
|
||||
|
||||
# various files that we need in /etc for the install
|
||||
COPY ${_SRC_TOP_}/etc/group etc/group
|
||||
COPY ${_SRC_TOP_}/etc/master.passwd etc/master.passwd
|
||||
COPY ${_SRC_TOP_}/etc/netconfig etc/netconfig
|
||||
COPY ${_SRC_TOP_}/etc/protocols etc/protocols
|
||||
COPY ${_SRC_TOP_}/etc/services etc/services
|
||||
|
||||
#CMD ${PWD_MKDB} -L -d ./ etc/master.passwd
|
||||
#
|
||||
#MTREE ./etc/pwd.db type=file uname=root gname=wheel mode=0644
|
||||
#MTREE ./etc/spwd.db type=file uname=root gname=wheel mode=0600
|
||||
|
||||
# and the common installation tools
|
||||
COPY ${CURDIR}/termcap.mini usr/share/misc/termcap
|
||||
|
||||
# the disktab explanation file
|
||||
COPY ${CURDIR}/disktab.preinstall etc/disktab.preinstall
|
||||
|
||||
# and the installation tools
|
||||
COPY ${CURDIR}/dot.profile .profile
|
||||
COPY ${CURDIR}/dot.hdprofile tmp/.hdprofile
|
61
distrib/cats/ramdisk/termcap.mini
Normal file
61
distrib/cats/ramdisk/termcap.mini
Normal file
@ -0,0 +1,61 @@
|
||||
# $NetBSD: termcap.mini,v 1.1 2002/04/11 16:34:00 skrll Exp $
|
||||
#
|
||||
# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
# 1. Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# 2. Redistributions in binary form must reproduce the above copyright
|
||||
# notice, this list of conditions and the following disclaimer in the
|
||||
# documentation and/or other materials provided with the distribution.
|
||||
# 3. All advertising materials mentioning features or use of this software
|
||||
# must display the following acknowledgement:
|
||||
# This product includes software developed by the University of
|
||||
# California, Berkeley and its contributors.
|
||||
# 4. Neither the name of the University nor the names of its contributors
|
||||
# may be used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# @(#)termcap.src 5.109 (Berkeley) 3/8/93
|
||||
#
|
||||
pc3|ibmpc3|IBM PC 386BSD Console:\
|
||||
:DO=\E[%dB:K1=\E[H:K2=\E[E:K3=\E[I:K4=\E[F:K5=\E[G:LE=\E[%dD:\
|
||||
:RI=\E[%dC:UP=\E[%dA:am:bl=^G:bs:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
|
||||
:cm=\E[%i%d;%dH:co#80:cr=^M:do=^J:ho=\E[H:is=\E[m:k0=\E[V:k1=\E[M:\
|
||||
:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
|
||||
:kD=\177:kH=\E[F:kN=\E[G:kP=\E[I:kb=\177:kd=\E[B:kh=\E[H:kl=\E[D:\
|
||||
:kr=\E[C:ku=\E[A:le=^H:li#25:ms:nd=\E[C:rs=\E[m\E[x\E[14r:se=\E[m:\
|
||||
:sf=\E[S:so=\E[7m:sr=\E[T:ta=^I:te=\E[m:ti=\E[m:up=\E[A:km:pt:\
|
||||
:AL=\E[%dL:DL=\E[%dM:SF=\E[%dS:SR=\E[%dT:al=\E[L:dl=\E[M:
|
||||
|
||||
vt100|vt100-am|dec vt100 (w/advanced video):\
|
||||
:am:bs:ms:xn:xo:\
|
||||
:co#80:it#8:li#24:vt#3:\
|
||||
:@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
|
||||
:LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
|
||||
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
|
||||
:ae=\E(B:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
|
||||
:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
|
||||
:eA=\E(B:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
|
||||
:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
|
||||
:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
|
||||
:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
|
||||
:nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
|
||||
:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
|
||||
:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
|
||||
:up=\E[A:us=\E[4m:
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2002/02/11 13:50:18 skrll Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2002/04/11 16:34:00 skrll Exp $
|
||||
#
|
||||
# Makefile for cats
|
||||
#
|
||||
@ -8,6 +8,7 @@
|
||||
SRCS= menu_defs.c msg_defs.c main.c install.c upgrade.c \
|
||||
txtwalk.c run.c factor.c net.c disks.c disks_lfs.c util.c geom.c \
|
||||
label.c target.c md.c
|
||||
SRCS+= aout2elf.c
|
||||
|
||||
md.o: menu_defs.h msg_defs.h
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md.c,v 1.1 2002/02/11 13:50:18 skrll Exp $ */
|
||||
/* $NetBSD: md.c,v 1.2 2002/04/11 16:34:00 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -337,6 +337,7 @@ int md_make_bsd_partitions (void)
|
||||
int
|
||||
md_update(void)
|
||||
{
|
||||
move_aout_libs();
|
||||
endwin();
|
||||
md_copy_filesystem();
|
||||
md_post_newfs();
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md.h,v 1.1 2002/02/11 13:50:18 skrll Exp $ */
|
||||
/* $NetBSD: md.h,v 1.2 2002/04/11 16:34:00 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -116,6 +116,9 @@ EXTERN char *disk_names[]
|
||||
*/
|
||||
EXTERN char *fdtype INIT("msdos");
|
||||
|
||||
#define LIB_COUNT 0
|
||||
#define LIB_MOVE 1
|
||||
|
||||
/*
|
||||
* prototypes for MD code.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.md.en,v 1.1 2002/02/11 13:50:18 skrll Exp $ */
|
||||
/* $NetBSD: msg.md.en,v 1.2 2002/04/11 16:34:00 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -76,3 +76,11 @@ Partition size? }
|
||||
message catsfspart
|
||||
{We now have your NetBSD partitions on %s as follows (Size and Offset in %s):
|
||||
}
|
||||
|
||||
message emulbackup
|
||||
{Either the /emul/aout or /emul directory on your system was a symbolic link
|
||||
pointing to an unmounted filesystem. It has been given a '.old' extension.
|
||||
Once you bring your upgraded system back up, you may need to take care
|
||||
of merging the newly created /emul/aout directory with the old one.
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msg.md.fr,v 1.1 2002/02/11 13:50:19 skrll Exp $ */
|
||||
/* $NetBSD: msg.md.fr,v 1.2 2002/04/11 16:34:00 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997 Piermont Information Systems Inc.
|
||||
@ -79,3 +79,11 @@ message catsfspart
|
||||
{Nous avons maintenant vos partitions NetBSD sur %s comme suit
|
||||
(taille et Offset en %s) :
|
||||
}
|
||||
|
||||
message emulbackup
|
||||
{Ou /emul/aout ou r\xe9pertoire d' /emul sur votre syst\xe8me \xe9tait un lien symbolique
|
||||
se dirigeant \xe0 un filesystem non-mont\xe9. Il a \xe9t\xe9 donn\xe9 une extension d' 'old'. Une
|
||||
fois que vous apportez votre copie de sauvegarde am\xe9lior\xe9e de syst\xe8me, vous
|
||||
pouvez devoir prendre soin de fusionner nouvellement cr\xe9\xe9 / r\xe9pertoire
|
||||
d' /emul/aout avec le vieil.
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.4 2002/04/04 23:30:35 bjh21 Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.5 2002/04/11 16:33:58 skrll Exp $
|
||||
#
|
||||
# etc.cats/Makefile.inc -- cats-specific etc Makefile targets
|
||||
#
|
||||
@ -16,7 +16,7 @@ snap_md_post:
|
||||
cd ${.CURDIR}/../distrib && ${MAKE} cleandir
|
||||
.endif
|
||||
cd ${.CURDIR}/../distrib && ${MAKE} depend && ${MAKE}
|
||||
# cd ${.CURDIR}/../distrib/cats && ${MAKE} release
|
||||
cd ${.CURDIR}/../distrib/cats && ${MAKE} release
|
||||
cd ${.CURDIR}/../distrib/notes && ${MAKE} release
|
||||
# ${MAKESUMS} -t ${RELEASEDIR}/installation/kernel '*.gz'
|
||||
${MAKESUMS} -t ${RELEASEDIR}/installation/kernel '*.gz'
|
||||
# ${MAKESUMS} -t ${RELEASEDIR}/installation/misc '*.gz'
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.cats.inc,v 1.7 2002/04/04 16:04:22 skrll Exp $
|
||||
# $NetBSD: Makefile.cats.inc,v 1.8 2002/04/11 16:33:58 skrll Exp $
|
||||
|
||||
GENASSYM_EXTRAS+= ${ARM}/footbridge/genassym.cf
|
||||
LOOSE_PROTOTYPES= NO
|
||||
@ -14,10 +14,10 @@ LOOSE_PROTOTYPES= NO
|
||||
# XXX ELF kernel cannot be booted itself.
|
||||
LOADADDRESS=0xF0000020
|
||||
|
||||
SYSTEM_LD_TAIL_EXTRA=; \
|
||||
SYSTEM_LD_TAIL_EXTRA+=; \
|
||||
${DBSYM} $@ || true; \
|
||||
echo OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
|
||||
${ARM}/conf/elf2aout.sh $@ $@; \
|
||||
${ARM}/conf/elf2aout.sh $@ $@.aout; \
|
||||
OBJCOPY=${OBJCOPY:Q} SIZE=${SIZE:Q} \
|
||||
${ARM}/conf/elf2aout.sh $@ $@
|
||||
${ARM}/conf/elf2aout.sh $@ $@.aout
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user