Home | History | Annotate | only in /src/distrib/sparc/ramdisk
History log of /src/distrib/sparc/ramdisk
RevisionDateAuthorComments
 1.43 09-Feb-2017  joerg Bump the ram disk and miniroot size slightly for clang.
 1.42 27-Feb-2016  joerg branches: 1.42.2; 1.42.4;
For clang, optimize both ramdisk and miniroot for minimal size and skip
frame pointers where possible.
 1.41 09-Jun-2009  he branches: 1.41.8;
Add -lprop to the ramdisk build, so that it builds again, due to
recent changes in newfs. Bump the ramdisk size from 1536 to 1800
blocks as a consequence.
 1.40 25-Jun-2008  matt branches: 1.40.2;
Increase RAMDISK size due to ever-increasing bloat.
 1.39 08-Mar-2003  lukem branches: 1.39.32; 1.39.36;
crank memory disk from 1360 blocks to 1376 blocks
 1.38 02-May-2002  lukem yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
 1.37 26-Apr-2002  lukem replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version
 1.36 12-Apr-2002  lukem minor NDWO tweak
 1.35 06-Apr-2002  tsutsui Set DBG=-Os for libhack.
 1.34 28-Mar-2002  lukem - Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups
 1.33 25-Mar-2002  lukem Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
 1.32 11-Mar-2002  lukem - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
 1.31 21-Nov-2001  jmc Add bsd.prog.mk so libhack builds again
 1.30 08-Nov-2001  tron Use "vnd0" instead of "/dev/vnd0c" as argument for "vnconfig" because it
is more portable and works with the latest "vnconfig".
 1.29 13-Oct-2001  jmc Add MTREE?= to add Makefiles and use when running mtree
 1.28 10-Oct-2001  enami Use symbol MTREECONF instead of MTREE to refer configuration file
to avoid conflicts. Pointed out by chs@netbsd.org.
 1.27 19-May-2001  chs include bsd.sys.mk for DESTDIR builds.
 1.26 10-May-2001  pk Tweak # of inodes once again.
 1.25 23-Jan-2001  jmc Redo inode allocation to get a few bytes back
 1.24 01-Nov-2000  garbled Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
 1.23 31-Oct-2000  pk Drop `release' target; we don't need it.
 1.22 26-Oct-2000  garbled Find a bunch of places where we call "make" and replace it with ${MAKE}
 1.21 20-Oct-2000  pk Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
 1.20 04-Sep-2000  abs Use $(IMAGE) where appropriate
 1.19 31-Aug-2000  jhawk Use
${MAKE}
instead of
make
 1.18 02-May-2000  sjg branches: 1.18.4;
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
 1.17 08-Mar-2000  cjs 1800k is not big enough, so make it 1920k. (Though I'm not sure that making
this larger is the solution we're looking for.) And make it actually work
with a larger size, rather not using the extra space we've allocated due
to not changing the geometry we disklabel it with. Do we even need to give
this a disk-like geometry, especially if it's a `floppy' with more tracks
than a real floppy has?
 1.16 14-Jan-2000  pk Expand md filesystem to 1.8MB.
 1.15 10-Jan-2000  pk Remove version number from boot image files.
 1.14 09-Nov-1999  pk Clean up the crunch configuration file as well.
 1.13 09-Nov-1999  mycroft branches: 1.13.2;
Make this work with obj dirs.
 1.12 18-Oct-1999  pk Add `release:' targets.
 1.11 27-Jun-1999  mrg branches: 1.11.2;
miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup

mtree.conf:
- create /kern

sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep

sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary

libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o
 1.10 11-May-1999  veego Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
 1.9 08-Apr-1999  pk - add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).
 1.8 04-Mar-1999  wrstuden branches: 1.8.2;
Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
 1.7 31-Jan-1999  mrg err, this is 92 cylinders now.
 1.6 10-Jan-1999  mrg branches: 1.6.2;
- share more with the miniroot
- don't use sysinst yet, it's not ready for the sparc, go back to
the old miniroot install programs.

- add these programs:
- pppd (nice to install from an SS2 with local floppy & modem only)
- bzip2 (media may be bz2'ed in the RFSN future)
- edlabel (much ligher weight than disklabel)
- expr (miniroot)
- hostname (miniroot)
- netstat (miniroot)
- sort (miniroot)

- remove these programs:
- tset (not used)
- strings (too big now)
- slattach (who uses slip these days, *really* ? see pppd addition)
- disklabel (see edlabel addition)
- shutdown (have reboot/halt already)
- sysinst (not using it yet)

- grow the install filesystem a bit more, to facilitate the new programs.

- use gordons libhack stuff, to reduce the size of the install binary.
- don't need /etc/master.passwd or the {s,}pwd.db files anymore!

- clean up dot.profile a bit.
 1.5 14-Nov-1998  mrg add a disklabel -W
 1.4 05-Sep-1998  lukem distclean is a synonym for cleandir
 1.3 28-Aug-1998  mrg call it "instfs" not "floppyinstfs" as it is not for a floppy
 1.2 21-Jun-1998  mrg oops, missed this change.
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.6.2.4 03-Feb-1999  cgd create enough inodes for the ramdisk. not needed on trunk because
it currently doesn't lose there. (mrg)
 1.6.2.3 01-Feb-1999  cgd pull up rev 1.7 from trunk (mrg)
 1.6.2.2 25-Jan-1999  cgd pull up rev(s) 1.1-1.6 from trunk (new file). (mrg)
 1.6.2.1 10-Jan-1999  cgd file Makefile was added on branch netbsd-1-3 on 1999-01-25 06:19:35 +0000
 1.8.2.6 25-Sep-2000  he Apply patch (requested by he):
Fix build problem caused by double use of ${.CURDIR}.
 1.8.2.5 26-Aug-2000  he Apply patch (requested by he):
Make this build with obj directories.
 1.8.2.4 03-Jun-2000  he Apply patch (requested by he):
Use 3240 and not 3528 as miniroot size.
 1.8.2.3 01-Mar-2000  he Apply patch (requested by toddpw):
Fix build errors in distrib/sparc, support ``release'' target,
increase size of ramdisk while removing dependency on /etc/disktab,
and notifying kernel.
 1.8.2.2 01-Jul-1999  perry pullup 1.10->1.11 (mrg)
 1.8.2.1 08-Apr-1999  pk Pull up rev. 1.9 from trunk.
 1.11.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.2.2 09-Nov-1999  mycroft Make this work with obj dirs.
 1.13.2.1 09-Nov-1999  mycroft file Makefile was added on branch comdex-fall-1999 on 1999-11-09 12:57:38 +0000
 1.18.4.3 25-Mar-2002  he Apply patch (requested by he):
Introduce dependency between ramdisk/miniroot construction and
osrelease.sh, to better support UPDATE builds of releases.
 1.18.4.2 01-Nov-2000  tv Pullup 1.23 [pk]:
Drop `release' target; we don't need it.
 1.18.4.1 19-Oct-2000  tv Commit by patch [pk]:
- boot floppy image out of space: use a two disk system
- update INSTALL kernel
- updates/fixes to miniroot image
- support for building CD image
- update installation doc
 1.39.36.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.39.32.2 05-Oct-2008  mjf Sync with HEAD.
 1.39.32.1 29-Jun-2008  mjf Sync with HEAD.
 1.40.2.1 24-Dec-2013  riz Apply patch (requested by bad in ticket #1887):

Avoid libhack/gethost.c in the ramdisk as nothing needs the functions.
 1.41.8.1 06-Jan-2014  bouyer Apply patch (requested by bad in ticket #975):

Avoid libhack/gethost.c in the ramdisk as nothing needs the functions.
 1.42.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.42.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 11-Mar-2002  lukem - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
 1.1 09-Jun-1998  mrg branches: 1.1.2;
add /usr/sbin/update, sun, xterm, and tvi925 termcaps, and a disktab.preinstall file.
 1.1.2.2 25-Jan-1999  cgd pull up rev(s) 1.1 from trunk (new file). (mrg)
 1.1.2.1 09-Jun-1998  cgd file disktab.preinstall was added on branch netbsd-1-3 on 1999-01-25 06:19:43 +0000
 1.20 24-Dec-2009  tsutsui Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))

Workaround for PR port-sparc/42193, and would also fix PR install/28734.
 1.19 30-Apr-2008  martin branches: 1.19.4; 1.19.10;
Convert TNF licenses to new 2 clause variant
 1.18 11-Jul-2003  pk branches: 1.18.16; 1.18.32; 1.18.34;
Pass explicit device to eject(1), since it doesn't know about the floppy
driver's "partition" scheme..
 1.17 20-Jul-2002  lukem Mount the mfs /instfs with a reasonable inode density, otherwise it
runs out of space.
Problem found & fixed by Adam Lebsack <adam@lebsack.com> in [port-sparc/17614]
 1.16 17-Jun-2001  pk branches: 1.16.2;
cdrom(): allow the location of `instfs.tgz' on the CD to be overridden
as suggested by Robert Elz on port-sparc.
 1.15 28-Nov-2000  pk cdrom(): Look for the `instfs.tgz' image in the $MACHINE subdirectory of
the CD-R root first.
 1.14 07-Nov-2000  pk Eject the floppy disks.
 1.13 31-Oct-2000  pk Don't bother with the tape block size unless explicitly requested.
 1.12 31-Oct-2000  pk Support the two-stage memory-disk based bootstrap method for tape, cdrom
and floppy.
 1.11 20-Oct-2000  pk Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
 1.10 15-Jun-2000  cgd branches: 1.10.2;
sweep of my licenses for consistency. (no functional changes) These
files have copyright held by people in addition to myself. (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.) Their approval has been given re: the license
change.
 1.9 14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.8 21-Jan-2000  tsutsui rename (revert) memory disk filename /dev/mdX -> /dev/mdXa
 1.7 10-Jan-2000  tsutsui Fix root device name md0a -> md0
 1.6 23-Nov-1999  simonb Don't start update.
 1.5 27-Jun-1999  mrg branches: 1.5.4;
miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup

mtree.conf:
- create /kern

sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep

sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary

libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o
 1.4 26-Jun-1999  cgd after checking and setting DONEPROFILE, export it so that children of the
shell (e.g. programs and shells invoked via sysinst) don't try to run
sysinst again. Fixes PR#7805.
 1.3 10-Jan-1999  mrg branches: 1.3.2; 1.3.4;
- share more with the miniroot
- don't use sysinst yet, it's not ready for the sparc, go back to
the old miniroot install programs.

- add these programs:
- pppd (nice to install from an SS2 with local floppy & modem only)
- bzip2 (media may be bz2'ed in the RFSN future)
- edlabel (much ligher weight than disklabel)
- expr (miniroot)
- hostname (miniroot)
- netstat (miniroot)
- sort (miniroot)

- remove these programs:
- tset (not used)
- strings (too big now)
- slattach (who uses slip these days, *really* ? see pppd addition)
- disklabel (see edlabel addition)
- shutdown (have reboot/halt already)
- sysinst (not using it yet)

- grow the install filesystem a bit more, to facilitate the new programs.

- use gordons libhack stuff, to reduce the size of the install binary.
- don't need /etc/master.passwd or the {s,}pwd.db files anymore!

- clean up dot.profile a bit.
 1.2 20-Jun-1998  mrg mount /dev/md0a rw
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.3.4.2 01-Jul-1999  perry pullup 1.4->1.5 (mrg)
 1.3.4.1 27-Jun-1999  cgd pull up rev 1.4 from trunk. (cgd)
 1.3.2.2 25-Jan-1999  cgd pull up rev(s) 1.1-1.3 from trunk (new file). (mrg)
 1.3.2.1 10-Jan-1999  cgd file dot.profile was added on branch netbsd-1-3 on 1999-01-25 06:19:52 +0000
 1.5.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.2.4 30-Nov-2000  tv Pullup 1.15 [pk]:
cdrom(): Look for the `instfs.tgz' image in the $MACHINE subdirectory of
the CD-R root first.
 1.10.2.3 09-Nov-2000  tv Pullup 1.14 [pk]:
Add `eject'.
 1.10.2.2 01-Nov-2000  tv Pullup 1.12 and 1.13 [pk]:
Don't bother with the tape block size unless explicitly requested.
=====
Support the two-stage memory-disk based bootstrap method for tape, cdrom
and floppy.
 1.10.2.1 19-Oct-2000  tv Commit by patch [pk]:
- boot floppy image out of space: use a two disk system
- update INSTALL kernel
- updates/fixes to miniroot image
- support for building CD image
- update installation doc
 1.16.2.1 20-Jul-2002  lukem Pull up revision 1.17 (requested by lukem in ticket #528):
Mount the mfs /instfs with a reasonable inode density, otherwise it
runs out of space.
Problem found & fixed by Adam Lebsack <adam@lebsack.com> in [port-sparc/17614]
 1.18.34.1 18-May-2008  yamt sync with head.
 1.18.32.2 05-Oct-2008  mjf Sync with HEAD.
 1.18.32.1 02-Jun-2008  mjf Sync with HEAD.
 1.18.16.1 27-Jan-2010  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1379):
sys/arch/sparc/sparc/auxreg.h: revision 1.13
distrib/sparc/ramdisk/dot.profile: revision 1.20
sys/arch/sparc/stand/common/promdev.c: revision 1.23
Don't try to read disklabel to check FS_RAID on floppy boot since
reopening floppy could cause Data Access Exception later.
Fixes PR port-sparc/42186, ok'ed by mrg@.
Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))
Workaround for PR port-sparc/42193, and would also fix PR install/28734.
Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on
pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c.
A comment in the macro says AUXIO4M_FTC bit is auto-clear,
but my two SS20s (including compatible) with 150MHz hyperSPARCs
get data_overrun without it, and no bad side effect on SS5
(works with and without this change).
Closes PR port-sparc/42516, which is the last one of a bunch of
floppy issue on NetBSD/sparc since NetBSD 2.0 days. See
http://mail-index.NetBSD.org/port-sparc/2009/12/20/msg000484.html
for details.
 1.19.10.1 21-Apr-2010  matt sync to netbsd-5
 1.19.4.1 23-Jan-2010  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1251):
sys/arch/sparc/sparc/auxreg.h: revision 1.13
distrib/sparc/ramdisk/dot.profile: revision 1.20
sys/arch/sparc/dev/audioamd.c: revision 1.25
sys/arch/sparc/dev/fd.c: revision 1.147
sys/arch/sparc/stand/common/promdev.c: revision 1.23
distrib/sparc/miniroot/Makefile.inc: revision 1.16
Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.
This is workaround for PR install/42146, and ok'ed by mrg@.
Don't try to read disklabel to check FS_RAID on floppy boot since
reopening floppy could cause Data Access Exception later.
Fixes PR port-sparc/42186, ok'ed by mrg@.
Disable "fast trap" handlers which invoke software interrupts
in sparc/amd7930intr.s and sparc/bsd_fdintr.s until they are
rewritten to adapt new MI softint(9) API.
No particular comments on PR port-sparc/42192, but
this fixes timeout problem on floppy access on my SPARCstation 1+.
XXX: floppy support on sun4m seems to have another problem (data overrun).
Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))
Workaround for PR port-sparc/42193, and would also fix PR install/28734.
Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on
pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c.
A comment in the macro says AUXIO4M_FTC bit is auto-clear,
but my two SS20s (including compatible) with 150MHz hyperSPARCs
get data_overrun without it, and no bad side effect on SS5
(works with and without this change).
Closes PR port-sparc/42516, which is the last one of a bunch of
floppy issue on NetBSD/sparc since NetBSD 2.0 days. See
http://mail-index.NetBSD.org/port-sparc/2009/12/20/msg000484.html
for details.
 1.19 09-Jun-2009  he Add -lprop to the ramdisk build, so that it builds again, due to
recent changes in newfs. Bump the ramdisk size from 1536 to 1800
blocks as a consequence.
 1.18 26-Jun-2002  grant branches: 1.18.32;
add comment and fix whitespace.
 1.17 13-Apr-2002  lukem consistency cleanup
 1.16 11-Mar-2002  lukem - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
 1.15 05-Nov-2000  pk Add `eject'.
 1.14 31-Oct-2000  pk Remove mount(8) since we can use the fs-specific versions directly.
Add umount(8) (scaled-down version).
Add reboot/halt.
 1.13 20-Oct-2000  pk Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
 1.12 07-Jun-2000  thorpej branches: 1.12.2;
Need /etc/netconfig.
 1.11 24-Nov-1999  simonb Remove update from the miniroot lists.
 1.10 09-Nov-1999  pk Pull in the IPSECless version of ping.
 1.9 27-Jun-1999  mrg branches: 1.9.4;
miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup

mtree.conf:
- create /kern

sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep

sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary

libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o
 1.8 08-Apr-1999  pk - add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).
 1.7 10-Jan-1999  mrg branches: 1.7.2; 1.7.4;
- share more with the miniroot
- don't use sysinst yet, it's not ready for the sparc, go back to
the old miniroot install programs.

- add these programs:
- pppd (nice to install from an SS2 with local floppy & modem only)
- bzip2 (media may be bz2'ed in the RFSN future)
- edlabel (much ligher weight than disklabel)
- expr (miniroot)
- hostname (miniroot)
- netstat (miniroot)
- sort (miniroot)

- remove these programs:
- tset (not used)
- strings (too big now)
- slattach (who uses slip these days, *really* ? see pppd addition)
- disklabel (see edlabel addition)
- shutdown (have reboot/halt already)
- sysinst (not using it yet)

- grow the install filesystem a bit more, to facilitate the new programs.

- use gordons libhack stuff, to reduce the size of the install binary.
- don't need /etc/master.passwd or the {s,}pwd.db files anymore!

- clean up dot.profile a bit.
 1.6 21-Jun-1998  mrg move distrib/sparc/floppies/* into distrib/sparc, so that the boot image
can be accessed for cdrom systems. rename "bootfloppy" to "bootfs" as it
is used for cdroms, not just floppies :) adjust paths as necessary for
this merge.

--- done via repository copy.
 1.5 20-Jun-1998  mrg add link for tar/cpio, fix mount_mfs, and add kernfs
 1.4 20-Jun-1998  mrg add mount_mfs, getopt, use the src MAKEDEV and disktab files. ln less more
 1.3 09-Jun-1998  mrg add /usr/sbin/update, sun, xterm, and tvi925 termcaps, and a disktab.preinstall file.
 1.2 06-Jun-1998  mrg rename INSTALL FLOPPY. add tset.
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.7.4.3 03-Jun-2000  he Apply patch (requested by he):
Make the "ramdisk" devices, not the "floppy" devices.
 1.7.4.2 01-Jul-1999  perry pullup 1.8->1.9 (mrg)
 1.7.4.1 08-Apr-1999  pk Pull up rev. 1.8 from trunk.
 1.7.2.2 25-Jan-1999  cgd pull up revs 1.1-1.7 from trunk (new file), plus a patch to adjust for
features not present in 1.3.x. (mrg)
 1.7.2.1 10-Jan-1999  cgd file list was added on branch netbsd-1-3 on 1999-01-25 06:22:32 +0000
 1.9.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.2.3 09-Nov-2000  tv Pullup 1.15 [pk]:
Add `eject'.
 1.12.2.2 01-Nov-2000  tv Pull up 1.14 fully [pk]:
Remove mount(8) since we can use the fs-specific versions directly.
Add umount(8) (scaled-down version).
Add reboot/halt.
 1.12.2.1 19-Oct-2000  tv Commit by patch [pk]:
- boot floppy image out of space: use a two disk system
- update INSTALL kernel
- updates/fixes to miniroot image
- support for building CD image
- update installation doc
 1.18.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.6 11-Mar-2002  lukem - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
 1.5 31-Oct-2000  pk Add /cdrom which is used by dot.profile as a mount point.
 1.4 20-Oct-2000  pk Boot from floppy now requires two disk images:
- a bootable bootfs which contains a spartan md-based `ramdisk'
filesystem, which loads the tar file image:
- instfs, which is constructed from the miniroot filesystem
and contains all installation utilities.

The current miniroot image also supersedes the former separate
{bootfs,ramdisk}.sysinst tools.
 1.3 28-Aug-1998  mrg branches: 1.3.2; 1.3.12;
remove duplicate ./kern entry.
 1.2 20-Jun-1998  mrg add /mnt3 and /kern
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.3.12.2 01-Nov-2000  tv Pullup 1.5 [pk]:
Add /cdrom which is used by dot.profile as a mount point.
 1.3.12.1 19-Oct-2000  tv Commit by patch [pk]:
- boot floppy image out of space: use a two disk system
- update INSTALL kernel
- updates/fixes to miniroot image
- support for building CD image
- update installation doc
 1.3.2.2 25-Jan-1999  cgd pull up rev(s) 1.1-1.3 from trunk (new file). (mrg)
 1.3.2.1 28-Aug-1998  cgd file mtree.conf was added on branch netbsd-1-3 on 1999-01-25 06:20:01 +0000
 1.11 27-Jun-1999  mrg miniroot changes:
install.sub:
- fix interface grovelling, ifmedia support, allow ifmedia and link
to have a "none" (-> "") answer (which lets you give nothing when
a default answer is given)
- allow installing more than one set at a time, including "all" as
a synonym for all remaining sets
- mount -o async when extracting sets
makeconf.awk:
- put default "libs" section at the end rather than the start, so
you can put other "libs" in before this list
- minor cleanup

mtree.conf:
- create /kern

sparc install.md:
- MDSETS are now "kern xbase xcomp xcontrib xfont xserver"
- use /kern & kernfs (replaces dmesg)
- replace grep & cut pipe lines with sed
- replace grep hackery with sed hackery
- grep and cut are no longer required! yay!
- deal with no /usr/bin/vi -- call disklabel -i
- in md_copy_kern() link the netbsd.GENERIC we got from the kern set,
rather than the miniroot kernel
sparc miniroot list:
- no more dmesg, cut or grep

sparc ramdisk changes:
Makefile:
- `ramdiskbin.conf' is now generated by makeconf.awk
- don't use libhack's opendir, it breaks
dot.profile:
- don't assume terminal is `sun'
- set EDITOR=ed
-
list:
- instbin -> ramdiskbin to make `makeconf.awk' work
- CRUNCHSPECIAL those special dirs
- add our LIBS as necessary

libhack changes:
- if NOLIBHACKOPENDIR is set, don't build opendir.o
 1.10 11-Jan-1999  mrg branches: 1.10.2; 1.10.4;
use x_gzip over gzip_s
 1.9 10-Jan-1999  mrg use x_netstat, and save 30k. we now have 46k spare.
 1.8 10-Jan-1999  mrg - share more with the miniroot
- don't use sysinst yet, it's not ready for the sparc, go back to
the old miniroot install programs.

- add these programs:
- pppd (nice to install from an SS2 with local floppy & modem only)
- bzip2 (media may be bz2'ed in the RFSN future)
- edlabel (much ligher weight than disklabel)
- expr (miniroot)
- hostname (miniroot)
- netstat (miniroot)
- sort (miniroot)

- remove these programs:
- tset (not used)
- strings (too big now)
- slattach (who uses slip these days, *really* ? see pppd addition)
- disklabel (see edlabel addition)
- shutdown (have reboot/halt already)
- sysinst (not using it yet)

- grow the install filesystem a bit more, to facilitate the new programs.

- use gordons libhack stuff, to reduce the size of the install binary.
- don't need /etc/master.passwd or the {s,}pwd.db files anymore!

- clean up dot.profile a bit.
 1.7 06-Jan-1999  cjs Remove strings, at least for the moment, until someone figures out
how to get it to link here. It needs to link statically against
gnu/usr.bin/binutils/common/libcommon.a (which may be in an obj or
obj.arch directory underneath, actually).
 1.6 28-Aug-1998  mrg link newfs to mount_mfs not mount_nfs
 1.5 20-Jun-1998  mrg add link for tar/cpio, fix mount_mfs, and add kernfs
 1.4 20-Jun-1998  mrg add mount_mfs, getopt, use the src MAKEDEV and disktab files. ln less more
 1.3 09-Jun-1998  mrg add /usr/sbin/update, sun, xterm, and tvi925 termcaps, and a disktab.preinstall file.
 1.2 06-Jun-1998  mrg rename INSTALL FLOPPY. add tset.
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.10.4.1 01-Jul-1999  perry delete (mrg)
 1.10.2.3 25-Jan-1999  cgd patch to get rid of the last vestiges of bzip2, which didn't exist in
1.3.x. (mrg)
 1.10.2.2 25-Jan-1999  cgd pull up rev(s) 1.1-1.10 from trunk (new file). (mrg)
 1.10.2.1 11-Jan-1999  cgd file ramdiskbin.conf was added on branch netbsd-1-3 on 1999-01-25 06:20:09 +0000
 1.4 11-Mar-2002  lukem - convert to New Distrib World Order, which allows this directory to be
cross-built without root privileges. (tested i386->sparc cross-build).
- remove now-unused cruft

XXX: there's still other parts of distrib/sparc that need fixing.
 1.3 13-Mar-1999  itohy Use G0 (not G1) for the alternative character set (DEC line graphics).
Delete "\E)0" sequences and make ":as=\E(0:ae=\E(B:"
(some terminals use "1" for "0").
This change makes it easy to use 8-bit encodings, such as ISO8859, EUC, etc.
PR #7126.
 1.2 09-Jun-1998  mrg branches: 1.2.2;
add /usr/sbin/update, sun, xterm, and tvi925 termcaps, and a disktab.preinstall file.
 1.1 06-Jun-1998  mrg branches: 1.1.1;
Initial revision
 1.1.1.1 06-Jun-1998  mrg bootable floppy support for NetBSD/sparc, based on some i386 stuff
 1.2.2.2 25-Jan-1999  cgd pull up rev(s) 1.1-1.2 from trunk (new file). (mrg)
 1.2.2.1 09-Jun-1998  cgd file termcap.src was added on branch netbsd-1-3 on 1999-01-25 06:20:19 +0000

RSS XML Feed