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