GUMSTIX revision 1.30
1# $NetBSD: GUMSTIX,v 1.30 2008/11/12 12:35:58 ad 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 KMEMSTATS # kernel memory statistics 139options PCMCIAVERBOSE # verbose PCMCIA configuration messages 140#options USBVERBOSE # verbose USB device autoconfig messages 141options MIIVERBOSE # Verbose MII autoconfuration messages 142#options DDB_KEYCODE=0x40 143#options USERCONF # userconf(4) support 144#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 145#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 146 147# Development and Debugging options 148 149#options PERFCTRS # performance counters 150options DIAGNOSTIC # internally consistency checks 151options DEBUG 152#options PMAP_DEBUG # Enable pmap_debug_level code 153#options VERBOSE_INIT_ARM # verbose bootstraping messages 154options DDB # in-kernel debugger 155#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 156#options KGDB 157#options DEBUG_KGDB 158makeoptions DEBUG="-g -O2" # compile full symbol table 159options SYMTAB_SPACE=400000 160#options AUDIO_DEBUG=2 161 162config netbsd root on ? type ? 163config netbsd-sm0 root on sm0 type nfs 164 165# The main bus device 166mainbus0 at root 167 168# The boot cpu 169cpu0 at mainbus? 170 171# integrated peripherals 172pxaip0 at mainbus? 173 174pxaintc0 at pxaip? # interrupt controller 175options PXAGPIO_HAS_GPION_INTRS 176 177pxagpio0 at pxaip? # GPIO 178pxartc0 at pxaip? # RTC 179 180# cotulla integrated 16550 UARTs 181options COM_PXA2X0 182com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 183com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st) 184com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (older -bt) 185com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, -bt) 186options FFUARTCONSOLE 187#options STUARTCONSOLE 188#options BTUARTCONSOLE 189#options HWUARTCONSOLE 190#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 191#options KGDB_DEVRATE=115200 192 193# DMAC support 194pxadmac0 at pxaip? addr 0x40000000 intr 25 195options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 196#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 197 198# AC97 Audio support 199pxaacu0 at pxaip? addr 0x40500000 intr 14 200 201# Audio support 202audio* at audiobus? 203 204# LCD 205#lcd0 at pxaip? 206#wsdisplay* at lcd? console ? 207 208# USB Controller and Devices 209pxaudc0 at pxaip? # USB Device Controller 210 211# integrated MMC/SD contoller 212#pxamci0 at pxaip? addr 0x41100000 size 0x48 213#sdmmc* at pxamci? 214#options PXAMCI_DEBUG 215#options SDMMC_DEBUG 216#options SDMMC_DUMP_CSD 217 218# SCSI bus support 219#scsibus* at scsi? 220 221# SCSI devices 222#sd* at scsibus? target ? lun ? # SCSI disk drives 223#uk* at scsibus? target ? lun ? # SCSI unknown 224 225# gumstix device support 226gxio0 at pxaip? 227options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 228options GXIO_DEFAULT_EXPANSION="\"netCF\"" 229 230# gumstix expantion boards 231 232# SMC 91C111 233sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO} 234sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 235 236# Inter-Integrated Circuit controller 237gxiic0 at pxaip? 238iic* at gxiic? 239#dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout 240 241# integrated PCMCIA/CF controller 242pxapcic0 at pxaip? # cfstix, netCF 243 244# PCMCIA bus support 245pcmcia* at pxapcic? 246 247# PCMCIA serial interfaces 248com* at pcmcia? function ? # Modems and serial cards 249 250# PCMCIA IDE controllers 251wdc* at pcmcia? function ? 252atabus* at wdc? channel ? 253wd* at atabus? drive ? flags 0x0000 254 255# PCMCIA network interfaces 256ne* at pcmcia? function ? # NE2000-compatible Ethernet 257wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 258#xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 259#xi* at xirc? 260 261# MII/PHY support 262#acphy* at mii? phy ? # AMD/Altima AC101 PHYs 263sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 264 265# PCMCIA USB controllers 266#slhci* at pcmcia? function ? # ScanLogic SL811HS 267 268# USB bus support 269#usb* at slhci? 270 271# USB Hubs 272#uhub* at usb? 273#uhub* at uhub? port ? 274 275# USB HID device 276#uhidev* at uhub? port ? configuration ? interface ? 277 278# USB Mice 279#ums* at uhidev? reportid ? 280#wsmouse* at ums? mux 0 281 282# USB eGalax touch-panel 283#uep* at uhub? port ? 284#wsmouse* at uep? mux 0 285 286# USB Keyboards 287#ukbd* at uhidev? reportid ? 288#wskbd* at ukbd? console ? mux 1 289 290# USB serial adapter 291#ucycom* at uhidev? reportid ? 292 293# USB Generic HID devices 294#uhid* at uhidev? reportid ? 295 296# USB Printer 297#ulpt* at uhub? port ? configuration ? interface ? 298 299# USB Modem 300#umodem* at uhub? port ? configuration ? 301#ucom* at umodem? 302 303# Huawei E220 3G/HSDPA modem 304#uhmodem* at uhub? port ? configuration ? interface ? 305#ucom* at uhmodem? portno ? 306 307# USB Mass Storage 308#umass* at uhub? port ? configuration ? interface ? 309#wd* at umass? 310 311# USB audio 312#uaudio* at uhub? port ? configuration ? 313 314# USB MIDI 315#umidi* at uhub? port ? configuration ? 316 317# USB IrDA 318# USB-IrDA bridge spec 319#uirda* at uhub? port ? configuration ? interface ? 320#irframe* at uirda? 321 322#stuirda* at uhub? port ? configuration ? interface ? 323#irframe* at stuirda? 324 325# SigmaTel STIr4200 USB/IrDA Bridge 326#ustir* at uhub? port ? 327#irframe* at ustir? 328 329# USB Ethernet adapters 330#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 331#axe* at uhub? port ? # ASIX AX88172 based adapters 332#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 333#cue* at uhub? port ? # CATC USB-EL1201A based adapters 334#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 335#udav* at uhub? port ? # Davicom DM9601 based adapters 336#url* at uhub? port ? # Realtek RTL8150L based adapters 337 338# USB 802.11 adapters 339#atu* at uhub? port ? # Atmel AT76C50XX based adapters 340#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 341#rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 342#zyd* at uhub? port ? # Zydas ZD1211 343 344# Prolific PL2301/PL2302 host-to-host adapter 345#upl* at uhub? port ? 346 347# Serial adapters 348#ubsa* at uhub? port ? # Belkin serial adapter 349#ucom* at ubsa? portno ? 350 351#uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 352#ucom* at uchcom? portno ? 353 354#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 355#ucom* at uftdi? portno ? 356 357#uipaq* at uhub? port ? # iPAQ PDAs 358#ucom* at uipaq? portno ? 359 360#umct* at uhub? port ? # MCT USB-RS232 serial adapter 361#ucom* at umct? portno ? 362 363#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 364#ucom* at uplcom? portno ? 365 366#uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 367#ucom* at uslsa? portno ? 368 369#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 370#ucom* at uvscom? portno ? 371 372# Diamond Multimedia Rio 500 373#urio* at uhub? port ? 374 375# USB Handspring Visor 376#uvisor* at uhub? port ? 377#ucom* at uvisor? 378 379# Kyocera AIR-EDGE PHONE 380#ukyopon* at uhub? port ? 381#ucom* at ukyopon? portno ? 382 383# USB scanners 384#uscanner* at uhub? port ? 385 386# USB scanners that use SCSI emulation, e.g., HP5300 387#usscanner* at uhub? port ? 388 389# Topfield TF5000PVR range of DVB recorders 390#utoppy* at uhub? port ? 391 392# Y@P firmware loader 393#uyap* at uhub? port ? 394 395# D-Link DSB-R100 USB radio 396#udsbr* at uhub? port ? 397#radio* at udsbr? 398 399# USB Generic driver 400#ugen* at uhub? port ? 401# On ugen bulk endpoints, perform read-ahead and write-behind. 402#options UGEN_BULK_RA_WB 403 404# USB 3G datacards 405#u3g* at uhub? port ? 406#ucom* at u3g? 407 408# USB generic serial port (e.g., data over cellular) 409#ugensa* at uhub? port ? 410#ucom* at ugensa? 411 412# Bluetooth Controller and Device support 413 414# Bluetooth PCMCIA Controllers 415#bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 416#btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 417 418# Bluetooth USB Controllers 419#ubt* at uhub? port ? 420 421# Bluetooth Device Hub 422#bthub* at bcsp? 423#bthub* at bt3c? 424#bthub* at btbc? 425bthub* at btuart? 426#bthub* at ubt? 427 428# Bluetooth HID support 429#bthidev* at bthub? 430 431# Bluetooth Mouse 432#btms* at bthidev? reportid ? 433#wsmouse* at btms? mux 0 434 435# Bluetooth Keyboard 436#btkbd* at bthidev? reportid ? 437#wskbd* at btkbd? console ? mux 1 438 439# Bluetooth Audio support 440#btsco* at bthub? 441 442# Pseudo-Devices 443 444pseudo-device crypto # /dev/crypto device 445pseudo-device swcrypto # software crypto implementation 446 447# disk/mass storage pseudo-devices 448#pseudo-device bio # RAID control device driver 449#pseudo-device ccd 4 # concatenated/striped disk devices 450pseudo-device cgd 4 # cryptographic disk devices 451#pseudo-device raid 8 # RAIDframe disk driver 452#options RAID_AUTOCONFIG # auto-configuration of RAID components 453# Options to enable various other RAIDframe RAID types. 454#options RF_INCLUDE_EVENODD=1 455#options RF_INCLUDE_RAID5_RS=1 456#options RF_INCLUDE_PARITYLOGGING=1 457#options RF_INCLUDE_CHAINDECLUSTER=1 458#options RF_INCLUDE_INTERDECLUSTER=1 459#options RF_INCLUDE_PARITY_DECLUSTERING=1 460#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 461#pseudo-device fss 4 # file system snapshot device 462 463pseudo-device md 1 # memory disk device (ramdisk) 464pseudo-device vnd # disk-like interface to files 465options VND_COMPRESSION # compressed vnd(4) 466 467# network pseudo-devices 468pseudo-device bpfilter # Berkeley packet filter 469#pseudo-device carp # Common Address Redundancy Protocol 470pseudo-device ipfilter # IP filter (firewall) and NAT 471pseudo-device loop # network loopback 472pseudo-device ppp # Point-to-Point Protocol 473#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 474#pseudo-device sl # Serial Line IP 475#pseudo-device strip # Starmode Radio IP (Metricom) 476#pseudo-device irframetty # IrDA frame line discipline 477#pseudo-device tap # virtual Ethernet 478#pseudo-device tun # network tunneling over tty 479#pseudo-device gre # generic L3 over IP tunnel 480#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 481#pseudo-device faith # IPv[46] tcp relay translation i/f 482#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 483#pseudo-device vlan # IEEE 802.1q encapsulation 484#pseudo-device bridge # simple inter-network bridging 485#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 486#pseudo-device agr # IEEE 802.3ad link aggregation 487#pseudo-device pf # PF packet filter 488#pseudo-device pflog # PF log if 489 490# miscellaneous pseudo-devices 491pseudo-device pty # pseudo-terminals 492#pseudo-device sequencer 1 # MIDI sequencer 493pseudo-device rnd # /dev/random and in-kernel generator 494options RND_COM 495pseudo-device clockctl # user control of clock subsystem 496pseudo-device ksyms # /dev/ksyms 497pseudo-device bcsp # BlueCore Serial Protocol 498pseudo-device btuart # Bluetooth HCI UART (H4) 499 # connect with Ericsson Bluetooth Module 500 501# a pseudo device needed for Coda # also needs CODA (above) 502pseudo-device vcoda 4 # coda minicache <-> venus comm. 503 504# a pseudo device needed for SMBFS 505pseudo-device nsmb # experimental - SMB requester 506 507# wscons pseudo-devices 508#pseudo-device wsmux # mouse & keyboard multiplexor 509#pseudo-device wsfont 510 511# data mover pseudo-devices 512#pseudo-device swdmover # softare dmover(9) back-end 513#pseudo-device dmoverio # /dev/dmover dmover(9) interface 514 515#options FILEASSOC # fileassoc(9) - required for Veriexec 516 517# Veriexec 518#pseudo-device veriexec 519# 520# Uncomment the fingerprint methods below that are desired. Note that 521# removing fingerprint methods will have almost no impact on the kernel 522# code size. 523# 524#options VERIFIED_EXEC_FP_RMD160 525#options VERIFIED_EXEC_FP_SHA256 526#options VERIFIED_EXEC_FP_SHA384 527#options VERIFIED_EXEC_FP_SHA512 528#options VERIFIED_EXEC_FP_SHA1 529#options VERIFIED_EXEC_FP_MD5 530 531#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 532#options PAX_ASLR=0 # PaX Address Space Layout Randomization 533