History log of /netbsd-current/distrib/sparc/ramdisk/dot.profile
Revision Date Author Comments
# 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 06-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 30-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 14-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 09-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 05-Jun-1998 mrg

branches: 1.1.1;
Initial revision


# 1.1.1.1 05-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 26-Jun-1999 cgd

pull up rev 1.4 from trunk. (cgd)


# 1.3.2.2 24-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 29-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 31-Oct-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 20-Apr-2010 matt

sync to netbsd-5


# 1.19.4.1 22-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.