Home | History | Annotate | only in /src/distrib/hpcmips/miniroot
History log of /src/distrib/hpcmips/miniroot
RevisionDateAuthorComments
 1.22 01-Nov-2021  martin Use libhack and the non-widechar hacked version of curses for
the ramdisk image to save some space.
 1.21 24-Jan-2017  christos += for MAKEFS_FLAGS
 1.20 26-Oct-2012  tsutsui branches: 1.20.14; 1.20.18;
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.19 11-Feb-2010  roy branches: 1.19.6; 1.19.8; 1.19.12; 1.19.14;
Remove terminfo.db as it's now embedded in libterminfo.
 1.18 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.17 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.16 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.15 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.14 10-Apr-2003  he branches: 1.14.32; 1.14.42;
Expand the miniroot by 256KB, so that this builds again.
 1.13 01-Feb-2003  tsutsui Remove "-Wa,-xgot" hack from DBG flag for broken objcopy-crunchide
that has been fixed by simonb.

BTW, should we also add "-mmemcpy" here to reduce code size?
 1.12 17-Oct-2002  lukem Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

SMALLPROG If 1, add SMALLPROG=1 to CRUNCHENV. [default: 1]
This can be used by various Makefiles to
determine if a `small' version of the program
is required.

SMALLPROG_INET6 If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
to CRUNCHENV. [default: 0]
This can be used by various Makefiles to
determine if the `small' version has INET6
support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
 1.11 29-May-2002  lukem don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.10 23-Apr-2002  tv branches: 1.10.2;
The "objcopy" based crunchide method has a problem on MIPS; it turns global
symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").

Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy). So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".

This will be fixed in a more clean manner in the future.
 1.9 01-Apr-2002  lukem ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
 1.8 23-Mar-2002  shin tune inode density of miniroot.fs.
 1.7 23-Mar-2002  shin fix IMAGEENDIAN (s/be/le/).
 1.6 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
 1.5 05-Jan-2002  uch s/vnd0d/vnd0/
 1.4 11-Mar-2000  shin enlarge ramdisk size.
 1.3 27-Feb-2000  shin add RCS Id
 1.2 12-Feb-2000  shin change ramdisk size.
 1.1 21-Jan-2000  shin oops, forgot to commit this file.
 1.10.2.1 29-May-2002  lukem Pull up revision 1.11 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.14.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.19.14.1 25-Nov-2012  jdc Pull up revisions:
src/distrib/emips/miniroot/Makefile.inc revision 1.3
src/distrib/hp300/miniroot/Makefile.inc revision 1.13
src/distrib/hpcarm/miniroot/Makefile.inc revision 1.7
src/distrib/hpcmips/miniroot/Makefile.inc revision 1.20
src/distrib/hpcsh/miniroot/Makefile.inc revision 1.8
src/distrib/mvme68k/miniroot/Makefile.inc revision 1.13
src/distrib/pmax/miniroot/Makefile.inc revision 1.24
src/distrib/vax/miniroot/Makefile.inc revision 1.23
(requested by tsutsui in ticket #650).

Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.19.12.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.19.8.1 18-Nov-2012  msaitoh Pull up following revision(s) (requested by tsutsui in ticket #650):
distrib/hpcmips/miniroot/Makefile.inc: revision 1.20
distrib/hpcsh/miniroot/Makefile.inc: revision 1.8
distrib/hp300/miniroot/Makefile.inc: revision 1.13
distrib/hpcarm/miniroot/Makefile.inc: revision 1.7
distrib/vax/miniroot/Makefile.inc: revision 1.23
distrib/mvme68k/miniroot/Makefile.inc: revision 1.13
distrib/emips/miniroot/Makefile.inc: revision 1.3
distrib/pmax/miniroot/Makefile.inc: revision 1.24
Fix PR install/47123 (sysinst fails with "openpty() failed" on many ports):
Add "ipty" to MAKEDEVTARGETS in miniroot/Makefile.inc since "MAKEDEV all"
no longer creates /dev/pty* device nodes and miniroot doesn't mount ptyfs.
 1.19.6.1 30-Oct-2012  yamt sync with head
 1.20.18.1 21-Apr-2017  bouyer Sync with HEAD
 1.20.14.1 20-Mar-2017  pgoyette Sync with HEAD
 1.8 09-Jan-2020  martin PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7 01-May-2010  tsutsui branches: 1.7.48; 1.7.50;
Remove mount_kernfs(8) and use dmesg(8) directly.
 1.6 26-Jul-2003  salo branches: 1.6.32;
netbsd.org->NetBSD.org
 1.5 14-Jun-2000  cgd 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.4 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.3 21-Jan-2000  tsutsui rename (revert) memory disk filename /dev/mdX -> /dev/mdXa
 1.2 21-Jan-2000  shin first cut of sysinst for hpcmips.
based on i386 version.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.6.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.7.50.1 28-Jan-2020  msaitoh Pull up following revision(s) (requested by martin in ticket #669):
distrib/playstation2/miniroot/dot.profile: revision 1.5
distrib/sparc64/instfs/dot.profile: revision 1.8
distrib/hpcarm/miniroot/dot.profile: revision 1.3
distrib/emips/miniroot/dot.profile: revision 1.2
distrib/x68k/floppies/ramdisk/dot.profile: revision 1.16
distrib/zaurus/ramdisk/dot.profile: revision 1.4
distrib/i386/ramdisks/common/dot.profile: revision 1.7
distrib/cobalt/ramdisk/dot.profile: revision 1.2
distrib/hpcsh/miniroot/dot.profile: revision 1.5
distrib/evbarm/instkernel/ramdisk/dot.profile: revision 1.3
distrib/riscv/ramdisk/dot.profile: revision 1.2
distrib/sandpoint/ramdisk/dot.profile: revision 1.2
distrib/landisk/ramdisk/dot.profile: revision 1.3
distrib/amd64/ramdisks/common/dot.profile: revision 1.4
distrib/macppc/floppies/ramdisk/dot.profile: revision 1.14
distrib/mipsco/ramdisk/dot.profile: revision 1.3
distrib/evbmips/instkernel/ramdisk/dot.profile: revision 1.2
distrib/acorn32/ramdisk/dot.profile: revision 1.4
distrib/cats/ramdisk/dot.profile: revision 1.5
distrib/vax/ramdisk/dot.profile: revision 1.10
distrib/pmax/miniroot/dot.profile: revision 1.3
distrib/sparc/miniroot/dot.profile: revision 1.16
distrib/hpcmips/miniroot/dot.profile: revision 1.8
distrib/prep/floppies/ramdisk/dot.profile: revision 1.3
distrib/news68k/floppies/ramdisk/dot.profile: revision 1.8
distrib/alpha/instkernel/ramdisk/dot.profile: revision 1.11
distrib/ofppc/ramdisks/common/dot.profile: revision 1.2
distrib/mac68k/instkernel/ramdisk/dot.profile: revision 1.9
distrib/hp300/ramdisk/dot.profile: revision 1.7
distrib/ews4800mips/floppies/ramdisk/dot.profile: revision 1.2
distrib/emips/ramdisk/dot.profile: revision 1.3
distrib/newsmips/floppies/ramdisk/dot.profile: revision 1.7
distrib/bebox/ramdisk/dot.profile: revision 1.2
distrib/rs6000/ramdisk/dot.profile: revision 1.2
distrib/sgimips/miniroot/dot.profile: revision 1.2
distrib/mvme68k/miniroot/dot.profile: revision 1.9
distrib/hppa/ramdisk/dot.profile: revision 1.2
distrib/luna68k/ramdisk/dot.profile: revision 1.2
distrib/sgimips/ramdisk/dot.profile: revision 1.4
distrib/evbsh3/instkernel/ramdisk/dot.profile: revision 1.2
distrib/evbppc/ramdisk/dot.profile: revision 1.5
distrib/shark/instkernel/ramdisk/dot.profile: revision 1.5
distrib/pmax/ramdisk/dot.profile: revision 1.11
distrib/dreamcast/ramdisk/dot.profile: revision 1.3
distrib/arc/ramdisk/dot.profile: revision 1.5
distrib/atari/floppies/common/dot.profile: revision 1.8
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".
 1.7.48.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.19 20-Aug-2019  sevan sysctl(8) is useful to have in the install env when debugging
 1.18 30-Nov-2013  nakayama branches: 1.18.4; 1.18.18; 1.18.26; 1.18.28;
nvi has moved.
 1.17 01-May-2010  tsutsui branches: 1.17.6; 1.17.12;
Remove mount_kernfs(8) and use dmesg(8) directly.
 1.16 01-May-2010  tsutsui Remove fsck_ext2fs(8) and mount_ext2fs(8).
(no file-system EXT2FS in kernels)
Add fsck_msdos(8) and newfs_msdos(8) instead for bootstrap from WinCE.
 1.15 11-Feb-2010  roy Remove terminfo.db as it's now embedded in libterminfo.
 1.14 05-Feb-2010  roy Use the rescue terminfo.db in our images instead of termcap.
 1.13 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.12 20-Sep-2009  abs Nothing needs disktab anymore, so we'd rather have an inode and
slightly over 1K of space on install media...
 1.11 07-Apr-2009  joerg Change ramdisks from dhclient to dhcpcd and add corresponding glue to
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
 1.10 30-Oct-2008  tsutsui branches: 1.10.4;
usr.bin/vi/build -> usr.bin/nvi/build
 1.9 10-Feb-2003  shin branches: 1.9.32;
add csh, dhclient, dhclient-script, netstat, tset, vi.
 1.8 29-May-2002  lukem don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.7 27-Apr-2002  shin branches: 1.7.2;
delete csh, netstat, tset, and vi to reduce GOT size.
otherwise, libc.a and other objects which was not compiled with -xgot
won't link. (in general, you can't mix -xgot and no -xgot binaries.)

current GOT size is 0000f618 (see below).

10 .got 0000f618 10010460 10010460 0026c460 2**4
CONTENTS, ALLOC, LOAD, DATA
 1.6 06-Mar-2002  lukem Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
 1.5 22-Apr-2001  shin add lists of obsolete files.
 1.4 25-Feb-2000  shin add mount_msdos
 1.3 21-Jan-2000  shin first cut of sysinst for hpcmips.
based on i386 version.
 1.2 23-Nov-1999  simonb Remove update from the miniroot lists.
 1.1 16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1 16-Sep-1999  takemura branches: 1.1.1.1.4;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.2.1 29-May-2002  lukem Pull up revision 1.8 (requested by lukem):
don't bother copying or generating etc/spwd.db, as the miniroot was
switched to libhack a little while ago
 1.9.32.1 05-Oct-2008  mjf Sync with HEAD.
 1.10.4.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.17.12.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.28.1 21-Aug-2019  martin Pull up following revision(s) (requested by sevan in ticket #103):

distrib/hpcsh/miniroot/list: revision 1.11
distrib/hpcarm/miniroot/list: revision 1.11
distrib/hpcmips/miniroot/list: revision 1.19

sysctl(8) is useful to have in the install env when debugging
 1.18.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.18.18.1 21-Aug-2019  martin Pull up following revision(s) (requested by sevan in ticket #1341):

distrib/hpcsh/miniroot/list: revision 1.11
distrib/hpcarm/miniroot/list: revision 1.11
distrib/hpcmips/miniroot/list: revision 1.19

sysctl(8) is useful to have in the install env when debugging
 1.18.4.1 29-Aug-2019  martin Pull up following revision(s) (requested by sevan in ticket #1702):

distrib/hpcsh/miniroot/list: revision 1.11
distrib/hpcarm/miniroot/list: revision 1.11
distrib/hpcmips/miniroot/list: revision 1.19

sysctl(8) is useful to have in the install env when debugging
 1.2 20-Sep-2009  abs 34 different termcap subsets, plus a couple of ports still using
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:

ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)

Trying to provide similar functionality across all ports? It'll never
catch on...
 1.1 21-Jan-2000  shin branches: 1.1.38;
first cut of sysinst for hpcmips.
based on i386 version.
 1.1.38.1 05-Oct-2008  mjf Sync with HEAD.

RSS XML Feed