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