Fri May 20 07:47:53 2011 UTC ()
Shrink INSTALL kerenl more:
 - disable KERNFS (install ramdisk uses /sbin/dmesg directly)
 - disable mice, audio, uk(4), and wsfont(4)


(tsutsui)
diff -r1.7 -r1.8 src/sys/arch/zaurus/conf/INSTALL

cvs diff -r1.7 -r1.8 src/sys/arch/zaurus/conf/INSTALL (expand / switch to unified diff)

--- src/sys/arch/zaurus/conf/INSTALL 2011/05/05 09:07:59 1.7
+++ src/sys/arch/zaurus/conf/INSTALL 2011/05/20 07:47:53 1.8
@@ -1,50 +1,63 @@ @@ -1,50 +1,63 @@
1# $NetBSD: INSTALL,v 1.7 2011/05/05 09:07:59 nonaka Exp $ 1# $NetBSD: INSTALL,v 1.8 2011/05/20 07:47:53 tsutsui Exp $
2# 2#
3# INSTALL config file (GENERIC with memory disk root) 3# INSTALL config file (GENERIC with memory disk root)
4# 4#
5 5
6include "arch/zaurus/conf/GENERIC" 6include "arch/zaurus/conf/GENERIC"
7 7
8# Enable the hooks used for initializing the root memory-disk. 8# Enable the hooks used for initializing the root memory-disk.
9options MEMORY_DISK_HOOKS 9options MEMORY_DISK_HOOKS
10options MEMORY_DISK_IS_ROOT # force root on memory disk 10options MEMORY_DISK_IS_ROOT # force root on memory disk
11options MEMORY_DISK_SERVER=0 # no userspace memory disk support 11options MEMORY_DISK_SERVER=0 # no userspace memory disk support
12options MEMORY_DISK_ROOT_SIZE=4288 # size of memory disk, in blocks 12options MEMORY_DISK_ROOT_SIZE=4288 # size of memory disk, in blocks
13options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode 13options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
14 14
15# for reduce kernel size. 15# for reduce kernel size.
16# kernei size must be less than 5MB. 16# kernei size must be less than 5MB.
17# - see src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c:bsdimage[] 17# - see src/sys/arch/zaurus/stand/zbsdmod/zbsdmod.c:bsdimage[]
18 18
19makeoptions COPTS="-Os" 19makeoptions COPTS="-Os"
20 20
21no options INSECURE 21no options INSECURE
22 22
 23no file-system KERNFS
23no file-system NULLFS 24no file-system NULLFS
24no file-system PROCFS 25no file-system PROCFS
25no file-system PTYFS 26no file-system PTYFS
26no file-system TMPFS 27no file-system TMPFS
27 28
28no options COMPAT_OSSAUDIO 29no options COMPAT_OSSAUDIO
29 30
30no options SYSVMSG 31no options SYSVMSG
31no options SYSVSEM 32no options SYSVSEM
32no options SYSVSHM 33no options SYSVSHM
33no options P1003_1B_SEMAPHORE 34no options P1003_1B_SEMAPHORE
34 35
35options PIPE_SOCKETPAIR 36options PIPE_SOCKETPAIR
36 37
37no options WSDISPLAY_COMPAT_PCVT 38no options WSDISPLAY_COMPAT_PCVT
38no options WSDISPLAY_COMPAT_USL 39no options WSDISPLAY_COMPAT_USL
39no options WSDISPLAY_COMPAT_RAWKBD 40no options WSDISPLAY_COMPAT_RAWKBD
40 41
41no options DIAGNOSTIC 42no options DIAGNOSTIC
42no options DDB 43no options DDB
43no options DDB_HISTORY_SIZE 44no options DDB_HISTORY_SIZE
44no options SYMTAB_SPACE 45no options SYMTAB_SPACE
45 46
 47no ztp0 at pxaip?
 48no wsmouse* at ztp?
 49
 50no zaudio0 at pxaip?
 51no audio* at zaudio?
 52
 53no ums* at uhidev?
 54no wsmouse* at ums?
 55
 56no uk* at scsibus?
 57
46no pseudo-device vnd 58no pseudo-device vnd
47no options VND_COMPRESSION 59no options VND_COMPRESSION
48no pseudo-device accf_data 60no pseudo-device accf_data
49no pseudo-device accf_http 61no pseudo-device accf_http
50no pseudo-device ksyms 62no pseudo-device ksyms
 63no pseudo-device wsfont