1# $NetBSD: NETWALKER,v 1.5 2011/06/30 20:09:23 wiz Exp $ 2# 3# NETWALKER -- Sharp 4# 5 6include "arch/evbarm/conf/std.netwalker" 7 8#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 9 10# estimated number of users 11 12maxusers 32 13 14# Standard system options 15 16options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 17#options NTP # NTP phase/frequency locked loop 18 19# CPU options 20options CPU_CORTEXA8 # Support the ARM11 core 21options IMX51 22options PMAPCOUNTERS 23 24# Architecture options 25 26options IMX51_IPGCLK_FREQ=50000000 # XXX This value is not correct. 27 28# File systems 29 30file-system FFS # UFS 31#file-system LFS # log-structured file system 32file-system MFS # memory file system 33file-system NFS # Network file system 34#file-system ADOSFS # AmigaDOS-compatible file system 35file-system EXT2FS # second extended file system (linux) 36#file-system CD9660 # ISO 9660 + Rock Ridge file system 37file-system MSDOSFS # MS-DOS file system 38file-system FDESC # /dev/fd 39file-system KERNFS # /kern 40file-system NULLFS # loopback file system 41#file-system PORTAL # portal filesystem (still experimental) 42file-system PROCFS # /proc 43file-system TMPFS # memory file system 44#file-system UMAPFS # NULLFS + uid and gid remapping 45#file-system UNION # union file system 46file-system PTYFS # /dev/pts/N support 47 48# File system options 49#options QUOTA # legacy UFS quotas 50#options QUOTA2 # new, in-filesystem UFS quotas 51#options FFS_EI # FFS Endian Independent support 52#options NFSSERVER 53options WAPBL # File system journaling support - Experimental 54#options FFS_NO_SNAPSHOT # No FFS snapshot support 55 56# Networking options 57 58#options GATEWAY # packet forwarding 59options INET # IP + ICMP + TCP + UDP 60options INET6 # IPV6 61#options IPSEC # IP security 62#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 63#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 64#options IPSEC_DEBUG # debug for IP security 65#options MROUTING # IP multicast routing 66#options PIM # Protocol Independent Multicast 67#options ISO,TPIP # OSI 68#options EON # OSI tunneling over IP 69#options NETATALK # AppleTalk networking 70#options PFIL_HOOKS # pfil(9) packet filter hooks 71#options PPP_BSDCOMP # BSD-Compress compression support for PPP 72#options PPP_DEFLATE # Deflate compression support for PPP 73#options PPP_FILTER # Active filter support for PPP (requires bpf) 74#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 75 76#options NFS_BOOT_BOOTP 77#options NFS_BOOT_DHCP 78#options NFS_BOOT_BOOTPARAM 79#options DEBUG_NFS_BOOT_DHCP 80 81# Compatibility options 82 83#options COMPAT_43 # 4.3BSD compatibility. 84options COMPAT_50 # NetBSD 5.0 compatibility. 85options COMPAT_40 # NetBSD 4.0 compatibility. 86#options COMPAT_30 # NetBSD 3.0 compatibility. 87#options COMPAT_20 # NetBSD 2.0 compatibility. 88#options COMPAT_16 # NetBSD 1.6 compatibility. 89#options COMPAT_15 # NetBSD 1.5 compatibility. 90#options COMPAT_14 # NetBSD 1.4 compatibility. 91#options COMPAT_13 # NetBSD 1.3 compatibility. 92#options COMPAT_12 # NetBSD 1.2 compatibility. 93#options COMPAT_11 # NetBSD 1.1 compatibility. 94#options COMPAT_10 # NetBSD 1.0 compatibility. 95#options COMPAT_09 # NetBSD 0.9 compatibility. 96#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 97 98options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 99#options COMPAT_LINUX # binary compatibility with Linux 100options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 101 102# Shared memory options 103 104options SYSVMSG # System V-like message queues 105options SYSVSEM # System V-like semaphores 106#options SEMMNI=10 # number of semaphore identifiers 107#options SEMMNS=60 # number of semaphores in system 108#options SEMUME=10 # max number of undo entries per process 109#options SEMMNU=30 # number of undo structures in system 110options SYSVSHM # System V-like memory sharing 111 112# Device options 113 114# Console options. also need IMXUARTCONSOLE 115options CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000 116options CONSPEED=115200 # Console speed 117 118# kgdb 119#options KGDB 120#options KGDB_DEVNAME="\"imxuart\"" 121#options KGDB_DEVADDR=0x73fbc000 122#options KGDB_DEVRATE=115200 123 124# Miscellaneous kernel options 125options KTRACE # system call tracing, a la ktrace(1) 126options IRQSTATS # manage IRQ statistics 127#options KMEMSTATS # kernel memory statistics 128options PCMCIAVERBOSE # verbose PCMCIA configuration messages 129options USBVERBOSE # verbose USB device autoconfig messages 130#options SCSIVERBOSE # Verbose SCSI errors 131options MIIVERBOSE # Verbose MII autoconfuration messages 132#options PCI_CONFIG_DUMP # verbosely dump PCI config space 133#options DDB_KEYCODE=0x40 134options USERCONF # userconf(4) support 135#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 136#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 137options NO_POWERSAVE # uncomment this to run under ICE 138 139# Development and Debugging options 140#options PERFCTRS # performance counters 141options DIAGNOSTIC # internally consistency checks 142#options DEBUG 143#options KMEMSTATS # kernel memory statistics (vmstat -m) 144options DDB # in-kernel debugger 145options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 146options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 147options DDB_VERBOSE_HELP 148#options LOCKDEBUG 149#options PMAP_DEBUG # Enable pmap_debug_level code 150#options IPKDB # remote kernel debugging 151options VERBOSE_INIT_ARM # verbose bootstraping messages 152makeoptions DEBUG="-g -O2" # compile full symbol table 153#options SYSCALL_STATS # per syscall counts 154#options SYSCALL_TIMES # per syscall times 155#options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 156#options SCSIPI_DEBUG 157#options SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI 158#options SCSIPI_DEBUG_TARGET=0 159#options SCSIPI_DEBUG_LUN=0 160 161# Kernel root file system and dump configuration. 162config netbsd root on ? type ? 163 164# The main bus device 165mainbus0 at root 166 167# The boot cpu 168cpu0 at mainbus? 169 170# Devices 171# On-chip 172# On-chip bus 173axi0 at mainbus? 174 175# Interrupt Cotroller 176tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 177 178# Serial 179imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 180#imxuart1 at axi? addr 0x73fc0000 irq 32 181#imxuart2 at axi? addr 0x7000c000 irq 33 182options IMXUARTCONSOLE 183 184# Enhanced Periodic Interrupt Timer 185imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 186imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 187 188# IOMUX 189imxiomux0 at axi? addr 0x73fa8000 190 191# GPIO 192imxgpio0 at axi? addr 0x73f84000 193imxgpio1 at axi? addr 0x73f88000 194imxgpio2 at axi? addr 0x73f8c000 195imxgpio3 at axi? addr 0x73f90000 196 197# USB 198imxusbc0 at axi? addr 0x73f80000 199ehci0 at imxusbc0 unit 0 irq 18 # OTG 200ehci1 at imxusbc0 unit 1 irq 14 # Host1 201#ehci2 at imxusbc0 unit 2 irq 16 # Host2 202#ehci3 at imxusbc0 unit 3 irq 17 # Host3 203 204usb* at ehci? 205uhub* at usb? 206uhub* at uhub? port ? 207ugen* at uhub? port ? 208 209# USB HID device 210uhidev* at uhub? port ? configuration ? interface ? 211 212# USB Mice 213ums* at uhidev? reportid ? 214wsmouse* at ums? mux 0 215 216# USB Keyboards 217ukbd* at uhidev? reportid ? 218wskbd* at ukbd? console ? mux 1 219 220# USB Mass Storage 221umass* at uhub? port ? configuration ? interface ? 222wd* at umass? 223 224# Serial adapters 225ubsa* at uhub? port ? # Belkin serial adapter 226ucom* at ubsa? portno ? 227 228uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 229ucom* at uchcom? portno ? 230 231uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 232ucom* at uftdi? portno ? 233 234umct* at uhub? port ? # MCT USB-RS232 serial adapter 235ucom* at umct? portno ? 236 237uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 238ucom* at uplcom? portno ? 239 240uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 241ucom* at uslsa? portno ? 242 243uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 244ucom* at uvscom? portno ? 245 246# USB generic serial port (e.g., data over cellular) 247ugensa* at uhub? port ? 248ucom* at ugensa? 249 250# SCSI bus support 251scsibus* at scsi? 252 253# SCSI devices 254sd* at scsibus? target ? lun ? # SCSI disk drives 255 256# Pseudo-Devices 257 258pseudo-device crypto # /dev/crypto device 259pseudo-device swcrypto # software crypto implementation 260 261# disk/mass storage pseudo-devices 262#pseudo-device md # memory disk device (ramdisk) 263#pseudo-device vnd # disk-like interface to files 264 265# network pseudo-devices 266#pseudo-device bpfilter # Berkeley packet filter 267#pseudo-device ipfilter # IP filter (firewall) and NAT 268pseudo-device loop # network loopback 269pseudo-device ppp # Point-to-Point Protocol 270 271# miscellaneous pseudo-devices 272pseudo-device pty # pseudo-terminals 273pseudo-device rnd # /dev/random and in-kernel generator 274pseudo-device ksyms # /dev/ksyms 275pseudo-device clockctl # NTP clockctl 276 277# wscons pseudo-devices 278pseudo-device wsmux # mouse & keyboard multiplexor 279