NAPPI revision 1.46 1 # $NetBSD: NAPPI,v 1.46 2012/09/11 19:43:10 msaitoh Exp $
2 #
3 # NAPPI -- Netwise APlication Platform Board Kernel
4 #
5
6 include "arch/evbarm/conf/std.ixm1200"
7
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9
10 # estimated number of users
11
12 maxusers 32
13
14 # Standard system options
15
16 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
17 #options NTP # NTP phase/frequency locked loop
18
19 # CPU options
20
21 # For StrongARM systems
22 options CPU_SA110 # Support the SA110 core
23 options CPU_IXP12X0 # Support the IXP12X0
24 makeoptions CPUFLAGS="-march=armv4 -mtune=strongarm"
25
26 # Architecture options
27
28 # File systems
29
30 file-system FFS # UFS
31 #file-system LFS # log-structured file system
32 file-system MFS # memory file system
33 file-system NFS # Network file system
34 #file-system ADOSFS # AmigaDOS-compatible file system
35 #file-system EXT2FS # second extended file system (linux)
36 #file-system CD9660 # ISO 9660 + Rock Ridge file system
37 #file-system MSDOSFS # MS-DOS file system
38 file-system FDESC # /dev/fd
39 file-system KERNFS # /kern
40 file-system NULLFS # loopback file system
41 file-system PROCFS # /proc
42 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
43 #file-system UMAPFS # NULLFS + uid and gid remapping
44 #file-system UNION # union file system
45 file-system PTYFS # /dev/pts/N support
46
47 # File system options
48 #options QUOTA # legacy UFS quotas
49 #options QUOTA2 # new, in-filesystem UFS quotas
50 #options FFS_EI # FFS Endian Independent support
51 options NFSSERVER
52 options WAPBL # File system journaling support
53 #options FFS_NO_SNAPSHOT # No FFS snapshot support
54
55 # Networking options
56
57 #options GATEWAY # packet forwarding
58 options INET # IP + ICMP + TCP + UDP
59 options INET6 # IPV6
60 #options IPSEC # IP security
61 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
62 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
63 #options IPSEC_DEBUG # debug for IP security
64 #options MROUTING # IP multicast routing
65 #options PIM # Protocol Independent Multicast
66 #options ISO,TPIP # OSI
67 #options EON # OSI tunneling over IP
68 #options NETATALK # AppleTalk networking
69 #options PFIL_HOOKS # pfil(9) packet filter hooks
70 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
71 #options PPP_DEFLATE # Deflate compression support for PPP
72 #options PPP_FILTER # Active filter support for PPP (requires bpf)
73 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
74
75 options NFS_BOOT_BOOTP
76 options NFS_BOOT_DHCP
77 #options NFS_BOOT_BOOTPARAM
78
79 # Compatibility options
80
81 #options COMPAT_43 # 4.3BSD compatibility.
82 options COMPAT_50 # NetBSD 5.0 compatibility.
83 options COMPAT_40 # NetBSD 4.0 compatibility.
84 options COMPAT_30 # NetBSD 3.0 compatibility.
85 options COMPAT_20 # NetBSD 2.0 compatibility.
86 options COMPAT_16 # NetBSD 1.6 compatibility.
87 options COMPAT_15 # NetBSD 1.5 compatibility.
88 options COMPAT_14 # NetBSD 1.4 compatibility.
89 #options COMPAT_13 # NetBSD 1.3 compatibility.
90 #options COMPAT_12 # NetBSD 1.2 compatibility.
91 #options COMPAT_11 # NetBSD 1.1 compatibility.
92 #options COMPAT_10 # NetBSD 1.0 compatibility.
93 #options COMPAT_09 # NetBSD 0.9 compatibility.
94 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
95 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
96
97 # Shared memory options
98
99 options SYSVMSG # System V-like message queues
100 options SYSVSEM # System V-like semaphores
101 options SYSVSHM # System V-like memory sharing
102
103 # Console options.
104 #options CONSPEED=38400 # Console speed
105
106 # Miscellaneous kernel options
107 options KTRACE # system call tracing, a la ktrace(1)
108 options IRQSTATS # manage IRQ statistics
109 #options KMEMSTATS # kernel memory statistics
110 #options SCSIVERBOSE # Verbose SCSI errors
111 options PCIVERBOSE # Verbose PCI descriptions
112 options MIIVERBOSE # Verbose MII autoconfuration messages
113 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
114 #options DDB_KEYCODE=0x40
115 options USERCONF # userconf(4) support
116 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
117 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
118
119 # Development and Debugging options
120
121 #options DIAGNOSTIC # internally consistency checks
122 #options DEBUG
123 options PMAP_DEBUG # Enable pmap_debug_level code
124 options VERBOSE_INIT_ARM # verbose bootstraping messages
125 options DDB # in-kernel debugger
126 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
127 #makeoptions DEBUG="-g" # compile full symbol table
128 options SYMTAB_SPACE=500000
129
130 config netbsd root on ? type ?
131
132 # The main bus device
133 mainbus0 at root
134
135 # The boot CPU
136 cpu0 at mainbus?
137
138 # IXP12x0 slow peripheral
139 ixpsip0 at mainbus?
140
141 #Timer
142 ixpclk* at ixpsip? addr 0x42000300 size 0x10
143
144 # Serial
145 ixpcom* at ixpsip? addr 0x90000000 size 0x4000
146
147 # Status LEDs
148 nappinr* at ixpsip? addr 0x38508000 size 0x1000
149
150 # IXP12x0 fast bus
151 ixpio0 at mainbus?
152 pci0 at ixpio? bus ?
153
154 # Non-Transparent PCI-PCI bridge
155 #nppb* at pci? dev ? function ?
156
157 #
158 # Networking devices
159 #
160 fxp* at pci? dev ? function ? # Intel 82559ER Fast Ethernet LAN Controller
161
162 # MII/PHY support
163 inphy* at mii? phy ? # Intel 82555 PHYs
164
165
166 # Pseudo-Devices
167
168 # disk/mass storage pseudo-devices
169 #pseudo-device md # memory disk device (ramdisk)
170 #pseudo-device vnd # disk-like interface to files
171 #pseudo-device fss # file system snapshot device
172 #pseudo-device putter # for puffs and pud
173
174 # network pseudo-devices
175 #pseudo-device bpfilter # Berkeley packet filter
176 pseudo-device loop # network loopback
177
178 # miscellaneous pseudo-devices
179 pseudo-device pty # pseudo-terminals
180 pseudo-device ksyms # /dev/ksyms
181