GUMSTIX revision 1.3
1# $NetBSD: GUMSTIX,v 1.3 2006/10/25 20:44:57 he 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 12options VERBOSE_ARM32 13#options INTR_DEBUG 14#options BOOTHOWTO=RB_SINGLE 15options PCMCIADEBUG 16options PCMCIACISDEBUG 17 18# Standard system options 19 20options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 21#options NTP # NTP phase/frequency locked loop 22 23# CPU options 24 25options CPU_XSCALE_PXA250 # Support the XScale core 26#options XSCALE_CACHE_WRITE_THROUGH 27options XSCALE_CACHE_READ_WRITE_ALLOCATE 28makeoptions CPUFLAGS="-mcpu=xscale" 29 30# Architecture options 31 32# File systems 33 34file-system FFS # UFS 35#file-system LFS # log-structured file system 36file-system MFS # memory file system 37file-system NFS # Network file system 38#file-system ADOSFS # AmigaDOS-compatible file system 39#file-system EXT2FS # second extended file system (linux) 40file-system CD9660 # ISO 9660 + Rock Ridge file system 41file-system MSDOSFS # MS-DOS file system 42file-system FDESC # /dev/fd 43file-system KERNFS # /kern 44file-system NULLFS # loopback file system 45file-system PORTAL # portal filesystem (still experimental) 46file-system PROCFS # /proc 47#file-system UMAPFS # NULLFS + uid and gid remapping 48file-system UNION # union file system 49file-system PTYFS # /dev/pts/N support 50 51# File system options 52#options QUOTA # UFS quotas 53#options FFS_EI # FFS Endian Independant support 54#options NFSSERVER 55options SOFTDEP 56#options FFS_NO_SNAPSHOT # No FFS snapshot support 57 58# Networking options 59 60#options GATEWAY # packet forwarding 61options INET # IP + ICMP + TCP + UDP 62options INET6 # IPV6 63#options IPSEC # IP security 64#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 65#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 66#options IPSEC_DEBUG # debug for IP security 67#options MROUTING # IP multicast routing 68#options ISO,TPIP # OSI 69#options EON # OSI tunneling over IP 70#options NETATALK # AppleTalk networking 71#options PFIL_HOOKS # pfil(9) packet filter hooks 72#options PPP_BSDCOMP # BSD-Compress compression support for PPP 73#options PPP_DEFLATE # Deflate compression support for PPP 74#options PPP_FILTER # Active filter support for PPP (requires bpf) 75#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 77options NFS_BOOT_BOOTP 78options NFS_BOOT_DHCP 79#options NFS_BOOT_BOOTPARAM 80 81# Compatibility options 82 83#options COMPAT_09 # NetBSD 0.9 compatibility. 84#options COMPAT_10 # NetBSD 1.0 compatibility. 85#options COMPAT_11 # NetBSD 1.1 compatibility. 86#options COMPAT_12 # NetBSD 1.2 compatibility. 87#options COMPAT_13 # NetBSD 1.3 compatibility. 88#options COMPAT_14 # NetBSD 1.4 compatibility. 89#options COMPAT_15 # NetBSD 1.5 compatibility. 90options COMPAT_16 # NetBSD 1.6 compatibility. 91options COMPAT_20 # NetBSD 2.0 compatibility. 92options COMPAT_30 # NetBSD 3.0 compatibility. 93#options COMPAT_43 # 4.3BSD compatibility. 94#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 95 96# Shared memory options 97 98#options SYSVMSG # System V-like message queues 99#options SYSVSEM # System V-like semaphores 100#options SEMMNI=10 # number of semaphore identifiers 101#options SEMMNS=60 # number of semaphores in system 102#options SEMUME=10 # max number of undo entries per process 103#options SEMMNU=30 # number of undo structures in system 104#options SYSVSHM # System V-like memory sharing 105#options SHMMAXPGS=1024 # 1024 pages is the default 106 107# Device options 108 109#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 110#options MEMORY_DISK_IS_ROOT # use memory disk as root 111#options MEMORY_DISK_DYNAMIC 112#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 113#options MEMORY_RBFLAGS=RB_AUTOBOOT 114 115# Miscellaneous kernel options 116options KTRACE # system call tracing, a la ktrace(1) 117#options LKM # loadable kernel modules 118#options KMEMSTATS # kernel memory statistics 119options PCMCIAVERBOSE # verbose PCMCIA configuration messages 120options USBVERBOSE # verbose USB device autoconfig messages 121options MIIVERBOSE # Verbose MII autoconfuration messages 122#options DDB_KEYCODE=0x40 123#options USERCONF # userconf(4) support 124 125# Development and Debugging options 126 127options DIAGNOSTIC # internally consistency checks 128options DEBUG 129#options PMAP_DEBUG # Enable pmap_debug_level code 130#options VERBOSE_INIT_ARM # verbose bootstraping messages 131options DDB # in-kernel debugger 132#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 133#options KGDB 134#options IPKDB 135#options IPKDB_NE 136#options IPKDBKEY="\"Debug_it_over_network\"" 137#options DEBUG_KGDB 138makeoptions DEBUG="-g -O2" # compile full symbol table 139options SYMTAB_SPACE=270000 140#options AUDIO_DEBUG=2 141 142config netbsd root on ? type ? 143 144# The main bus device 145mainbus0 at root 146 147# The boot cpu 148cpu0 at mainbus? 149 150# integrated peripherals 151pxaip0 at mainbus? 152 153pxaintc0 at pxaip? # interrupt controller 154options PXAGPIO_HAS_GPION_INTRS 155 156pxagpio0 at pxaip? # GPIO 157 158# cotulla integrated 16550 UARTs 159options COM_PXA2X0 160com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 161#com1 at pxaip? addr 0x40200000 intr 21 # BlueTooth UART 162#com2 at pxaip? addr 0x40700000 intr 20 # Standard UART 163#com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART 164options FFUARTCONSOLE 165#options BTUARTCONSOLE 166#options STUARTCONSOLE 167#options HWUARTCONSOLE 168options KGDB_DEVNAME="\"ffuart\"" # ffuart or btuart 169options KGDB_DEVRATE=115200 170 171# DMAC support 172pxadmac0 at pxaip? addr 0x40000000 intr 25 173options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 174#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 175 176# AC97 Audio support 177pxaacu0 at pxaip? addr 0x40500000 intr 14 178 179# Audio support 180audio* at audiobus? 181 182# LCD 183# 44000000-4400ffff : pxa2xx-fb 184 185# USB 186# 40600000-4060ffff : pxa2xx-udc 187 188# MMC card 189# 41100000-41100fff : pxa2xx-mci 190# 0xF0000000 by u-boot 191 192# gumstix device support 193gxio0 at pxaip? 194 195# gumstix expantion boards 196 197# SMC 91C111 198sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix, net{MMC,CF,DUO} 199sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd if) 200 201# PCMCIA/CF card 202gxpcic* at gxio? addr 0x20000000 gpirq 11 # cfstix, netCF 203pcmcia* at gxpcic? 204 205# PCMCIA serial interfaces 206com* at pcmcia? function ? # Modems and serial cards 207 208# PCMCIA IDE controllers 209wdc* at pcmcia? function ? 210atabus* at wdc? channel ? 211wd* at atabus? drive ? flags 0x0000 212 213# PCMCIA network interfaces 214ne* at pcmcia? function ? # NE2000-compatible Ethernet 215wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 216xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 217xi* at xirc? 218 219# MII/PHY support 220acphy* at mii? phy ? # AMD/Altima AC101 PHYs 221sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 222 223# USB Controller and Devices 224 225# ISA USB controllers 226#slhci* at pcmcia? function ? # ScanLogic SL811HS 227 228# USB bus support 229#usb* at slhci? 230 231# USB Hubs 232#uhub* at usb? 233#uhub* at uhub? port ? configuration ? interface ? 234 235# USB HID device 236#uhidev* at uhub? port ? configuration ? interface ? 237 238# USB Mice 239#ums* at uhidev? reportid ? 240#wsmouse* at ums? mux 0 241 242# USB eGalax touch-panel 243#uep* at uhub? port ? 244#wsmouse* at uep? mux 0 245 246# USB Keyboards 247#ukbd* at uhidev? reportid ? 248#wskbd* at ukbd? console ? mux 1 249 250# USB serial adpater 251#ucycom* at uhidev? reportid ? 252 253# USB Generic HID devices 254#uhid* at uhidev? reportid ? 255 256# USB Printer 257#ulpt* at uhub? port ? configuration ? interface ? 258 259# USB Modem 260#umodem* at uhub? port ? configuration ? 261#ucom* at umodem? 262 263# USB Mass Storage 264#umass* at uhub? port ? configuration ? interface ? 265#wd* at umass? 266 267# USB audio 268#uaudio* at uhub? port ? configuration ? 269 270# USB MIDI 271#umidi* at uhub? port ? configuration ? 272 273# USB IrDA 274# USB-IrDA bridge spec 275#uirda* at uhub? port ? configuration ? interface ? 276#irframe* at uirda? 277 278# SigmaTel STIr4200 USB/IrDA Bridge 279#ustir* at uhub? port ? 280#irframe* at ustir? 281 282# USB Ethernet adapters 283#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 284#axe* at uhub? port ? # ASIX AX88172 based adapters 285#cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 286#cue* at uhub? port ? # CATC USB-EL1201A based adapters 287#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 288#udav* at uhub? port ? # Davicom DM9601 based adapters 289#url* at uhub? port ? # Realtek RTL8150L based adapters 290 291# USB 802.11b adapters 292#atu* at uhub? port ? # Atmel AT76C50XX based adapters 293#ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 294 295# Prolific PL2301/PL2302 host-to-host adapter 296#upl* at uhub? port ? 297 298# Serial adapters 299#ubsa* at uhub? port ? # Belkin serial adapter 300#ucom* at ubsa? portno ? 301 302#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 303#ucom* at uftdi? portno ? 304 305#uipaq* at uhub? port ? # iPAQ PDAs 306#ucom* at uipaq? portno ? 307 308#umct* at uhub? port ? # MCT USB-RS232 serial adapter 309#ucom* at umct? portno ? 310 311#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 312#ucom* at uplcom? portno ? 313 314#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 315#ucom* at uvscom? portno ? 316 317# Diamond Multimedia Rio 500 318#urio* at uhub? port ? 319 320# USB Handspring Visor 321#uvisor* at uhub? port ? 322#ucom* at uvisor? 323 324# Kyocera AIR-EDGE PHONE 325#ukyopon* at uhub? port ? 326#ucom* at ukyopon? portno ? 327 328# USB scanners 329#uscanner* at uhub? port ? 330 331# USB scanners that use SCSI emulation, e.g., HP5300 332#usscanner* at uhub? port ? 333 334# Y@P firmware loader 335#uyap* at uhub? port ? 336 337# D-Link DSB-R100 USB radio 338#udsbr* at uhub? port ? 339#radio* at udsbr? 340 341# USB Generic driver 342#ugen* at uhub? port ? 343 344# Pseudo-Devices 345 346# disk/mass storage pseudo-devices 347#pseudo-device md 1 # memory disk device (ramdisk) 348pseudo-device vnd # disk-like interface to files 349#pseudo-device fss 4 # file system snapshot device 350 351# network pseudo-devices 352pseudo-device bpfilter # Berkeley packet filter 353pseudo-device ipfilter # IP filter (firewall) and NAT 354pseudo-device loop # network loopback 355#pseudo-device kttcp # network loopback 356#pseudo-device ppp # Point-to-Point Protocol 357#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 358#pseudo-device sl # Serial Line IP 359#pseudo-device strip # Starmode Radio IP (Metricom) 360#pseudo-device irframetty # IrDA frame line discipline 361#pseudo-device tap # virtual Ethernet 362#pseudo-device tun # network tunneling over tty 363#pseudo-device gre # generic L3 over IP tunnel 364#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 365#pseudo-device faith # IPv[46] tcp relay translation i/f 366#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 367#pseudo-device vlan # IEEE 802.1q encapsulation 368#pseudo-device bridge # simple inter-network bridging 369#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 370#pseudo-device pf # PF packet filter 371#pseudo-device pflog # PF log if 372 373# miscellaneous pseudo-devices 374pseudo-device pty # pseudo-terminals 375pseudo-device rnd # /dev/random and in-kernel generator 376pseudo-device clockctl # user control of clock subsystem 377 378# wscons pseudo-devices 379#pseudo-device wsmux # mouse & keyboard multiplexor 380#pseudo-device wsfont 381pseudo-device ksyms # /dev/ksyms 382