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