Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/conf Trim some fat:



details:   https://anonhg.NetBSD.org/src/rev/225452c57038
branches:  trunk
changeset: 522170:225452c57038
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Feb 12 00:49:40 2002 +0000

description:
Trim some fat:
* COPTS get -Os
* Comment out all COMPAT_* options
* Comment out System V IPC options
* Comment out KTRACE, IRQSTATS, KMEMSTATS, DIAGNOSTIC
* Comment out unneeded devices (audio, joystick, vnd, sequencer)

...and bump the ramdisk size to 3.5M (ELF binaries are somewhat
larger on-disk due to the way the linker pads out the .data program
section).

diffstat:

 sys/arch/shark/conf/INSTALL |  43 +++++++++++++++++++++----------------------
 1 files changed, 21 insertions(+), 22 deletions(-)

diffs (109 lines):

diff -r 2e4da6c7078b -r 225452c57038 sys/arch/shark/conf/INSTALL
--- a/sys/arch/shark/conf/INSTALL       Tue Feb 12 00:29:55 2002 +0000
+++ b/sys/arch/shark/conf/INSTALL       Tue Feb 12 00:49:40 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.1 2002/02/10 01:57:01 thorpej Exp $
+#      $NetBSD: INSTALL,v 1.2 2002/02/12 00:49:40 thorpej Exp $
 #
 #      Shark installation kernel
 #
@@ -20,7 +20,7 @@
 # CPU options
 
 options        CPU_SA110       # Support the SA110 core
-makeoptions    COPTS="-O2 -march=armv4 -mtune=strongarm"
+makeoptions    COPTS="-Os"
 
 # Architecture options
 
@@ -81,10 +81,10 @@
 
 # Compatibility options
 
-options        COMPAT_43       # 4.3BSD compatibility.
-options        COMPAT_14       # NetBSD 1.4 compatibility.
-options        COMPAT_13       # NetBSD 1.3 compatibility.
-options        COMPAT_12       # NetBSD 1.2 compatibility.
+#options       COMPAT_43       # 4.3BSD compatibility.
+#options       COMPAT_14       # NetBSD 1.4 compatibility.
+#options       COMPAT_13       # NetBSD 1.3 compatibility.
+#options       COMPAT_12       # NetBSD 1.2 compatibility.
 #options       COMPAT_11       # NetBSD 1.1 compatibility.
 #options       COMPAT_10       # NetBSD 1.0 compatibility.
 #options       COMPAT_09       # NetBSD 0.9 compatibility.
@@ -92,17 +92,16 @@
 
 # Shared memory options
 
-options        SYSVMSG         # System V-like message queues
-options        SYSVSEM         # System V-like semaphores
-options        SYSVSHM         # System V-like memory sharing
+#options       SYSVMSG         # System V-like message queues
+#options       SYSVSEM         # System V-like semaphores
+#options       SYSVSHM         # System V-like memory sharing
 #options       SHMMAXPGS=1024  # 1024 pages is the default
 
 # Device options
 
 options        MEMORY_DISK_HOOKS       # boottime setup of ramdisk
-#options       MEMORY_DISK_SIZE=0      # Size in blocks
-options        MINIROOTSIZE=3800       # Size in blocks
 options        MEMORY_DISK_IS_ROOT     # use memory disk as root
+options        MINIROOTSIZE=7000       # Size in blocks (3.5MB)
 
 options        XSERVER                 # also need INSECURE for now
 options        INSECURE                # disable kernel securelevel
@@ -114,17 +113,17 @@
 #options       COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
 
 # Miscellaneous kernel options
-options        KTRACE          # system call tracing, a la ktrace(1)
-options        IRQSTATS        # manage IRQ statistics, XXX temp required
+#options       KTRACE          # system call tracing, a la ktrace(1)
+#options       IRQSTATS        # manage IRQ statistics, XXX temp required
 #options       LKM             # loadable kernel modules
-options        KMEMSTATS       # kernel memory statistics, XXX temp required
+#options       KMEMSTATS       # kernel memory statistics, XXX temp required
 options                PIPE_SOCKETPAIR # smaller, but slower pipe(2)
 
 # Development and Debugging options
 
 #options       ARM700BUGTRACK  # track the ARM700 swi bug
 #options       PORTMASTER      # Enable PortMaster only options
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       IPKDB           # remote kernel debugging
 options        DDB             # in-kernel debugger
@@ -182,13 +181,13 @@
 scr*           at ofisascr?
 
 # ESS Sound@OFW
-ess*           at ofisa?
-audio*         at ess?
-opl*           at ess?
-midi*          at opl?
+#ess*          at ofisa?
+#audio*                at ess?
+#opl*          at ess?
+#midi*         at opl?
 
 # Joystick @OFW
-joy*           at ofisa?
+#joy*          at ofisa?
 
 pseudo-device  loop    1               # network loopback
 pseudo-device  bpfilter 8              # packet filter
@@ -199,10 +198,10 @@
 
 pseudo-device  pty                     # pseudo-terminals
 #pseudo-device tb      1               # tablet line discipline
-pseudo-device  vnd     4               # disk-like interface to files
+#pseudo-device vnd     4               # disk-like interface to files
 #pseudo-device ccd     2               # concatenated disk devices
 pseudo-device  rnd                     # /dev/random and /dev/urandom
 
 pseudo-device  md      1               # Ramdisk driver
 #pseudo-device profiler 1              # fiq based profiling device
-pseudo-device  sequencer 1             # MIDI sequencer
+#pseudo-device sequencer 1             # MIDI sequencer



Home | Main Index | Thread Index | Old Index