1# $NetBSD: GUMSTIX,v 1.99 2018/10/23 19:58:52 jdolecek 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 TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 90 91options NFS_BOOT_BOOTP 92options NFS_BOOT_DHCP 93#options NFS_BOOT_BOOTPARAM 94 95# Compatibility options 96 97include "conf/compat_netbsd16.config" 98options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 99 100options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 101options COMPAT_LINUX # binary compatibility with Linux 102 103# Shared memory options 104 105#options SYSVMSG # System V-like message queues 106#options SYSVSEM # System V-like semaphores 107#options SYSVSHM # System V-like memory sharing 108 109# Device options 110 111#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 112#options MEMORY_DISK_IS_ROOT # use memory disk as root 113#options MEMORY_DISK_DYNAMIC 114#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks 115 116# Miscellaneous kernel options 117 118options KTRACE # system call tracing, a la ktrace(1) 119options IRQSTATS # manage IRQ statistics 120options PCMCIAVERBOSE # verbose PCMCIA configuration messages 121#options USBVERBOSE # verbose USB device autoconfig messages 122options MIIVERBOSE # Verbose MII autoconfuration messages 123#options DDB_KEYCODE=0x40 124#options USERCONF # userconf(4) support 125#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 126#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 127 128# Development and Debugging options 129 130options DIAGNOSTIC # internal consistency checks 131options DEBUG 132#options LOCKDEBUG 133#options PMAP_DEBUG # Enable pmap_debug_level code 134#options VERBOSE_INIT_ARM # verbose bootstraping messages 135options DDB # in-kernel debugger 136#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 137#options KGDB 138#options DEBUG_KGDB 139makeoptions DEBUG="-g" # compile full symbol table 140#makeoptions COPTS="-O2" 141makeoptions COPY_SYMTAB=1 142#options AUDIO_DEBUG=2 143 144config netbsd root on ? type ? 145config netbsd-sm0 root on sm0 type nfs 146config netbsd-smsh0 root on smsh0 type nfs 147 148# The main bus device 149mainbus0 at root 150 151# The boot cpu 152cpu0 at mainbus? 153 154# integrated peripherals 155pxaip0 at mainbus? 156 157pxaintc0 at pxaip? # interrupt controller 158options PXAGPIO_HAS_GPION_INTRS 159 160pxagpio0 at pxaip? # GPIO 161gpio* at gpiobus? 162pxartc0 at pxaip? addr 0x40900000 # RTC 163 164# cotulla integrated 16550 UARTs 165options COM_PXA2X0 166com0 at pxaip? addr 0x40100000 intr 22 # Full Function UART 167com1 at pxaip? addr 0x40700000 intr 20 # Standard UART (console-st) 168com2 at pxaip? addr 0x40200000 intr 21 # Bluetooth UART (old bt or vx) 169com3 at pxaip? addr 0x41600000 intr 7 # Hardware UART(console-hw, bt) 170options FFUARTCONSOLE 171#options STUARTCONSOLE 172#options BTUARTCONSOLE 173#options HWUARTCONSOLE 174#options KGDB_DEVNAME="\"ffuart\"" # or stuart or btuart or hwuart 175#options KGDB_DEVRATE=115200 176 177# DMAC support 178pxadmac0 at pxaip? addr 0x40000000 intr 25 179options PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend 180#options PXA2X0_DMAC_FIXED_PRIORITY # Don't want multiple priority 181 182# AC97 Audio support 183pxaacu0 at pxaip? addr 0x40500000 intr 14 # Audiostix, Audiostx2, GPSstix 184 185# Audio support 186audio* at audiobus? 187 188spkr* at audio? # PC speaker (synthesized) 189 190# LCD 191lcd0 at pxaip? addr 0x44000000 # consoleLCD-vx,consoleLCD16-vx 192wsdisplay* at lcd? console ? 193 194# USB Host/Device Controller 195ohci0 at pxaip? addr 0x4c000000 intr 3 # consoleLCD-vx,consoleLCD16-vx 196 # ALSO NEEDS pxaudc 197pxaudc0 at pxaip? addr 0x40600000 198 199# integrated MMC/SD contoller 200pxamci0 at pxaip? addr 0x41100000 size 0x48 201sdmmc* at pxamci? 202#options PXAMCI_DEBUG 203#options SDMMC_DEBUG 204#options SDMMC_DUMP_CSD 205 206ld* at sdmmc? 207 208# gumstix device support 209gxio0 at pxaip? 210options GXIO_BLUETOOTH_ON_HWUART # Bluetooth module on HWUART 211#options GXIO_DEFAULT_EXPANSION="\"netCF\"" 212 213# gumstix expantion boards 214 215# SMC 91C111 216sm0 at gxio? addr 0x04000300 gpirq ? 217#sm0 at gxio? addr 0x04000300 gpirq 36 # etherstix,netMMC,netCF,netDUO 218#sm0 at gxio? addr 0x04000300 gpirq 99 # netCF-vx 219sm1 at gxio? addr 0x08000300 gpirq 27 # netDUO(2nd NIC) 220 221# SMSC LAN9117 222smsh0 at gxio? addr 0x04000300 gpirq 99 # netmicroSD-vx, netpro-vx 223 224# Inter-Integrated Circuit controller 225gxiic0 at pxaip? addr 0x40300000 226iic* at gxiic? 227#dsrtc* at iic? addr 0x68 # Can mount DS1307 at console, breakout 228 229# integrated PCMCIA/CF controller 230pxapcic0 at pxaip? addr 0x20000000 # cfstix, netCF 231 232# PCMCIA bus support 233pcmcia* at pxapcic? 234 235# Marvell 88W8385 236malo* at pcmcia? function ? # wifistix, netwifimicrosd, netpro-vx 237 238 239# PCMCIA serial interfaces 240com* at pcmcia? function ? # Modems and serial cards 241 242# PCMCIA IDE controllers 243wdc* at pcmcia? function ? 244atabus* at wdc? channel ? 245wd* at atabus? drive ? flags 0x0000 246 247# PCMCIA network interfaces 248ne* at pcmcia? function ? # NE2000-compatible Ethernet 249wi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11) 250#xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 251#xi* at xirc? 252 253# MII/PHY support 254#acphy* at mii? phy ? # AMD/Altima AC101 PHYs 255sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 256ukphy* at mii? phy ? # smsh(4) internal PHY 257 258# PCMCIA USB controllers 259#slhci* at pcmcia? function ? # ScanLogic SL811HS 260 261# USB bus support 262usb* at ohci? 263#usb* at slhci? 264 265# USB Hubs 266uhub* at usb? 267uhub* at uhub? port ? 268 269# USB HID device 270uhidev* at uhub? port ? configuration ? interface ? 271 272# USB Mice 273ums* at uhidev? reportid ? 274wsmouse* at ums? mux 0 275 276# USB Keyboards 277ukbd* at uhidev? reportid ? 278wskbd* at ukbd? console ? mux 1 279 280# USB LCDs and USB-VGA adaptors 281udl* at uhub? port ? # DisplayLink DL-1x0/1x5 282wsdisplay* at udl? 283 284# USB Mass Storage 285umass* at uhub? port ? configuration ? interface ? 286 287# SCSI bus support 288scsibus* at scsi? 289 290# SCSI devices 291sd* at scsibus? target ? lun ? # SCSI disk drives 292 293# Bluetooth Controller and Device support 294 295# Bluetooth PCMCIA Controllers 296#btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 297 298# Bluetooth USB Controllers 299#ubt* at uhub? port ? 300#aubtfwl* at uhub? port ? 301 302# Bluetooth Device Hub 303bthub* at bcsp? 304#bthub* at btbc? 305bthub* at btuart? 306#bthub* at ubt? 307 308# Bluetooth HID support 309bthidev* at bthub? 310 311# Bluetooth Mouse 312btms* at bthidev? reportid ? 313wsmouse* at btms? mux 0 314 315# Bluetooth Keyboard 316btkbd* at bthidev? reportid ? 317wskbd* at btkbd? console ? mux 1 318 319# Bluetooth Apple Magic Mouse 320btmagic* at bthub? 321wsmouse* at btmagic? mux 0 322 323# Bluetooth Audio support 324btsco* at bthub? 325 326# Pseudo-Devices 327 328# disk/mass storage pseudo-devices 329#pseudo-device bio # RAID control device driver 330#pseudo-device ccd # concatenated/striped disk devices 331pseudo-device cgd # cryptographic disk devices 332#pseudo-device raid # RAIDframe disk driver 333#options RAID_AUTOCONFIG # auto-configuration of RAID components 334# Options to enable various other RAIDframe RAID types. 335#options RF_INCLUDE_EVENODD=1 336#options RF_INCLUDE_RAID5_RS=1 337#options RF_INCLUDE_PARITYLOGGING=1 338#options RF_INCLUDE_CHAINDECLUSTER=1 339#options RF_INCLUDE_INTERDECLUSTER=1 340#options RF_INCLUDE_PARITY_DECLUSTERING=1 341#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 342#pseudo-device fss # file system snapshot device 343 344#pseudo-device md # memory disk device (ramdisk) 345pseudo-device vnd # disk-like interface to files 346options VND_COMPRESSION # compressed vnd(4) 347pseudo-device putter # for puffs and pud 348 349# network pseudo-devices 350pseudo-device bpfilter # Berkeley packet filter 351#pseudo-device carp # Common Address Redundancy Protocol 352pseudo-device npf # NPF packet filter 353pseudo-device loop # network loopback 354pseudo-device ppp # Point-to-Point Protocol 355#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 356#options PPPOE_SERVER # Enable PPPoE server via link0 357#pseudo-device sl # Serial Line IP 358#pseudo-device strip # Starmode Radio IP (Metricom) 359#pseudo-device irframetty # IrDA frame line discipline 360pseudo-device tap # virtual Ethernet 361#pseudo-device tun # network tunneling over tty 362#pseudo-device gre # generic L3 over IP tunnel 363#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 364#pseudo-device faith # IPv[46] TCP relay translation i/f 365#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 366#pseudo-device vlan # IEEE 802.1q encapsulation 367pseudo-device bridge # simple inter-network bridging 368#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 369#pseudo-device agr # IEEE 802.3ad link aggregation 370 371# miscellaneous pseudo-devices 372pseudo-device pty # pseudo-terminals 373#pseudo-device sequencer # MIDI sequencer 374options RND_COM 375pseudo-device clockctl # user control of clock subsystem 376pseudo-device ksyms # /dev/ksyms 377pseudo-device bcsp # BlueCore Serial Protocol 378pseudo-device btuart # Bluetooth HCI UART (H4) 379 # connect with Ericsson Bluetooth Module 380 # or Infineon SingleStone (PBA31307) 381 # or Infineon UniStone (PBA31308) 382 383# a pseudo device needed for Coda # also needs CODA (above) 384pseudo-device vcoda # coda minicache <-> venus comm. 385 386# a pseudo device needed for SMBFS 387pseudo-device nsmb # experimental - SMB requester 388 389# wscons pseudo-devices 390pseudo-device wsmux # mouse & keyboard multiplexor 391#pseudo-device wsfont 392 393# data mover pseudo-devices 394pseudo-device swdmover # software dmover(9) back-end 395pseudo-device dmoverio # /dev/dmover dmover(9) interface 396 397# userland interface to drivers, including autoconf and properties retrieval 398pseudo-device drvctl 399 400#options FILEASSOC # fileassoc(9) - required for Veriexec 401 # and PAX_SEGVGUARD 402 403# Veriexec 404#pseudo-device veriexec 405# 406# Uncomment the fingerprint methods below that are desired. Note that 407# removing fingerprint methods will have almost no impact on the kernel 408# code size. 409# 410#options VERIFIED_EXEC_FP_SHA256 411#options VERIFIED_EXEC_FP_SHA384 412#options VERIFIED_EXEC_FP_SHA512 413 414#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 415#options PAX_ASLR=0 # PaX Address Space Layout Randomization 416