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