GUMSTIX revision 1.6
1# $NetBSD: GUMSTIX,v 1.6 2007/01/18 10:24:53 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 IPKDB 143#options IPKDB_NE 144#options IPKDBKEY="\"Debug_it_over_network\"" 145#options VERBOSE_INIT_ARM # verbose bootstraping messages 146options DDB # in-kernel debugger 147#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 148#options KGDB 149#options DEBUG_KGDB 150makeoptions DEBUG="-g -O2" # compile full symbol table 151options SYMTAB_SPACE=350000 152#options AUDIO_DEBUG=2 153 154config netbsd root on ? type ? 155config netbsd-sm0 root on sm0 type nfs 156 157# The main bus device 158mainbus0 at root 159 160# The boot cpu 161cpu0 at mainbus? 162 163# integrated peripherals 164pxaip0 at mainbus? 165 166pxaintc0 at pxaip? # interrupt controller 167options PXAGPIO_HAS_GPION_INTRS 168 169pxagpio0 at pxaip? # GPIO 170 171# cotulla integrated 16550 UARTs 172options COM_PXA2X0 173com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 174com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (waysmall-ST) 175com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (older -bt) 176com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART (waysmall, -bt) 177options FFUARTCONSOLE 178#options STUARTCONSOLE 179#options BTUARTCONSOLE 180#options HWUARTCONSOLE 181#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 182#options KGDB_DEVRATE=115200 183 184# DMAC support 185pxadmac0 at pxaip? addr 0x40000000 intr 25 186options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 187#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 188 189# AC97 Audio support 190pxaacu0 at pxaip? addr 0x40500000 intr 14 191 192# Audio support 193audio* at audiobus? 194 195# LCD 196# 44000000-4400ffff : pxa2xx-fb 197 198# USB 199# 40600000-4060ffff : pxa2xx-udc 200 201# MMC card 202# 41100000-41100fff : pxa2xx-mci 203# 0xF0000000 by u-boot 204 205# gumstix device support 206gxio0 at pxaip? 207options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 208 209# gumstix expantion boards 210 211# SMC 91C111 212sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO} 213sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 214 215# PCMCIA/CF card 216gxpcic* at gxio? addr 0x20000000 gpirq 11 # cfstix, netCF 217pcmcia* at gxpcic? 218 219# PCMCIA serial interfaces 220com* at pcmcia? function ? # Modems and serial cards 221 222# PCMCIA IDE controllers 223wdc* at pcmcia? function ? 224atabus* at wdc? channel ? 225wd* at atabus? drive ? flags 0x0000 226 227# PCMCIA network interfaces 228ne* at pcmcia? function ? # NE2000-compatible Ethernet 229wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 230xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 231xi* at xirc? 232 233# MII/PHY support 234acphy* at mii? phy ? # AMD/Altima AC101 PHYs 235sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 236 237# USB Controller and Devices 238 239# ISA USB controllers 240#slhci* at pcmcia? function ? # ScanLogic SL811HS 241 242# USB bus support 243#usb* at slhci? 244 245# USB Hubs 246#uhub* at usb? 247#uhub* at uhub? port ? configuration ? interface ? 248 249# USB HID device 250#uhidev* at uhub? port ? configuration ? interface ? 251 252# USB Mice 253#ums* at uhidev? reportid ? 254#wsmouse* at ums? mux 0 255 256# USB eGalax touch-panel 257#uep* at uhub? port ? 258#wsmouse* at uep? mux 0 259 260# USB Keyboards 261#ukbd* at uhidev? reportid ? 262#wskbd* at ukbd? console ? mux 1 263 264# USB serial adpater 265#ucycom* at uhidev? reportid ? 266 267# USB Generic HID devices 268#uhid* at uhidev? reportid ? 269 270# USB Printer 271#ulpt* at uhub? port ? configuration ? interface ? 272 273# USB Modem 274#umodem* at uhub? port ? configuration ? 275#ucom* at umodem? 276 277# USB Mass Storage 278#umass* at uhub? port ? configuration ? interface ? 279#wd* at umass? 280 281# USB audio 282#uaudio* at uhub? port ? configuration ? 283 284# USB MIDI 285#umidi* at uhub? port ? configuration ? 286 287# USB IrDA 288# USB-IrDA bridge spec 289#uirda* at uhub? port ? configuration ? interface ? 290#irframe* at uirda? 291 292# SigmaTel STIr4200 USB/IrDA Bridge 293#ustir* at uhub? port ? 294#irframe* at ustir? 295 296# USB Ethernet adapters 297#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 298#axe* at uhub? port ? # ASIX AX88172 based adapters 299#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 300#cue* at uhub? port ? # CATC USB-EL1201A based adapters 301#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 302#udav* at uhub? port ? # Davicom DM9601 based adapters 303#url* at uhub? port ? # Realtek RTL8150L based adapters 304 305# USB 802.11b adapters 306#atu* at uhub? port ? # Atmel AT76C50XX based adapters 307#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 308 309# Prolific PL2301/PL2302 host-to-host adapter 310#upl* at uhub? port ? 311 312# Serial adapters 313#ubsa* at uhub? port ? # Belkin serial adapter 314#ucom* at ubsa? portno ? 315 316#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 317#ucom* at uftdi? portno ? 318 319#uipaq* at uhub? port ? # iPAQ PDAs 320#ucom* at uipaq? portno ? 321 322#umct* at uhub? port ? # MCT USB-RS232 serial adapter 323#ucom* at umct? portno ? 324 325#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 326#ucom* at uplcom? portno ? 327 328#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 329#ucom* at uvscom? portno ? 330 331# Diamond Multimedia Rio 500 332#urio* at uhub? port ? 333 334# USB Handspring Visor 335#uvisor* at uhub? port ? 336#ucom* at uvisor? 337 338# Kyocera AIR-EDGE PHONE 339#ukyopon* at uhub? port ? 340#ucom* at ukyopon? portno ? 341 342# USB scanners 343#uscanner* at uhub? port ? 344 345# USB scanners that use SCSI emulation, e.g., HP5300 346#usscanner* at uhub? port ? 347 348# Y@P firmware loader 349#uyap* at uhub? port ? 350 351# D-Link DSB-R100 USB radio 352#udsbr* at uhub? port ? 353#radio* at udsbr? 354 355# USB Generic driver 356#ugen* at uhub? port ? 357 358# Pseudo-Devices 359 360pseudo-device swcrypto # software crypto implementation 361 362# disk/mass storage pseudo-devices 363#pseudo-device ccd 4 # concatenated/striped disk devices 364#pseudo-device cgd 4 # cryptographic disk devices 365#pseudo-device raid 8 # RAIDframe disk driver 366#options RAID_AUTOCONFIG # auto-configuration of RAID components 367# Options to enable various other RAIDframe RAID types. 368#options RF_INCLUDE_EVENODD=1 369#options RF_INCLUDE_RAID5_RS=1 370#options RF_INCLUDE_PARITYLOGGING=1 371#options RF_INCLUDE_CHAINDECLUSTER=1 372#options RF_INCLUDE_INTERDECLUSTER=1 373#options RF_INCLUDE_PARITY_DECLUSTERING=1 374#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 375#pseudo-device fss 4 # file system snapshot device 376 377pseudo-device md 1 # memory disk device (ramdisk) 378pseudo-device vnd # disk-like interface to files 379options VND_COMPRESSION # compressed vnd(4) 380 381# network pseudo-devices 382pseudo-device bpfilter # Berkeley packet filter 383#pseudo-device carp # Common Address Redundancy Protocol 384pseudo-device ipfilter # IP filter (firewall) and NAT 385pseudo-device loop # network loopback 386pseudo-device ppp # Point-to-Point Protocol 387#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 388#pseudo-device sl # Serial Line IP 389#pseudo-device strip # Starmode Radio IP (Metricom) 390#pseudo-device irframetty # IrDA frame line discipline 391#pseudo-device tap # virtual Ethernet 392#pseudo-device tun # network tunneling over tty 393#pseudo-device gre # generic L3 over IP tunnel 394#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 395#pseudo-device faith # IPv[46] tcp relay translation i/f 396#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 397#pseudo-device vlan # IEEE 802.1q encapsulation 398#pseudo-device bridge # simple inter-network bridging 399#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 400#pseudo-device pf # PF packet filter 401#pseudo-device pflog # PF log if 402 403# miscellaneous pseudo-devices 404pseudo-device pty # pseudo-terminals 405#pseudo-device sequencer 1 # MIDI sequencer 406pseudo-device rnd # /dev/random and in-kernel generator 407options RND_COM 408pseudo-device clockctl # user control of clock subsystem 409pseudo-device ksyms # /dev/ksyms 410 411# a pseudo device needed for Coda # also needs CODA (above) 412#pseudo-device vcoda 4 # coda minicache <-> venus comm. 413 414# a pseudo device needed for SMBFS 415#pseudo-device nsmb # experimental - SMB requester 416 417# wscons pseudo-devices 418#pseudo-device wsmux # mouse & keyboard multiplexor 419#pseudo-device wsfont 420 421# data mover pseudo-devices 422#pseudo-device swdmover # softare dmover(9) back-end 423#pseudo-device dmoverio # /dev/dmover dmover(9) interface 424 425# Veriexec 426#pseudo-device veriexec 427# 428# Uncomment the fingerprint methods below that are desired. Note that 429# removing fingerprint methods will have almost no impact on the kernel 430# code size. 431# 432#options VERIFIED_EXEC_FP_RMD160 433#options VERIFIED_EXEC_FP_SHA256 434#options VERIFIED_EXEC_FP_SHA384 435#options VERIFIED_EXEC_FP_SHA512 436#options VERIFIED_EXEC_FP_SHA1 437#options VERIFIED_EXEC_FP_MD5 438