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).
This commit is contained in:
thorpej 2002-02-12 00:49:40 +00:00
parent bff769a5fc
commit dbb80edc9d
1 changed files with 21 additions and 22 deletions

View File

@ -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 @@ options NMBCLUSTERS=1024 # XXX, temporarily required
# 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 @@ options NFS_BOOT_DHCP # use NetBSD standard DHCP/NFS boot code
# 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 @@ options COMPAT_12 # NetBSD 1.2 compatibility.
# 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 INSECURE # disable kernel securelevel
#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 @@ ofisascr* at ofisa?
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 bpfilter 8 # packet filter
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