1 # $NetBSD: GUMSTIX,v 1.42 2009/12/07 08:58:48 kiyohara Exp $
3 # GUMSTIX -- Gumstix. Inc. gumstix platforms kernel
6 include "arch/evbarm/conf/std.gumstix"
8 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
10 # estimated number of users
17 options CPU_XSCALE_PXA250 # Support the basix/connex motherboards
18 options CPU_XSCALE_PXA270 # Support the verdex motherboards
19 makeoptions CPUFLAGS="-mcpu=xscale"
21 # Architecture options
22 #options XSCALE_CACHE_WRITE_THROUGH
23 options XSCALE_CACHE_READ_WRITE_ALLOCATE
25 # Standard system options
27 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
28 #options NTP # NTP phase/frequency locked loop
33 file-system EXT2FS # second extended file system (linux)
34 file-system LFS # log-structured file system
35 file-system MFS # memory file system
36 file-system NFS # Network File System client
37 #file-system NTFS # Windows/NT file system (experimental)
38 #file-system CD9660 # ISO 9660 + Rock Ridge file system
39 file-system MSDOSFS # MS-DOS file system
40 file-system FDESC # /dev/fd
41 file-system KERNFS # /kern
42 file-system NULLFS # loopback file system
43 file-system OVERLAY # overlay file system
44 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
45 file-system PROCFS # /proc
46 file-system UMAPFS # NULLFS + uid and gid remapping
47 file-system UNION # union file system
48 file-system CODA # Coda File System; also needs vcoda (below)
49 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
50 file-system PTYFS # /dev/ptm support
51 file-system TMPFS # Efficient memory file-system
52 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
53 #file-system HFS # experimental - Apple HFS+ (read-only)
56 #options QUOTA # UFS quotas
57 #options FFS_EI # FFS Endian Independent support
58 options WAPBL # File system journaling support - Experimental
59 # Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
60 # It is not recommended for general use.
61 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
62 #options NFSSERVER # Network File System server
63 #options FFS_NO_SNAPSHOT # No FFS snapshot support
64 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
65 # immutable) behave as system flags.
69 #options GATEWAY # packet forwarding
70 options INET # IP + ICMP + TCP + UDP
72 options IPSEC # IP security
73 options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
74 options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
75 #options IPSEC_DEBUG # debug for IP security
76 #options MROUTING # IP multicast routing
77 #options PIM # Protocol Independent Multicast
78 #options ISO,TPIP # OSI
79 #options EON # OSI tunneling over IP
80 #options NETATALK # AppleTalk networking
81 #options PFIL_HOOKS # pfil(9) packet filter hooks
82 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
83 #options PPP_DEFLATE # Deflate compression support for PPP
84 #options PPP_FILTER # Active filter support for PPP (requires bpf)
85 #options IPFILTER_LOG # ipmon(8) log support
86 #options IPFILTER_LOOKUP # ippool(8) support
87 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
88 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
90 options NFS_BOOT_BOOTP
92 #options NFS_BOOT_BOOTPARAM
94 # Compatibility options
96 #options COMPAT_09 # NetBSD 0.9 compatibility.
97 #options COMPAT_10 # NetBSD 1.0 compatibility.
98 #options COMPAT_11 # NetBSD 1.1 compatibility.
99 #options COMPAT_12 # NetBSD 1.2 compatibility.
100 #options COMPAT_13 # NetBSD 1.3 compatibility.
101 #options COMPAT_14 # NetBSD 1.4 compatibility.
102 #options COMPAT_15 # NetBSD 1.5 compatibility.
103 options COMPAT_16 # NetBSD 1.6 compatibility.
104 options COMPAT_20 # NetBSD 2.0 compatibility.
105 options COMPAT_30 # NetBSD 3.0 compatibility.
106 options COMPAT_40 # NetBSD 4.0 compatibility.
107 options COMPAT_50 # NetBSD 5.0 compatibility.
108 #options COMPAT_43 # 4.3BSD compatibility.
109 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
111 options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
112 options COMPAT_LINUX # binary compatibility with Linux
113 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
115 # Shared memory options
117 #options SYSVMSG # System V-like message queues
118 #options SYSVSEM # System V-like semaphores
119 #options SEMMNI=10 # number of semaphore identifiers
120 #options SEMMNS=60 # number of semaphores in system
121 #options SEMUME=10 # max number of undo entries per process
122 #options SEMMNU=30 # number of undo structures in system
123 #options SYSVSHM # System V-like memory sharing
124 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
128 #options MEMORY_DISK_HOOKS # boottime setup of ramdisk
129 #options MEMORY_DISK_IS_ROOT # use memory disk as root
130 #options MEMORY_DISK_DYNAMIC
131 #options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
133 # Miscellaneous kernel options
135 options KTRACE # system call tracing, a la ktrace(1)
136 options IRQSTATS # manage IRQ statistics
137 #options KMEMSTATS # kernel memory statistics
138 options PCMCIAVERBOSE # verbose PCMCIA configuration messages
139 #options USBVERBOSE # verbose USB device autoconfig messages
140 options MIIVERBOSE # Verbose MII autoconfuration messages
141 #options DDB_KEYCODE=0x40
142 #options USERCONF # userconf(4) support
143 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
144 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
146 # Development and Debugging options
148 #options PERFCTRS # performance counters
149 options DIAGNOSTIC # internally consistency checks
152 #options PMAP_DEBUG # Enable pmap_debug_level code
153 #options VERBOSE_INIT_ARM # verbose bootstraping messages
154 options DDB # in-kernel debugger
155 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
158 makeoptions DEBUG="-g -O2" # compile full symbol table
159 options SYMTAB_SPACE=450000
160 #options AUDIO_DEBUG=2
162 config netbsd root on ? type ?
163 config netbsd-sm0 root on sm0 type nfs
164 config netbsd-smsh0 root on smsh0 type nfs
166 # The main bus device
172 # integrated peripherals
175 pxaintc0 at pxaip? # interrupt controller
176 options PXAGPIO_HAS_GPION_INTRS
178 pxagpio0 at pxaip? # GPIO
179 pxartc0 at pxaip? addr 0x40900000 # RTC
181 # cotulla integrated 16550 UARTs
183 com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART
184 com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st)
185 com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx)
186 com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt)
187 options FFUARTCONSOLE
188 #options STUARTCONSOLE
189 #options BTUARTCONSOLE
190 #options HWUARTCONSOLE
191 #options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart
192 #options KGDB_DEVRATE=115200
195 pxadmac0 at pxaip? addr 0x40000000 intr 25
196 options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
197 #options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority
200 pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix
206 lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx
207 wsdisplay* at lcd? console ?
209 # USB Host/Device Controller
210 ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx
212 pxaudc0 at pxaip? addr 0x40600000
214 # integrated MMC/SD contoller
215 pxamci0 at pxaip? addr 0x41100000 size 0x48
217 #options PXAMCI_DEBUG
219 #options SDMMC_DUMP_CSD
223 # gumstix device support
225 options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART
226 #options GXIO_DEFAULT_EXPANSION="\"netCF\""
228 # gumstix expantion boards
231 sm0 at gxio? addr 0x04000300 gpirq ?
232 #sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO
233 #sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx
234 sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC)
237 smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx
239 # Inter-Integrated Circuit controller
240 gxiic0 at pxaip? addr 0x40300000
242 #dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout
244 # integrated PCMCIA/CF controller
245 pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF
251 #malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx
254 # PCMCIA serial interfaces
255 com* at pcmcia? function ? # Modems and serial cards
257 # PCMCIA IDE controllers
258 wdc* at pcmcia? function ?
259 atabus* at wdc? channel ?
260 wd* at atabus? drive ? flags 0x0000
262 # PCMCIA network interfaces
263 ne* at pcmcia? function ? # NE2000-compatible Ethernet
264 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
265 #xirc* at pcmcia? function ? # Xircom CreditCard Ethernet
269 #acphy* at mii? phy ? # AMD/Altima AC101 PHYs
270 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
271 ukphy* at mii? phy ? # smsh(4) internal PHY
273 # PCMCIA USB controllers
274 #slhci* at pcmcia? function ? # ScanLogic SL811HS
282 uhub* at uhub? port ?
285 uhidev* at uhub? port ? configuration ? interface ?
288 ums* at uhidev? reportid ?
289 wsmouse* at ums? mux 0
292 ukbd* at uhidev? reportid ?
293 wskbd* at ukbd? console ? mux 1
295 # USB LCDs and USB-VGA adaptors
296 udl* at uhub? port ? # DisplayLink DL-1x0/1x5
300 umass* at uhub? port ? configuration ? interface ?
307 sd* at scsibus? target ? lun ? # SCSI disk drives
309 # Bluetooth Controller and Device support
311 # Bluetooth PCMCIA Controllers
312 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
314 # Bluetooth USB Controllers
315 #ubt* at uhub? port ?
317 # Bluetooth Device Hub
323 # Bluetooth HID support
327 btms* at bthidev? reportid ?
328 wsmouse* at btms? mux 0
331 btkbd* at bthidev? reportid ?
332 wskbd* at btkbd? console ? mux 1
334 # Bluetooth Audio support
339 pseudo-device crypto # /dev/crypto device
340 pseudo-device swcrypto # software crypto implementation
342 # disk/mass storage pseudo-devices
343 #pseudo-device bio # RAID control device driver
344 #pseudo-device ccd 4 # concatenated/striped disk devices
345 pseudo-device cgd 4 # cryptographic disk devices
346 #pseudo-device raid 8 # RAIDframe disk driver
347 #options RAID_AUTOCONFIG # auto-configuration of RAID components
348 # Options to enable various other RAIDframe RAID types.
349 #options RF_INCLUDE_EVENODD=1
350 #options RF_INCLUDE_RAID5_RS=1
351 #options RF_INCLUDE_PARITYLOGGING=1
352 #options RF_INCLUDE_CHAINDECLUSTER=1
353 #options RF_INCLUDE_INTERDECLUSTER=1
354 #options RF_INCLUDE_PARITY_DECLUSTERING=1
355 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
356 #pseudo-device fss 4 # file system snapshot device
358 #pseudo-device md 1 # memory disk device (ramdisk)
359 pseudo-device vnd # disk-like interface to files
360 options VND_COMPRESSION # compressed vnd(4)
361 pseudo-device putter # for puffs and pud
363 # network pseudo-devices
364 pseudo-device bpfilter # Berkeley packet filter
365 #pseudo-device carp # Common Address Redundancy Protocol
366 pseudo-device ipfilter # IP filter (firewall) and NAT
367 pseudo-device loop # network loopback
368 pseudo-device ppp # Point-to-Point Protocol
369 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
370 #pseudo-device sl # Serial Line IP
371 #pseudo-device strip # Starmode Radio IP (Metricom)
372 #pseudo-device irframetty # IrDA frame line discipline
373 #pseudo-device tap # virtual Ethernet
374 #pseudo-device tun # network tunneling over tty
375 #pseudo-device gre # generic L3 over IP tunnel
376 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
377 #pseudo-device faith # IPv[46] tcp relay translation i/f
378 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
379 #pseudo-device vlan # IEEE 802.1q encapsulation
380 #pseudo-device bridge # simple inter-network bridging
381 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
382 #pseudo-device agr # IEEE 802.3ad link aggregation
383 #pseudo-device pf # PF packet filter
384 #pseudo-device pflog # PF log if
386 # miscellaneous pseudo-devices
387 pseudo-device pty # pseudo-terminals
388 #pseudo-device sequencer 1 # MIDI sequencer
389 pseudo-device rnd # /dev/random and in-kernel generator
391 pseudo-device clockctl # user control of clock subsystem
392 pseudo-device ksyms # /dev/ksyms
393 pseudo-device bcsp # BlueCore Serial Protocol
394 pseudo-device btuart # Bluetooth HCI UART (H4)
395 # connect with Ericsson Bluetooth Module
396 # or Infineon SingleStone (PBA31307)
397 # or Infineon UniStone (PBA31308)
399 # a pseudo device needed for Coda # also needs CODA (above)
400 pseudo-device vcoda 4 # coda minicache <-> venus comm.
402 # a pseudo device needed for SMBFS
403 pseudo-device nsmb # experimental - SMB requester
405 # wscons pseudo-devices
406 #pseudo-device wsmux # mouse & keyboard multiplexor
407 #pseudo-device wsfont
409 # data mover pseudo-devices
410 #pseudo-device swdmover # softare dmover(9) back-end
411 #pseudo-device dmoverio # /dev/dmover dmover(9) interface
413 # userland interface to drivers, including autoconf and properties retrieval
416 #options FILEASSOC # fileassoc(9) - required for Veriexec
419 #pseudo-device veriexec
421 # Uncomment the fingerprint methods below that are desired. Note that
422 # removing fingerprint methods will have almost no impact on the kernel
425 #options VERIFIED_EXEC_FP_RMD160
426 #options VERIFIED_EXEC_FP_SHA256
427 #options VERIFIED_EXEC_FP_SHA384
428 #options VERIFIED_EXEC_FP_SHA512
429 #options VERIFIED_EXEC_FP_SHA1
430 #options VERIFIED_EXEC_FP_MD5
432 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
433 #options PAX_ASLR=0 # PaX Address Space Layout Randomization