GUMSTIX revision 1.42
1# $NetBSD: GUMSTIX,v 1.42 2009/12/07 08:58:48 kiyohara 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# Standard system options 26 27options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 28#options NTP # NTP phase/frequency locked loop 29 30# File systems 31 32file-system FFS # UFS 33file-system EXT2FS # second extended file system (linux) 34file-system LFS # log-structured file system 35file-system MFS # memory file system 36file-system NFS # Network File System client 37#file-system NTFS # Windows/NT file system (experimental) 38#file-system CD9660 # ISO 9660 + Rock Ridge file system 39file-system MSDOSFS # MS-DOS file system 40file-system FDESC # /dev/fd 41file-system KERNFS # /kern 42file-system NULLFS # loopback file system 43file-system OVERLAY # overlay file system 44file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 45file-system PROCFS # /proc 46file-system UMAPFS # NULLFS + uid and gid remapping 47file-system UNION # union file system 48file-system CODA # Coda File System; also needs vcoda (below) 49file-system SMBFS # experimental - CIFS; also needs nsmb (below) 50file-system PTYFS # /dev/ptm support 51file-system TMPFS # Efficient memory file-system 52#file-system UDF # experimental - OSTA UDF CD/DVD file-system 53#file-system HFS # experimental - Apple HFS+ (read-only) 54 55# File system options 56#options QUOTA # UFS quotas 57#options FFS_EI # FFS Endian Independent 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. 107options COMPAT_50 # NetBSD 5.0 compatibility. 108#options COMPAT_43 # 4.3BSD compatibility. 109#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 110 111options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 112options COMPAT_LINUX # binary compatibility with Linux 113options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 114 115# Shared memory options 116 117#options SYSVMSG # System V-like message queues 118#options SYSVSEM # System V-like semaphores 119#options SEMMNI=10 # number of semaphore identifiers 120#options SEMMNS=60 # number of semaphores in system 121#options SEMUME=10 # max number of undo entries per process 122#options SEMMNU=30 # number of undo structures in system 123#options SYSVSHM # System V-like memory sharing 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 133# Miscellaneous kernel options 134 135options KTRACE # system call tracing, a la ktrace(1) 136options IRQSTATS # manage IRQ statistics 137#options KMEMSTATS # kernel memory statistics 138options PCMCIAVERBOSE # verbose PCMCIA configuration messages 139#options USBVERBOSE # verbose USB device autoconfig messages 140options MIIVERBOSE # Verbose MII autoconfuration messages 141#options DDB_KEYCODE=0x40 142#options USERCONF # userconf(4) support 143#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 144#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 145 146# Development and Debugging options 147 148#options PERFCTRS # performance counters 149options DIAGNOSTIC # internally consistency checks 150options DEBUG 151#options LOCKDEBUG 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=450000 160#options AUDIO_DEBUG=2 161 162config netbsd root on ? type ? 163config netbsd-sm0 root on sm0 type nfs 164config netbsd-smsh0 root on smsh0 type nfs 165 166# The main bus device 167mainbus0 at root 168 169# The boot cpu 170cpu0 at mainbus? 171 172# integrated peripherals 173pxaip0 at mainbus? 174 175pxaintc0 at pxaip? # interrupt controller 176options PXAGPIO_HAS_GPION_INTRS 177 178pxagpio0 at pxaip? # GPIO 179pxartc0 at pxaip? addr 0x40900000 # RTC 180 181# cotulla integrated 16550 UARTs 182options COM_PXA2X0 183com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 184com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st) 185com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx) 186com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt) 187options FFUARTCONSOLE 188#options STUARTCONSOLE 189#options BTUARTCONSOLE 190#options HWUARTCONSOLE 191#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 192#options KGDB_DEVRATE=115200 193 194# DMAC support 195pxadmac0 at pxaip? addr 0x40000000 intr 25 196options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 197#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 198 199# AC97 Audio support 200pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix 201 202# Audio support 203audio* at audiobus? 204 205# LCD 206lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx 207wsdisplay* at lcd? console ? 208 209# USB Host/Device Controller 210ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx 211 # ALSO NEEDS pxaudc 212pxaudc0 at pxaip? addr 0x40600000 213 214# integrated MMC/SD contoller 215pxamci0 at pxaip? addr 0x41100000 size 0x48 216sdmmc* at pxamci? 217#options PXAMCI_DEBUG 218#options SDMMC_DEBUG 219#options SDMMC_DUMP_CSD 220 221ld* at sdmmc? 222 223# gumstix device support 224gxio0 at pxaip? 225options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 226#options GXIO_DEFAULT_EXPANSION="\"netCF\"" 227 228# gumstix expantion boards 229 230# SMC 91C111 231sm0 at gxio? addr 0x04000300 gpirq ? 232#sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO 233#sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx 234sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 235 236# SMSC LAN9117 237smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx 238 239# Inter-Integrated Circuit controller 240gxiic0 at pxaip? addr 0x40300000 241iic* at gxiic? 242#dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout 243 244# integrated PCMCIA/CF controller 245pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF 246 247# PCMCIA bus support 248pcmcia* at pxapcic? 249 250# Marvell 88W8385 251#malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx 252 253 254# PCMCIA serial interfaces 255com* at pcmcia? function ? # Modems and serial cards 256 257# PCMCIA IDE controllers 258wdc* at pcmcia? function ? 259atabus* at wdc? channel ? 260wd* at atabus? drive ? flags 0x0000 261 262# PCMCIA network interfaces 263ne* at pcmcia? function ? # NE2000-compatible Ethernet 264wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 265#xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 266#xi* at xirc? 267 268# MII/PHY support 269#acphy* at mii? phy ? # AMD/Altima AC101 PHYs 270sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 271ukphy* at mii? phy ? # smsh(4) internal PHY 272 273# PCMCIA USB controllers 274#slhci* at pcmcia? function ? # ScanLogic SL811HS 275 276# USB bus support 277usb* at ohci? 278#usb* at slhci? 279 280# USB Hubs 281uhub* at usb? 282uhub* at uhub? port ? 283 284# USB HID device 285uhidev* at uhub? port ? configuration ? interface ? 286 287# USB Mice 288ums* at uhidev? reportid ? 289wsmouse* at ums? mux 0 290 291# USB Keyboards 292ukbd* at uhidev? reportid ? 293wskbd* at ukbd? console ? mux 1 294 295# USB Mass Storage 296umass* at uhub? port ? configuration ? interface ? 297#wd* at umass? 298 299# SCSI bus support 300scsibus* at scsi? 301 302# SCSI devices 303sd* at scsibus? target ? lun ? # SCSI disk drives 304 305# Bluetooth Controller and Device support 306 307# Bluetooth PCMCIA Controllers 308#btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 309 310# Bluetooth USB Controllers 311#ubt* at uhub? port ? 312 313# Bluetooth Device Hub 314bthub* at bcsp? 315#bthub* at btbc? 316bthub* at btuart? 317#bthub* at ubt? 318 319# Bluetooth HID support 320bthidev* at bthub? 321 322# Bluetooth Mouse 323btms* at bthidev? reportid ? 324wsmouse* at btms? mux 0 325 326# Bluetooth Keyboard 327btkbd* at bthidev? reportid ? 328wskbd* at btkbd? console ? mux 1 329 330# Bluetooth Audio support 331btsco* at bthub? 332 333# Pseudo-Devices 334 335pseudo-device crypto # /dev/crypto device 336pseudo-device swcrypto # software crypto implementation 337 338# disk/mass storage pseudo-devices 339#pseudo-device bio # RAID control device driver 340#pseudo-device ccd 4 # concatenated/striped disk devices 341pseudo-device cgd 4 # cryptographic disk devices 342#pseudo-device raid 8 # RAIDframe disk driver 343#options RAID_AUTOCONFIG # auto-configuration of RAID components 344# Options to enable various other RAIDframe RAID types. 345#options RF_INCLUDE_EVENODD=1 346#options RF_INCLUDE_RAID5_RS=1 347#options RF_INCLUDE_PARITYLOGGING=1 348#options RF_INCLUDE_CHAINDECLUSTER=1 349#options RF_INCLUDE_INTERDECLUSTER=1 350#options RF_INCLUDE_PARITY_DECLUSTERING=1 351#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 352#pseudo-device fss 4 # file system snapshot device 353 354#pseudo-device md 1 # memory disk device (ramdisk) 355pseudo-device vnd # disk-like interface to files 356options VND_COMPRESSION # compressed vnd(4) 357pseudo-device putter # for puffs and pud 358 359# network pseudo-devices 360pseudo-device bpfilter # Berkeley packet filter 361#pseudo-device carp # Common Address Redundancy Protocol 362pseudo-device ipfilter # IP filter (firewall) and NAT 363pseudo-device loop # network loopback 364pseudo-device ppp # Point-to-Point Protocol 365#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 366#pseudo-device sl # Serial Line IP 367#pseudo-device strip # Starmode Radio IP (Metricom) 368#pseudo-device irframetty # IrDA frame line discipline 369#pseudo-device tap # virtual Ethernet 370#pseudo-device tun # network tunneling over tty 371#pseudo-device gre # generic L3 over IP tunnel 372#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 373#pseudo-device faith # IPv[46] tcp relay translation i/f 374#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 375#pseudo-device vlan # IEEE 802.1q encapsulation 376#pseudo-device bridge # simple inter-network bridging 377#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 378#pseudo-device agr # IEEE 802.3ad link aggregation 379#pseudo-device pf # PF packet filter 380#pseudo-device pflog # PF log if 381 382# miscellaneous pseudo-devices 383pseudo-device pty # pseudo-terminals 384#pseudo-device sequencer 1 # MIDI sequencer 385pseudo-device rnd # /dev/random and in-kernel generator 386options RND_COM 387pseudo-device clockctl # user control of clock subsystem 388pseudo-device ksyms # /dev/ksyms 389pseudo-device bcsp # BlueCore Serial Protocol 390pseudo-device btuart # Bluetooth HCI UART (H4) 391 # connect with Ericsson Bluetooth Module 392 # or Infineon SingleStone (PBA31307) 393 # or Infineon UniStone (PBA31308) 394 395# a pseudo device needed for Coda # also needs CODA (above) 396pseudo-device vcoda 4 # coda minicache <-> venus comm. 397 398# a pseudo device needed for SMBFS 399pseudo-device nsmb # experimental - SMB requester 400 401# wscons pseudo-devices 402#pseudo-device wsmux # mouse & keyboard multiplexor 403#pseudo-device wsfont 404 405# data mover pseudo-devices 406#pseudo-device swdmover # softare dmover(9) back-end 407#pseudo-device dmoverio # /dev/dmover dmover(9) interface 408 409# userland interface to drivers, including autoconf and properties retrieval 410pseudo-device drvctl 411 412#options FILEASSOC # fileassoc(9) - required for Veriexec 413 414# Veriexec 415#pseudo-device veriexec 416# 417# Uncomment the fingerprint methods below that are desired. Note that 418# removing fingerprint methods will have almost no impact on the kernel 419# code size. 420# 421#options VERIFIED_EXEC_FP_RMD160 422#options VERIFIED_EXEC_FP_SHA256 423#options VERIFIED_EXEC_FP_SHA384 424#options VERIFIED_EXEC_FP_SHA512 425#options VERIFIED_EXEC_FP_SHA1 426#options VERIFIED_EXEC_FP_MD5 427 428#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 429#options PAX_ASLR=0 # PaX Address Space Layout Randomization 430