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