NETBOOKPRO revision 1.6 1 # $NetBSD: NETBOOKPRO,v 1.6 2012/08/17 19:43:25 abs Exp $
2 #
3 # NETBOOKPRO -- Psion Teklogix NETBOOK PRO
4 #
5
6 include "arch/hpcarm/conf/std.pxa2x0"
7 include "arch/hpcarm/conf/files.netbookpro"
8
9 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10
11 #ident "GENERIC-$Revision: 1.6 $"
12
13 # estimated number of users
14 maxusers 32
15
16 # in-kernel bootloader, see kloader(4)
17 options KLOADER
18 #options KLOADER_KERNEL_PATH="\"/netbsd\""
19 #options KLOADER_DEBUG
20
21 # Standard system options
22
23 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
24 # (default timezone is passed from hpcboot)
25 #options NTP # NTP phase/frequency locked loop
26
27 # CPU options
28
29 # For XScale systems
30 options CPU_XSCALE_PXA250 # Support the XScale PXA255 core
31 makeoptions CPUFLAGS="-mcpu=xscale"
32
33 # Architecture options
34 options XSCALE_CACHE_READ_WRITE_ALLOCATE
35 options PXAGPIO_HAS_GPION_INTRS
36
37 # File systems
38
39 file-system FFS # UFS
40 #file-system LFS # log-structured file system
41 file-system MFS # memory file system
42 file-system NFS # Network file system
43 #file-system ADOSFS # AmigaDOS-compatible file system
44 file-system EXT2FS # second extended file system (linux)
45 file-system CD9660 # ISO 9660 + Rock Ridge file system
46 file-system MSDOSFS # MS-DOS file system
47 file-system FDESC # /dev/fd
48 file-system KERNFS # /kern
49 file-system NULLFS # loopback file system
50 #file-system OVERLAY # overlay filesystem
51 file-system PROCFS # /proc
52 #file-system UMAPFS # NULLFS + uid and gid remapping
53 file-system UNION # union file system
54 file-system PTYFS # /dev/pts/N support
55 file-system TMPFS # Efficient memory file-system
56 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
57
58 # File system options
59 #options QUOTA # legacy UFS quotas
60 #options QUOTA2 # new, in-filesystem UFS quotas
61 options FFS_EI # FFS Endian Independant support
62 #options WAPBL # File system journaling support
63 #options FFS_NO_SNAPSHOT # No FFS snapshot support
64 #options NFSSERVER
65
66 # Networking options
67
68 #options GATEWAY # packet forwarding
69 options INET # IP + ICMP + TCP + UDP
70 options INET6 # IPV6
71 #options IPSEC # IP security
72 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
73 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
74 #options IPSEC_DEBUG # debug for IP security
75 #options MROUTING # IP multicast routing
76 #options PIM # Protocol Independent Multicast
77 #options ISO,TPIP # OSI
78 #options EON # OSI tunneling over IP
79 #options NETATALK # AppleTalk networking
80 #options PFIL_HOOKS # pfil(9) packet filter hooks
81 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
82 #options PPP_DEFLATE # Deflate compression support for PPP
83 #options PPP_FILTER # Active filter support for PPP (requires bpf)
84 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
85
86 # Compatibility options
87
88 #options COMPAT_43 # 4.3BSD compatibility.
89 options COMPAT_50 # NetBSD 5.0 compatibility.
90 options COMPAT_40 # NetBSD 4.0 compatibility.
91 options COMPAT_30 # NetBSD 3.0 compatibility.
92 options COMPAT_20 # NetBSD 2.0 compatibility.
93 options COMPAT_16 # NetBSD 1.6 compatibility.
94 #options COMPAT_15 # NetBSD 1.5 compatibility.
95 #options COMPAT_14 # NetBSD 1.4 compatibility.
96 #options COMPAT_13 # NetBSD 1.3 compatibility.
97 #options COMPAT_12 # NetBSD 1.2 compatibility.
98 #options COMPAT_11 # NetBSD 1.1 compatibility.
99 #options COMPAT_10 # NetBSD 1.0 compatibility.
100 #options COMPAT_09 # NetBSD 0.9 compatibility.
101 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
102 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
103
104 # Shared memory options
105
106 options SYSVMSG # System V-like message queues
107 options SYSVSEM # System V-like semaphores
108 options SYSVSHM # System V-like memory sharing
109
110 # Miscellaneous kernel options
111 options KTRACE # system call tracing, a la ktrace(1)
112 #options IRQSTATS # manage IRQ statistics
113 #options KMEMSTATS # kernel memory statistics
114 #options SCSIVERBOSE # Verbose SCSI errors
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 options NFS_BOOT_DHCP
119
120 #
121 # wscons options
122 #
123 # builtin terminal emulations
124 options WSEMUL_VT100
125 # allocate a number of virtual screens at autoconfiguration time
126 #options WSDISPLAY_DEFAULTSCREENS=2
127 # The X server requires theses two options
128 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
129 options WSDISPLAY_COMPAT_RAWKBD
130 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
131 #options WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
132 #options WS_DEFAULT_FG=WSCOL_WHITE
133 #options WS_DEFAULT_BG=WSCOL_BLACK
134 #options WS_DEFAULT_COLATTR="(0)"
135 #options WS_DEFAULT_MONOATTR="(0)"
136 options WS_KERNEL_FG=WSCOL_GREEN
137 #options WS_KERNEL_BG=WSCOL_BLACK
138 #options WS_KERNEL_COLATTR=""
139 #options WS_KERNEL_MONOATTR=""
140
141 options FONT_VT220L8x16
142
143 # Development and Debugging options
144
145 #options VERBOSE_INIT_ARM
146 #options BOOT_DUMP # Enable memorydump at boot
147 options DIAGNOSTIC # internal consistency checks
148 #options DEBUG # expensive debugging checks/support
149 #options PMAP_DEBUG # Enable pmap_debug_level code
150 options DDB # in-kernel debugger
151 #options DDB_HISTORY_SIZE=512 # Enable history editing in DDB
152 #makeoptions DEBUG="-g" # compile full symbol table
153
154 config netbsd root on ? type ?
155
156 # The main bus device
157 mainbus0 at root
158
159 # The boot CPU
160 cpu0 at mainbus?
161
162 # integrated peripherals
163 pxaip0 at mainbus?
164
165 pxaintc0 at pxaip? addr 0x40d00000 # interrupt controller
166 pxagpio0 at pxaip? addr 0x40e00000 # GPIO
167
168 # DMAC support
169 pxadmac0 at pxaip? addr 0x40000000 intr 25
170 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
171 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
172
173 # Serial
174 # integrated 16550 UARTs
175 options COM_PXA2X0
176 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
177 #com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (IrDA)
178 #com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART
179 #com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART
180 #options CONSPEED=115200
181
182 # OS Timer
183 saost* at pxaip? addr 0x40a00000 size 0x20
184
185 # AC97 Audio support
186 pxaacu0 at pxaip? addr 0x40500000 intr 14 # Wolfson WM97xx
187
188 # Audio support
189 audio* at audiobus?
190
191 # Inter-Integrated Circuit controller
192 nbpiic0 at pxaip? addr 0x40300000 intr 18
193 iic* at nbpiic?
194
195 nbppcon* at iic? addr 0x13 # PCon
196 r2025rtc* at iic? addr 0x32 # R2025S RTC
197 seeprom* at iic? addr 0x53 size 128
198
199 nbppm* at nbppcon? tag 0x05
200 hpcapm* at nbppm?
201 apmdev0 at hpcapm?
202
203 nbpkbd* at nbppcon? tag 0x00
204 hpckbd* at nbpkbd?
205 wskbd0 at hpckbd? mux 1
206
207 # integrated MMC/SD contoller
208 pxamci0 at pxaip? addr 0x41100000
209 sdmmc* at pxamci?
210 ld* at sdmmc? # MMC/SD/SDHC card
211
212 # integrated PCMCIA/CF controller
213 pxapcic0 at pxaip? addr 0x20000000
214 pcmcia* at pxapcic?
215
216 # PCMCIA IDE controllers
217 wdc* at pcmcia? function ?
218
219 # ATA (IDE) bus support
220 atabus* at ata?
221 #options ATADEBUG
222
223 # IDE drives
224 # Flags are used only with controllers that support DMA operations
225 # and mode settings (e.g. some pciide controllers)
226 # The lowest order four bits (rightmost digit) of the flags define the PIO
227 # mode to use, the next set of four bits the DMA mode and the third set the
228 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
229 # to use, and the last bit must be 1 for this setting to be used.
230 # For DMA and UDMA, 0xf (1111) means 'disable'.
231 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
232 # (0xc=1100, 0xa=1010, 0xf=1111)
233 # 0x0000 means "use whatever the drive claims to support".
234 wd* at atabus? drive ? flags 0x0000
235
236 btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
237 com* at pcmcia? function ? # Modems and serial cards
238 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
239 #malo* at pcmcia? function ? # Marvell 88W8385
240 mbe* at pcmcia? function ? # MB8696x based Ethernet
241 ne* at pcmcia? function ? # NE2000-compatible Ethernet
242 wi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11)
243
244 ukphy* at mii? phy ? # generic unknown PHYs
245
246 # Physical console
247 epsonlcd* at pxaip? addr 0x14000000 # Epson S1D13806
248 hpcfb* at epsonlcd?
249 wsdisplay* at hpcfb?
250
251 # Onboard USB Controller and Devices
252 slhci* at pxaip? addr 0x10000000 # ScanLogic SL811HS
253
254 # USB bus support
255 usb* at slhci?
256
257 # SCSI bus support
258 scsibus* at scsi?
259
260 # SCSI devices
261 sd* at scsibus? target ? lun ? # SCSI disk drives
262 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
263 uk* at scsibus? target ? lun ? # SCSI unknown
264
265 # USB Hubs
266 uhub* at usb?
267 uhub* at uhub? port ?
268
269 # USB HID device
270 uhidev* at uhub? port ? configuration ? interface ?
271
272 # USB Mice
273 ums* at uhidev? reportid ?
274 wsmouse* at ums? mux 0
275
276 # USB Keyboards
277 ukbd* at uhidev? reportid ?
278 wskbd* at ukbd? console ? mux 1
279
280 # USB Mass Storage
281 umass* at uhub? port ? configuration ? interface ?
282 wd* at umass?
283
284 # Bluetooth USB Controllers
285 ubt* at uhub? port ?
286
287 # USB Generic driver
288 ugen* at uhub? port ?
289 # On ugen bulk endpoints, perform read-ahead and write-behind.
290 options UGEN_BULK_RA_WB
291
292 # Bluetooth Device Hub
293 bthub* at bcsp?
294 bthub* at btbc?
295 bthub* at btuart?
296 bthub* at ubt?
297
298
299 # Pseudo-devices
300 pseudo-device loop # network loopback
301 pseudo-device bpfilter # packet filter
302 #pseudo-device sl # SLIP
303 pseudo-device ppp # PPP
304 pseudo-device tun # network tunneling over tty
305 #pseudo-device gre # generic L3 over IP tunnel
306 #pseudo-device ipfilter # ip filter
307 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
308 #pseudo-device faith # IPv[46] tcp relay translation i/f
309 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
310 #pseudo-device strip # STarmode Radio IP (Metricon Ricochet)
311
312 #pseudo-device vlan # IEEE 802.1q encapsulation
313 pseudo-device pty # pseudo-terminals
314 pseudo-device vnd # disk-like interface to files
315 #pseudo-device ccd 2 # concatenated disk devices
316 #pseudo-device cgd 2 # cryptographic disk devices
317 #pseudo-device raid 4 # RAIDframe disk driver
318 #options RAID_AUTOCONFIG # auto-configuration of RAID components
319 #pseudo-device fss # file system snapshot device
320
321 pseudo-device biconsdev 1 # build-in console device
322
323 pseudo-device md # Ramdisk driver
324 pseudo-device clockctl # user control of clock subsystem
325 pseudo-device ksyms # /dev/ksyms
326 pseudo-device bcsp # BlueCore Serial Protocol
327 pseudo-device btuart # Bluetooth HCI UART (H4)
328
329 # wscons pseudo-devices
330 pseudo-device wsmux # mouse & keyboard multiplexor
331 pseudo-device wsfont
332