GUMSTIX revision 1.49
1# $NetBSD: GUMSTIX,v 1.49 2010/05/22 19:02:07 plunky 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 basix/connex motherboards 18options CPU_XSCALE_PXA270 # Support the verdex motherboards 19makeoptions CPUFLAGS="-mcpu=xscale" 20 21# Architecture options 22#options XSCALE_CACHE_WRITE_THROUGH 23options XSCALE_CACHE_READ_WRITE_ALLOCATE 24 25# Gumstix options 26# if not specfied 'busheader=' in args from u-boot, use GXIO_DEFAULT_EXPANSION. 27options GUMSTIX_NETBSD_ARGS_BUSHEADER 28options GUMSTIX_NETBSD_ARGS_CONSOLE # dynamically configure console 29 # 'console=lcd' or ffuart,stuart 30 31# Standard system options 32 33options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 34#options NTP # NTP phase/frequency locked loop 35 36# File systems 37 38file-system FFS # UFS 39file-system EXT2FS # second extended file system (linux) 40file-system LFS # log-structured file system 41file-system MFS # memory file system 42file-system NFS # Network File System client 43#file-system NTFS # Windows/NT file system (experimental) 44#file-system CD9660 # ISO 9660 + Rock Ridge file system 45file-system MSDOSFS # MS-DOS file system 46file-system FDESC # /dev/fd 47file-system KERNFS # /kern 48file-system NULLFS # loopback file system 49file-system OVERLAY # overlay file system 50file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 51file-system PROCFS # /proc 52file-system UMAPFS # NULLFS + uid and gid remapping 53file-system UNION # union file system 54file-system CODA # Coda File System; also needs vcoda (below) 55file-system SMBFS # experimental - CIFS; also needs nsmb (below) 56file-system PTYFS # /dev/ptm support 57file-system TMPFS # Efficient memory file-system 58#file-system UDF # experimental - OSTA UDF CD/DVD file-system 59#file-system HFS # experimental - Apple HFS+ (read-only) 60 61# File system options 62#options QUOTA # UFS quotas 63#options FFS_EI # FFS Endian Independent support 64options WAPBL # File system journaling support - Experimental 65# Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 66# It is not recommended for general use. 67#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 68#options NFSSERVER # Network File System server 69#options FFS_NO_SNAPSHOT # No FFS snapshot support 70#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 71 # immutable) behave as system flags. 72 73# Networking options 74 75#options GATEWAY # packet forwarding 76options INET # IP + ICMP + TCP + UDP 77options INET6 # IPv6 78options IPSEC # IP security 79options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 80options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 81#options IPSEC_DEBUG # debug for IP security 82#options MROUTING # IP multicast routing 83#options PIM # Protocol Independent Multicast 84#options ISO,TPIP # OSI 85#options EON # OSI tunneling over IP 86#options NETATALK # AppleTalk networking 87#options PFIL_HOOKS # pfil(9) packet filter hooks 88#options PPP_BSDCOMP # BSD-Compress compression support for PPP 89#options PPP_DEFLATE # Deflate compression support for PPP 90#options PPP_FILTER # Active filter support for PPP (requires bpf) 91#options IPFILTER_LOG # ipmon(8) log support 92#options IPFILTER_LOOKUP # ippool(8) support 93options IPFILTER_COMPAT # Compat for IP-Filter 94#options IPFILTER_DEFAULT_BLOCK # block all packets by default 95#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 96 97options NFS_BOOT_BOOTP 98options NFS_BOOT_DHCP 99#options NFS_BOOT_BOOTPARAM 100 101# Compatibility options 102 103#options COMPAT_09 # NetBSD 0.9 compatibility. 104#options COMPAT_10 # NetBSD 1.0 compatibility. 105#options COMPAT_11 # NetBSD 1.1 compatibility. 106#options COMPAT_12 # NetBSD 1.2 compatibility. 107#options COMPAT_13 # NetBSD 1.3 compatibility. 108#options COMPAT_14 # NetBSD 1.4 compatibility. 109#options COMPAT_15 # NetBSD 1.5 compatibility. 110options COMPAT_16 # NetBSD 1.6 compatibility. 111options COMPAT_20 # NetBSD 2.0 compatibility. 112options COMPAT_30 # NetBSD 3.0 compatibility. 113options COMPAT_40 # NetBSD 4.0 compatibility. 114options COMPAT_50 # NetBSD 5.0 compatibility. 115#options COMPAT_43 # 4.3BSD compatibility. 116#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 117 118options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 119options COMPAT_LINUX # binary compatibility with Linux 120options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 121 122# Shared memory options 123 124#options SYSVMSG # System V-like message queues 125#options SYSVSEM # System V-like semaphores 126#options SEMMNI=10 # number of semaphore identifiers 127#options SEMMNS=60 # number of semaphores in system 128#options SEMUME=10 # max number of undo entries per process 129#options SEMMNU=30 # number of undo structures in system 130#options SYSVSHM # System V-like memory sharing 131options P1003_1B_SEMAPHORE # p1003.1b semaphore support 132 133# Device options 134 135#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 136#options MEMORY_DISK_IS_ROOT # use memory disk as root 137#options MEMORY_DISK_DYNAMIC 138#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 139 140# Miscellaneous kernel options 141 142options KTRACE # system call tracing, a la ktrace(1) 143options IRQSTATS # manage IRQ statistics 144#options KMEMSTATS # kernel memory statistics 145options PCMCIAVERBOSE # verbose PCMCIA configuration messages 146#options USBVERBOSE # verbose USB device autoconfig messages 147options MIIVERBOSE # Verbose MII autoconfuration messages 148#options DDB_KEYCODE=0x40 149#options USERCONF # userconf(4) support 150#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 151#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 152 153# Development and Debugging options 154 155#options PERFCTRS # performance counters 156options DIAGNOSTIC # internally consistency checks 157options DEBUG 158#options LOCKDEBUG 159#options PMAP_DEBUG # Enable pmap_debug_level code 160#options VERBOSE_INIT_ARM # verbose bootstraping messages 161options DDB # in-kernel debugger 162#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 163#options KGDB 164#options DEBUG_KGDB 165makeoptions DEBUG="-g -O2" # compile full symbol table 166options SYMTAB_SPACE=500000 167#options AUDIO_DEBUG=2 168 169config netbsd root on ? type ? 170config netbsd-sm0 root on sm0 type nfs 171config netbsd-smsh0 root on smsh0 type nfs 172 173# The main bus device 174mainbus0 at root 175 176# The boot cpu 177cpu0 at mainbus? 178 179# integrated peripherals 180pxaip0 at mainbus? 181 182pxaintc0 at pxaip? # interrupt controller 183options PXAGPIO_HAS_GPION_INTRS 184 185pxagpio0 at pxaip? # GPIO 186pxartc0 at pxaip? addr 0x40900000 # RTC 187 188# cotulla integrated 16550 UARTs 189options COM_PXA2X0 190com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 191com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st) 192com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx) 193com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt) 194options FFUARTCONSOLE 195#options STUARTCONSOLE 196#options BTUARTCONSOLE 197#options HWUARTCONSOLE 198#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 199#options KGDB_DEVRATE=115200 200 201# DMAC support 202pxadmac0 at pxaip? addr 0x40000000 intr 25 203options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 204#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 205 206# AC97 Audio support 207pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix 208 209# Audio support 210audio* at audiobus? 211 212# LCD 213lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx 214wsdisplay* at lcd? console ? 215 216# USB Host/Device Controller 217ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx 218 # ALSO NEEDS pxaudc 219pxaudc0 at pxaip? addr 0x40600000 220 221# integrated MMC/SD contoller 222pxamci0 at pxaip? addr 0x41100000 size 0x48 223sdmmc* at pxamci? 224#options PXAMCI_DEBUG 225#options SDMMC_DEBUG 226#options SDMMC_DUMP_CSD 227 228ld* at sdmmc? 229 230# gumstix device support 231gxio0 at pxaip? 232options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 233#options GXIO_DEFAULT_EXPANSION="\"netCF\"" 234 235# gumstix expantion boards 236 237# SMC 91C111 238sm0 at gxio? addr 0x04000300 gpirq ? 239#sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO 240#sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx 241sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 242 243# SMSC LAN9117 244smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx 245 246# Inter-Integrated Circuit controller 247gxiic0 at pxaip? addr 0x40300000 248iic* at gxiic? 249#dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout 250 251# integrated PCMCIA/CF controller 252pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF 253 254# PCMCIA bus support 255pcmcia* at pxapcic? 256 257# Marvell 88W8385 258#malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx 259 260 261# PCMCIA serial interfaces 262com* at pcmcia? function ? # Modems and serial cards 263 264# PCMCIA IDE controllers 265wdc* at pcmcia? function ? 266atabus* at wdc? channel ? 267wd* at atabus? drive ? flags 0x0000 268 269# PCMCIA network interfaces 270ne* at pcmcia? function ? # NE2000-compatible Ethernet 271wi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11) 272#xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 273#xi* at xirc? 274 275# MII/PHY support 276#acphy* at mii? phy ? # AMD/Altima AC101 PHYs 277sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 278ukphy* at mii? phy ? # smsh(4) internal PHY 279 280# PCMCIA USB controllers 281#slhci* at pcmcia? function ? # ScanLogic SL811HS 282 283# USB bus support 284usb* at ohci? 285#usb* at slhci? 286 287# USB Hubs 288uhub* at usb? 289uhub* at uhub? port ? 290 291# USB HID device 292uhidev* at uhub? port ? configuration ? interface ? 293 294# USB Mice 295ums* at uhidev? reportid ? 296wsmouse* at ums? mux 0 297 298# USB Keyboards 299ukbd* at uhidev? reportid ? 300wskbd* at ukbd? console ? mux 1 301 302# USB LCDs and USB-VGA adaptors 303udl* at uhub? port ? # DisplayLink DL-1x0/1x5 304wsdisplay* at udl? 305 306# USB Mass Storage 307umass* at uhub? port ? configuration ? interface ? 308#wd* at umass? 309 310# SCSI bus support 311scsibus* at scsi? 312 313# SCSI devices 314sd* at scsibus? target ? lun ? # SCSI disk drives 315 316# Bluetooth Controller and Device support 317 318# Bluetooth PCMCIA Controllers 319#btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 320 321# Bluetooth USB Controllers 322#ubt* at uhub? port ? 323 324# Bluetooth Device Hub 325bthub* at bcsp? 326#bthub* at btbc? 327bthub* at btuart? 328#bthub* at ubt? 329 330# Bluetooth HID support 331bthidev* at bthub? 332 333# Bluetooth Mouse 334btms* at bthidev? reportid ? 335wsmouse* at btms? mux 0 336 337# Bluetooth Keyboard 338btkbd* at bthidev? reportid ? 339wskbd* at btkbd? console ? mux 1 340 341# Bluetooth Apple Magic Mouse 342btmagic* at bthub? 343wsmouse* at btmagic? mux 0 344 345# Bluetooth Audio support 346btsco* at bthub? 347 348# Pseudo-Devices 349 350pseudo-device crypto # /dev/crypto device 351pseudo-device swcrypto # software crypto implementation 352 353# disk/mass storage pseudo-devices 354#pseudo-device bio # RAID control device driver 355#pseudo-device ccd 4 # concatenated/striped disk devices 356pseudo-device cgd 4 # cryptographic disk devices 357#pseudo-device raid 8 # RAIDframe disk driver 358#options RAID_AUTOCONFIG # auto-configuration of RAID components 359# Options to enable various other RAIDframe RAID types. 360#options RF_INCLUDE_EVENODD=1 361#options RF_INCLUDE_RAID5_RS=1 362#options RF_INCLUDE_PARITYLOGGING=1 363#options RF_INCLUDE_CHAINDECLUSTER=1 364#options RF_INCLUDE_INTERDECLUSTER=1 365#options RF_INCLUDE_PARITY_DECLUSTERING=1 366#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 367#pseudo-device fss # file system snapshot device 368 369#pseudo-device md 1 # memory disk device (ramdisk) 370pseudo-device vnd # disk-like interface to files 371options VND_COMPRESSION # compressed vnd(4) 372pseudo-device putter # for puffs and pud 373 374# network pseudo-devices 375pseudo-device bpfilter # Berkeley packet filter 376#pseudo-device carp # Common Address Redundancy Protocol 377pseudo-device ipfilter # IP filter (firewall) and NAT 378pseudo-device loop # network loopback 379pseudo-device ppp # Point-to-Point Protocol 380#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 381#pseudo-device sl # Serial Line IP 382#pseudo-device strip # Starmode Radio IP (Metricom) 383#pseudo-device irframetty # IrDA frame line discipline 384#pseudo-device tap # virtual Ethernet 385#pseudo-device tun # network tunneling over tty 386#pseudo-device gre # generic L3 over IP tunnel 387#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 388#pseudo-device faith # IPv[46] TCP relay translation i/f 389#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 390#pseudo-device vlan # IEEE 802.1q encapsulation 391#pseudo-device bridge # simple inter-network bridging 392#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 393#pseudo-device agr # IEEE 802.3ad link aggregation 394#pseudo-device pf # PF packet filter 395#pseudo-device pflog # PF log if 396 397# miscellaneous pseudo-devices 398pseudo-device pty # pseudo-terminals 399#pseudo-device sequencer 1 # MIDI sequencer 400pseudo-device rnd # /dev/random and in-kernel generator 401options RND_COM 402pseudo-device clockctl # user control of clock subsystem 403pseudo-device ksyms # /dev/ksyms 404pseudo-device bcsp # BlueCore Serial Protocol 405pseudo-device btuart # Bluetooth HCI UART (H4) 406 # connect with Ericsson Bluetooth Module 407 # or Infineon SingleStone (PBA31307) 408 # or Infineon UniStone (PBA31308) 409 410# a pseudo device needed for Coda # also needs CODA (above) 411pseudo-device vcoda 4 # coda minicache <-> venus comm. 412 413# a pseudo device needed for SMBFS 414pseudo-device nsmb # experimental - SMB requester 415 416# wscons pseudo-devices 417pseudo-device wsmux # mouse & keyboard multiplexor 418#pseudo-device wsfont 419 420# data mover pseudo-devices 421#pseudo-device swdmover # softare dmover(9) back-end 422#pseudo-device dmoverio # /dev/dmover dmover(9) interface 423 424# userland interface to drivers, including autoconf and properties retrieval 425pseudo-device drvctl 426 427#options FILEASSOC # fileassoc(9) - required for Veriexec 428 429# Veriexec 430#pseudo-device veriexec 431# 432# Uncomment the fingerprint methods below that are desired. Note that 433# removing fingerprint methods will have almost no impact on the kernel 434# code size. 435# 436#options VERIFIED_EXEC_FP_RMD160 437#options VERIFIED_EXEC_FP_SHA256 438#options VERIFIED_EXEC_FP_SHA384 439#options VERIFIED_EXEC_FP_SHA512 440#options VERIFIED_EXEC_FP_SHA1 441#options VERIFIED_EXEC_FP_MD5 442 443#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 444#options PAX_ASLR=0 # PaX Address Space Layout Randomization 445