GUMSTIX revision 1.13
1# $NetBSD: GUMSTIX,v 1.13 2007/04/20 13:22:21 kiyohara Exp $ 2# 3# GUMSTIX -- Gumstix, Inc. gumstix platforms kernel 4# 5 6include "arch/evbarm/conf/std.gumstix" 7 8# estimated number of users 9 10maxusers 32 11 12# CPU options 13 14# For XScale systems 15options CPU_XSCALE_PXA250 # Support the XScale core 16makeoptions CPUFLAGS="-mcpu=xscale" 17 18# Architecture options 19#options XSCALE_CACHE_WRITE_THROUGH 20options XSCALE_CACHE_READ_WRITE_ALLOCATE 21 22# Standard system options 23 24options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 25#options NTP # NTP phase/frequency locked loop 26 27# File systems 28 29file-system FFS # UFS 30#file-system EXT2FS # second extended file system (linux) 31#file-system LFS # log-structured file system 32file-system MFS # memory file system 33file-system NFS # Network file system client 34#file-system NTFS # Windows/NT file system (experimental) 35file-system CD9660 # ISO 9660 + Rock Ridge file system 36file-system MSDOSFS # MS-DOS file system 37file-system FDESC # /dev/fd 38file-system KERNFS # /kern 39file-system NULLFS # loopback file system 40#file-system OVERLAY # overlay file system 41file-system PORTAL # portal filesystem (still experimental) 42file-system PROCFS # /proc 43#file-system UMAPFS # NULLFS + uid and gid remapping 44file-system UNION # union file system 45#file-system CODA # Coda File System; also needs vcoda (below) 46#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 47file-system PTYFS # /dev/pts/N support 48file-system TMPFS # Efficient memory file-system 49#file-system UDF # experimental - OSTA UDF CD/DVD file-system 50#file-system HFS # experimental - Apple HFS+ (read-only) 51 52# File system options 53#options QUOTA # UFS quotas 54#options FFS_EI # FFS Endian Independant support 55options SOFTDEP 56#options NFSSERVER 57#options FFS_NO_SNAPSHOT # No FFS snapshot support 58#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 59 # immutable) behave as system flags. 60 61# Networking options 62 63#options GATEWAY # packet forwarding 64options INET # IP + ICMP + TCP + UDP 65options INET6 # IPV6 66options IPSEC # IP security 67options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 68options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 69#options IPSEC_DEBUG # debug for IP security 70#options MROUTING # IP multicast routing 71#options ISO,TPIP # OSI 72#options EON # OSI tunneling over IP 73#options NETATALK # AppleTalk networking 74#options PFIL_HOOKS # pfil(9) packet filter hooks 75#options PPP_BSDCOMP # BSD-Compress compression support for PPP 76#options PPP_DEFLATE # Deflate compression support for PPP 77#options PPP_FILTER # Active filter support for PPP (requires bpf) 78#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 79 80options NFS_BOOT_BOOTP 81options NFS_BOOT_DHCP 82#options NFS_BOOT_BOOTPARAM 83 84# Compatibility options 85 86#options COMPAT_09 # NetBSD 0.9 compatibility. 87#options COMPAT_10 # NetBSD 1.0 compatibility. 88#options COMPAT_11 # NetBSD 1.1 compatibility. 89#options COMPAT_12 # NetBSD 1.2 compatibility. 90#options COMPAT_13 # NetBSD 1.3 compatibility. 91#options COMPAT_14 # NetBSD 1.4 compatibility. 92#options COMPAT_15 # NetBSD 1.5 compatibility. 93options COMPAT_16 # NetBSD 1.6 compatibility. 94options COMPAT_20 # NetBSD 2.0 compatibility. 95options COMPAT_30 # NetBSD 3.0 compatibility. 96#options COMPAT_43 # 4.3BSD compatibility. 97#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 98 99options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 100options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 101 102# Shared memory options 103 104#options SYSVMSG # System V-like message queues 105#options SYSVSEM # System V-like semaphores 106#options SEMMNI=10 # number of semaphore identifiers 107#options SEMMNS=60 # number of semaphores in system 108#options SEMUME=10 # max number of undo entries per process 109#options SEMMNU=30 # number of undo structures in system 110#options SYSVSHM # System V-like memory sharing 111#options SHMMAXPGS=1024 # 1024 pages is the default 112options P1003_1B_SEMAPHORE # p1003.1b semaphore support 113 114# Device options 115 116#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 117#options MEMORY_DISK_IS_ROOT # use memory disk as root 118#options MEMORY_DISK_DYNAMIC 119#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 120#options MEMORY_RBFLAGS=RB_AUTOBOOT 121 122# Miscellaneous kernel options 123 124options KTRACE # system call tracing, a la ktrace(1) 125#options SYSTRACE # system call vetting via systrace(1) 126options IRQSTATS # manage IRQ statistics 127#options LKM # loadable kernel modules 128#options KMEMSTATS # kernel memory statistics 129options PCMCIAVERBOSE # verbose PCMCIA configuration messages 130#options USBVERBOSE # verbose USB device autoconfig messages 131options MIIVERBOSE # Verbose MII autoconfuration messages 132#options DDB_KEYCODE=0x40 133#options USERCONF # userconf(4) support 134#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 135#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 136 137# Development and Debugging options 138 139#options PERFCTRS # performance counters 140options DIAGNOSTIC # internally consistency checks 141options DEBUG 142#options PMAP_DEBUG # Enable pmap_debug_level code 143#options VERBOSE_INIT_ARM # verbose bootstraping messages 144options DDB # in-kernel debugger 145#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 146#options KGDB 147#options DEBUG_KGDB 148makeoptions DEBUG="-g -O2" # compile full symbol table 149options SYMTAB_SPACE=350000 150#options AUDIO_DEBUG=2 151 152config netbsd root on ? type ? 153config netbsd-sm0 root on sm0 type nfs 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? # interrupt controller 165options PXAGPIO_HAS_GPION_INTRS 166 167pxagpio0 at pxaip? # GPIO 168pxartc0 at pxaip? # RTC 169 170# cotulla integrated 16550 UARTs 171options COM_PXA2X0 172com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 173com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st) 174com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (older -bt) 175com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, -bt) 176options FFUARTCONSOLE 177#options STUARTCONSOLE 178#options BTUARTCONSOLE 179#options HWUARTCONSOLE 180#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 181#options KGDB_DEVRATE=115200 182 183# DMAC support 184pxadmac0 at pxaip? addr 0x40000000 intr 25 185options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 186#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 187 188# AC97 Audio support 189pxaacu0 at pxaip? addr 0x40500000 intr 14 190 191# Audio support 192audio* at audiobus? 193 194# LCD 195#lcd0 at pxaip? 196#wsdisplay* at lcd? console ? 197 198# USB Controller and Devices 199pxaudc0 at pxaip? # USB Device Controller 200 201# integrated MMC/SD contoller 202#pxamci0 at pxaip? addr 0x41100000 size 0x48 203#sdmmc* at pxamci? 204#options PXAMCI_DEBUG 205#options SDMMC_DEBUG 206#options SDMMC_DUMP_CSD 207 208# SCSI bus support 209#scsibus* at scsi? 210 211# SCSI devices 212#sd* at scsibus? target ? lun ? # SCSI disk drives 213#uk* at scsibus? target ? lun ? # SCSI unknown 214 215# gumstix device support 216gxio0 at pxaip? 217options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 218 219# gumstix expantion boards 220 221# SMC 91C111 222sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO} 223sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 224 225# integrated PCMCIA/CF controller 226pxapcic0 at pxaip? # cfstix, netCF 227 228# PCMCIA bus support 229pcmcia* at pxapcic? 230 231# PCMCIA serial interfaces 232com* at pcmcia? function ? # Modems and serial cards 233 234# PCMCIA IDE controllers 235wdc* at pcmcia? function ? 236atabus* at wdc? channel ? 237wd* at atabus? drive ? flags 0x0000 238 239# PCMCIA network interfaces 240ne* at pcmcia? function ? # NE2000-compatible Ethernet 241wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 242xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 243xi* at xirc? 244 245# MII/PHY support 246acphy* at mii? phy ? # AMD/Altima AC101 PHYs 247sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 248 249# USB Devices 250 251# USB bus support 252#usb* at slhci? 253 254# USB Hubs 255#uhub* at usb? 256#uhub* at uhub? port ? 257 258# USB HID device 259#uhidev* at uhub? port ? configuration ? interface ? 260 261# USB Mice 262#ums* at uhidev? reportid ? 263#wsmouse* at ums? mux 0 264 265# USB eGalax touch-panel 266#uep* at uhub? port ? 267#wsmouse* at uep? mux 0 268 269# USB Keyboards 270#ukbd* at uhidev? reportid ? 271#wskbd* at ukbd? console ? mux 1 272 273# USB serial adpater 274#ucycom* at uhidev? reportid ? 275 276# USB Generic HID devices 277#uhid* at uhidev? reportid ? 278 279# USB Printer 280#ulpt* at uhub? port ? configuration ? interface ? 281 282# USB Modem 283#umodem* at uhub? port ? configuration ? 284#ucom* at umodem? 285 286# USB Mass Storage 287#umass* at uhub? port ? configuration ? interface ? 288#wd* at umass? 289 290# USB audio 291#uaudio* at uhub? port ? configuration ? 292 293# USB MIDI 294#umidi* at uhub? port ? configuration ? 295 296# USB IrDA 297# USB-IrDA bridge spec 298#uirda* at uhub? port ? configuration ? interface ? 299#irframe* at uirda? 300 301# SigmaTel STIr4200 USB/IrDA Bridge 302#ustir* at uhub? port ? 303#irframe* at ustir? 304 305# USB Ethernet adapters 306#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 307#axe* at uhub? port ? # ASIX AX88172 based adapters 308#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 309#cue* at uhub? port ? # CATC USB-EL1201A based adapters 310#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 311#udav* at uhub? port ? # Davicom DM9601 based adapters 312#url* at uhub? port ? # Realtek RTL8150L based adapters 313 314# USB 802.11b adapters 315#atu* at uhub? port ? # Atmel AT76C50XX based adapters 316#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 317 318# Prolific PL2301/PL2302 host-to-host adapter 319#upl* at uhub? port ? 320 321# Serial adapters 322#ubsa* at uhub? port ? # Belkin serial adapter 323#ucom* at ubsa? portno ? 324 325#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 326#ucom* at uftdi? portno ? 327 328#uipaq* at uhub? port ? # iPAQ PDAs 329#ucom* at uipaq? portno ? 330 331#umct* at uhub? port ? # MCT USB-RS232 serial adapter 332#ucom* at umct? portno ? 333 334#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 335#ucom* at uplcom? portno ? 336 337#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 338#ucom* at uvscom? portno ? 339 340# Diamond Multimedia Rio 500 341#urio* at uhub? port ? 342 343# USB Handspring Visor 344#uvisor* at uhub? port ? 345#ucom* at uvisor? 346 347# Kyocera AIR-EDGE PHONE 348#ukyopon* at uhub? port ? 349#ucom* at ukyopon? portno ? 350 351# USB scanners 352#uscanner* at uhub? port ? 353 354# USB scanners that use SCSI emulation, e.g., HP5300 355#usscanner* at uhub? port ? 356 357# Y@P firmware loader 358#uyap* at uhub? port ? 359 360# D-Link DSB-R100 USB radio 361#udsbr* at uhub? port ? 362#radio* at udsbr? 363 364# USB Generic driver 365#ugen* at uhub? port ? 366 367# Bluetooth Controller and Device support 368 369# Bluetooth PCMCIA Controllers 370#bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 371 372# Bluetooth USB Controllers 373#ubt* at uhub? port ? 374 375# Bluetooth Device Hub 376#bthub* at bt3c? 377bthub* at btuart? 378#bthub* at ubt? 379 380# Bluetooth HID support 381#bthidev* at bthub? 382 383# Bluetooth Mouse 384#btms* at bthidev? reportid ? 385#wsmouse* at btms? mux 0 386 387# Bluetooth Keyboard 388#btkbd* at bthidev? reportid ? 389#wskbd* at btkbd? console ? mux 1 390 391# Bluetooth Audio support 392#btsco* at bthub? 393 394# Pseudo-Devices 395 396pseudo-device swcrypto # software crypto implementation 397 398# disk/mass storage pseudo-devices 399#pseudo-device ccd 4 # concatenated/striped disk devices 400#pseudo-device cgd 4 # cryptographic disk devices 401#pseudo-device raid 8 # RAIDframe disk driver 402#options RAID_AUTOCONFIG # auto-configuration of RAID components 403# Options to enable various other RAIDframe RAID types. 404#options RF_INCLUDE_EVENODD=1 405#options RF_INCLUDE_RAID5_RS=1 406#options RF_INCLUDE_PARITYLOGGING=1 407#options RF_INCLUDE_CHAINDECLUSTER=1 408#options RF_INCLUDE_INTERDECLUSTER=1 409#options RF_INCLUDE_PARITY_DECLUSTERING=1 410#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 411#pseudo-device fss 4 # file system snapshot device 412 413pseudo-device md 1 # memory disk device (ramdisk) 414pseudo-device vnd # disk-like interface to files 415options VND_COMPRESSION # compressed vnd(4) 416 417# network pseudo-devices 418pseudo-device bpfilter # Berkeley packet filter 419#pseudo-device carp # Common Address Redundancy Protocol 420pseudo-device ipfilter # IP filter (firewall) and NAT 421pseudo-device loop # network loopback 422pseudo-device ppp # Point-to-Point Protocol 423#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 424#pseudo-device sl # Serial Line IP 425#pseudo-device strip # Starmode Radio IP (Metricom) 426#pseudo-device irframetty # IrDA frame line discipline 427#pseudo-device tap # virtual Ethernet 428#pseudo-device tun # network tunneling over tty 429#pseudo-device gre # generic L3 over IP tunnel 430#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 431#pseudo-device faith # IPv[46] tcp relay translation i/f 432#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 433#pseudo-device vlan # IEEE 802.1q encapsulation 434#pseudo-device bridge # simple inter-network bridging 435#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 436#pseudo-device pf # PF packet filter 437#pseudo-device pflog # PF log if 438 439# miscellaneous pseudo-devices 440pseudo-device pty # pseudo-terminals 441#pseudo-device sequencer 1 # MIDI sequencer 442pseudo-device rnd # /dev/random and in-kernel generator 443options RND_COM 444pseudo-device clockctl # user control of clock subsystem 445pseudo-device ksyms # /dev/ksyms 446pseudo-device btuart # Bluetooth HCI UART (H4) 447 448# a pseudo device needed for Coda # also needs CODA (above) 449#pseudo-device vcoda 4 # coda minicache <-> venus comm. 450 451# a pseudo device needed for SMBFS 452#pseudo-device nsmb # experimental - SMB requester 453 454# wscons pseudo-devices 455#pseudo-device wsmux # mouse & keyboard multiplexor 456#pseudo-device wsfont 457 458# data mover pseudo-devices 459#pseudo-device swdmover # softare dmover(9) back-end 460#pseudo-device dmoverio # /dev/dmover dmover(9) interface 461 462# Veriexec 463#pseudo-device veriexec 464# 465# Uncomment the fingerprint methods below that are desired. Note that 466# removing fingerprint methods will have almost no impact on the kernel 467# code size. 468# 469#options VERIFIED_EXEC_FP_RMD160 470#options VERIFIED_EXEC_FP_SHA256 471#options VERIFIED_EXEC_FP_SHA384 472#options VERIFIED_EXEC_FP_SHA512 473#options VERIFIED_EXEC_FP_SHA1 474#options VERIFIED_EXEC_FP_MD5 475