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