GUMSTIX revision 1.12
1# $NetBSD: GUMSTIX,v 1.12 2007/04/20 13:00:08 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# integrated PCMCIA/CF controller 213pxapcic0 at pxaip? # cfstix, netCF 214 215# PCMCIA bus support 216pcmcia* at pxapcic? 217 218# PCMCIA serial interfaces 219com* at pcmcia? function ? # Modems and serial cards 220 221# PCMCIA IDE controllers 222wdc* at pcmcia? function ? 223atabus* at wdc? channel ? 224wd* at atabus? drive ? flags 0x0000 225 226# PCMCIA network interfaces 227ne* at pcmcia? function ? # NE2000-compatible Ethernet 228wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 229xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 230xi* at xirc? 231 232# MII/PHY support 233acphy* at mii? phy ? # AMD/Altima AC101 PHYs 234sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 235 236# USB Controller and Devices 237 238# ISA USB controllers 239#slhci* at pcmcia? function ? # ScanLogic SL811HS 240 241# USB bus support 242#usb* at slhci? 243 244# USB Hubs 245#uhub* at usb? 246#uhub* at uhub? port ? 247 248# USB HID device 249#uhidev* at uhub? port ? configuration ? interface ? 250 251# USB Mice 252#ums* at uhidev? reportid ? 253#wsmouse* at ums? mux 0 254 255# USB eGalax touch-panel 256#uep* at uhub? port ? 257#wsmouse* at uep? mux 0 258 259# USB Keyboards 260#ukbd* at uhidev? reportid ? 261#wskbd* at ukbd? console ? mux 1 262 263# USB serial adpater 264#ucycom* at uhidev? reportid ? 265 266# USB Generic HID devices 267#uhid* at uhidev? reportid ? 268 269# USB Printer 270#ulpt* at uhub? port ? configuration ? interface ? 271 272# USB Modem 273#umodem* at uhub? port ? configuration ? 274#ucom* at umodem? 275 276# USB Mass Storage 277#umass* at uhub? port ? configuration ? interface ? 278#wd* at umass? 279 280# USB audio 281#uaudio* at uhub? port ? configuration ? 282 283# USB MIDI 284#umidi* at uhub? port ? configuration ? 285 286# USB IrDA 287# USB-IrDA bridge spec 288#uirda* at uhub? port ? configuration ? interface ? 289#irframe* at uirda? 290 291# SigmaTel STIr4200 USB/IrDA Bridge 292#ustir* at uhub? port ? 293#irframe* at ustir? 294 295# USB Ethernet adapters 296#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 297#axe* at uhub? port ? # ASIX AX88172 based adapters 298#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 299#cue* at uhub? port ? # CATC USB-EL1201A based adapters 300#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 301#udav* at uhub? port ? # Davicom DM9601 based adapters 302#url* at uhub? port ? # Realtek RTL8150L based adapters 303 304# USB 802.11b adapters 305#atu* at uhub? port ? # Atmel AT76C50XX based adapters 306#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 307 308# Prolific PL2301/PL2302 host-to-host adapter 309#upl* at uhub? port ? 310 311# Serial adapters 312#ubsa* at uhub? port ? # Belkin serial adapter 313#ucom* at ubsa? portno ? 314 315#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 316#ucom* at uftdi? portno ? 317 318#uipaq* at uhub? port ? # iPAQ PDAs 319#ucom* at uipaq? portno ? 320 321#umct* at uhub? port ? # MCT USB-RS232 serial adapter 322#ucom* at umct? portno ? 323 324#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 325#ucom* at uplcom? portno ? 326 327#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 328#ucom* at uvscom? portno ? 329 330# Diamond Multimedia Rio 500 331#urio* at uhub? port ? 332 333# USB Handspring Visor 334#uvisor* at uhub? port ? 335#ucom* at uvisor? 336 337# Kyocera AIR-EDGE PHONE 338#ukyopon* at uhub? port ? 339#ucom* at ukyopon? portno ? 340 341# USB scanners 342#uscanner* at uhub? port ? 343 344# USB scanners that use SCSI emulation, e.g., HP5300 345#usscanner* at uhub? port ? 346 347# Y@P firmware loader 348#uyap* at uhub? port ? 349 350# D-Link DSB-R100 USB radio 351#udsbr* at uhub? port ? 352#radio* at udsbr? 353 354# USB Generic driver 355#ugen* at uhub? port ? 356 357# Bluetooth Controller and Device support 358 359# Bluetooth PCMCIA Controllers 360#bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 361 362# Bluetooth USB Controllers 363#ubt* at uhub? port ? 364 365# Bluetooth Device Hub 366#bthub* at bt3c? 367bthub* at btuart? 368#bthub* at ubt? 369 370# Bluetooth HID support 371#bthidev* at bthub? 372 373# Bluetooth Mouse 374#btms* at bthidev? reportid ? 375#wsmouse* at btms? mux 0 376 377# Bluetooth Keyboard 378#btkbd* at bthidev? reportid ? 379#wskbd* at btkbd? console ? mux 1 380 381# Bluetooth Audio support 382#btsco* at bthub? 383 384# Pseudo-Devices 385 386pseudo-device swcrypto # software crypto implementation 387 388# disk/mass storage pseudo-devices 389#pseudo-device ccd 4 # concatenated/striped disk devices 390#pseudo-device cgd 4 # cryptographic disk devices 391#pseudo-device raid 8 # RAIDframe disk driver 392#options RAID_AUTOCONFIG # auto-configuration of RAID components 393# Options to enable various other RAIDframe RAID types. 394#options RF_INCLUDE_EVENODD=1 395#options RF_INCLUDE_RAID5_RS=1 396#options RF_INCLUDE_PARITYLOGGING=1 397#options RF_INCLUDE_CHAINDECLUSTER=1 398#options RF_INCLUDE_INTERDECLUSTER=1 399#options RF_INCLUDE_PARITY_DECLUSTERING=1 400#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 401#pseudo-device fss 4 # file system snapshot device 402 403pseudo-device md 1 # memory disk device (ramdisk) 404pseudo-device vnd # disk-like interface to files 405options VND_COMPRESSION # compressed vnd(4) 406 407# network pseudo-devices 408pseudo-device bpfilter # Berkeley packet filter 409#pseudo-device carp # Common Address Redundancy Protocol 410pseudo-device ipfilter # IP filter (firewall) and NAT 411pseudo-device loop # network loopback 412pseudo-device ppp # Point-to-Point Protocol 413#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 414#pseudo-device sl # Serial Line IP 415#pseudo-device strip # Starmode Radio IP (Metricom) 416#pseudo-device irframetty # IrDA frame line discipline 417#pseudo-device tap # virtual Ethernet 418#pseudo-device tun # network tunneling over tty 419#pseudo-device gre # generic L3 over IP tunnel 420#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 421#pseudo-device faith # IPv[46] tcp relay translation i/f 422#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 423#pseudo-device vlan # IEEE 802.1q encapsulation 424#pseudo-device bridge # simple inter-network bridging 425#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 426#pseudo-device pf # PF packet filter 427#pseudo-device pflog # PF log if 428 429# miscellaneous pseudo-devices 430pseudo-device pty # pseudo-terminals 431#pseudo-device sequencer 1 # MIDI sequencer 432pseudo-device rnd # /dev/random and in-kernel generator 433options RND_COM 434pseudo-device clockctl # user control of clock subsystem 435pseudo-device ksyms # /dev/ksyms 436pseudo-device btuart # Bluetooth HCI UART (H4) 437 438# a pseudo device needed for Coda # also needs CODA (above) 439#pseudo-device vcoda 4 # coda minicache <-> venus comm. 440 441# a pseudo device needed for SMBFS 442#pseudo-device nsmb # experimental - SMB requester 443 444# wscons pseudo-devices 445#pseudo-device wsmux # mouse & keyboard multiplexor 446#pseudo-device wsfont 447 448# data mover pseudo-devices 449#pseudo-device swdmover # softare dmover(9) back-end 450#pseudo-device dmoverio # /dev/dmover dmover(9) interface 451 452# Veriexec 453#pseudo-device veriexec 454# 455# Uncomment the fingerprint methods below that are desired. Note that 456# removing fingerprint methods will have almost no impact on the kernel 457# code size. 458# 459#options VERIFIED_EXEC_FP_RMD160 460#options VERIFIED_EXEC_FP_SHA256 461#options VERIFIED_EXEC_FP_SHA384 462#options VERIFIED_EXEC_FP_SHA512 463#options VERIFIED_EXEC_FP_SHA1 464#options VERIFIED_EXEC_FP_MD5 465