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