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