NETWALKER revision 1.2
1# $NetBSD: NETWALKER,v 1.2 2010/11/23 11:13:56 hannken 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 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 # UFS quotas 50#options FFS_EI # FFS Endian Independant support 51#options NFSSERVER 52options WAPBL # File system journaling support - Experimental 53#options FFS_NO_SNAPSHOT # No FFS snapshot support 54 55# Networking options 56 57#options GATEWAY # packet forwarding 58options INET # IP + ICMP + TCP + UDP 59options INET6 # IPV6 60#options IPSEC # IP security 61#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 62#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 63#options IPSEC_DEBUG # debug for IP security 64#options MROUTING # IP multicast routing 65#options PIM # Protocol Independent Multicast 66#options ISO,TPIP # OSI 67#options EON # OSI tunneling over IP 68#options NETATALK # AppleTalk networking 69#options PFIL_HOOKS # pfil(9) packet filter hooks 70#options PPP_BSDCOMP # BSD-Compress compression support for PPP 71#options PPP_DEFLATE # Deflate compression support for PPP 72#options PPP_FILTER # Active filter support for PPP (requires bpf) 73#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 74 75#options NFS_BOOT_BOOTP 76#options NFS_BOOT_DHCP 77#options NFS_BOOT_BOOTPARAM 78#options DEBUG_NFS_BOOT_DHCP 79 80# Compatibility options 81 82#options COMPAT_43 # 4.3BSD compatibility. 83options COMPAT_50 # NetBSD 5.0 compatibility. 84options COMPAT_40 # NetBSD 4.0 compatibility. 85#options COMPAT_30 # NetBSD 3.0 compatibility. 86#options COMPAT_20 # NetBSD 2.0 compatibility. 87#options COMPAT_16 # NetBSD 1.6 compatibility. 88#options COMPAT_15 # NetBSD 1.5 compatibility. 89#options COMPAT_14 # NetBSD 1.4 compatibility. 90#options COMPAT_13 # NetBSD 1.3 compatibility. 91#options COMPAT_12 # NetBSD 1.2 compatibility. 92#options COMPAT_11 # NetBSD 1.1 compatibility. 93#options COMPAT_10 # NetBSD 1.0 compatibility. 94#options COMPAT_09 # NetBSD 0.9 compatibility. 95#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 96 97options COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility 98#options COMPAT_LINUX # binary compatibility with Linux 99options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 100 101# Shared memory options 102 103options SYSVMSG # System V-like message queues 104options SYSVSEM # System V-like semaphores 105#options SEMMNI=10 # number of semaphore identifiers 106#options SEMMNS=60 # number of semaphores in system 107#options SEMUME=10 # max number of undo entries per process 108#options SEMMNU=30 # number of undo structures in system 109options SYSVSHM # System V-like memory sharing 110 111# Device options 112 113# Console options. also need IMXUARTCONSOLE 114options CONSDEVNAME="\"imxuart\"",CONADDR=0x73fbc000 115options CONSPEED=115200 # Console speed 116 117# kgdb 118#options KGDB 119#options KGDB_DEVNAME="\"imxuart\"" 120#options KGDB_DEVADDR=0x73fbc000 121#options KGDB_DEVRATE=115200 122 123# Miscellaneous kernel options 124options KTRACE # system call tracing, a la ktrace(1) 125options IRQSTATS # manage IRQ statistics 126#options KMEMSTATS # kernel memory statistics 127options PCMCIAVERBOSE # verbose PCMCIA configuration messages 128options USBVERBOSE # verbose USB device autoconfig messages 129#options SCSIVERBOSE # Verbose SCSI errors 130options MIIVERBOSE # Verbose MII autoconfuration messages 131#options PCI_CONFIG_DUMP # verbosely dump PCI config space 132#options DDB_KEYCODE=0x40 133options USERCONF # userconf(4) support 134#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 135#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 136options NO_POWERSAVE # uncomment this to run under ICE 137 138# Development and Debugging options 139#options PERFCTRS # performance counters 140options DIAGNOSTIC # internally consistency checks 141#options DEBUG 142#options KMEMSTATS # kernel memory statistics (vmstat -m) 143options DDB # in-kernel debugger 144options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 145options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 146options DDB_VERBOSE_HELP 147#options LOCKDEBUG 148#options PMAP_DEBUG # Enable pmap_debug_level code 149#options IPKDB # remote kernel debugging 150options VERBOSE_INIT_ARM # verbose bootstraping messages 151makeoptions DEBUG="-g -O2" # compile full symbol table 152#options SYSCALL_STATS # per syscall counts 153#options SYSCALL_TIMES # per syscall times 154#options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 155#options SCSIPI_DEBUG 156#options SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI 157#options SCSIPI_DEBUG_TARGET=0 158#options SCSIPI_DEBUG_LUN=0 159 160# Kernel root file system and dump configuration. 161config netbsd root on ? type ? 162 163# The main bus device 164mainbus0 at root 165 166# The boot cpu 167cpu0 at mainbus? 168 169# Devices 170# On-chip 171# On-chip bus 172axi0 at mainbus? 173 174# Interrupt Cotroller 175tzic0 at axi? addr 0xe0000000 size 0x4000 irqbase 0 176 177# Serial 178imxuart0 at axi? addr 0x73fbc000 irq 31 # UART1 179#imxuart1 at axi? addr 0x73fc0000 irq 32 180#imxuart2 at axi? addr 0x7000c000 irq 33 181options IMXUARTCONSOLE 182 183# Enhanced Periodic Interrupt Timer 184imxclock0 at axi? addr 0x73fac000 size 0x4000 irq 40 185imxclock1 at axi? addr 0x73fb0000 size 0x4000 irq 41 186 187# Pseudo-Devices 188 189pseudo-device crypto # /dev/crypto device 190pseudo-device swcrypto # software crypto implementation 191 192# disk/mass storage pseudo-devices 193#pseudo-device md # memory disk device (ramdisk) 194#pseudo-device vnd # disk-like interface to files 195 196# network pseudo-devices 197#pseudo-device bpfilter # Berkeley packet filter 198#pseudo-device ipfilter # IP filter (firewall) and NAT 199pseudo-device loop # network loopback 200pseudo-device ppp # Point-to-Point Protocol 201 202# miscellaneous pseudo-devices 203pseudo-device pty # pseudo-terminals 204pseudo-device rnd # /dev/random and in-kernel generator 205pseudo-device ksyms # /dev/ksyms 206pseudo-device clockctl # NTP clockctl 207 208# wscons pseudo-devices 209pseudo-device wsmux # mouse & keyboard multiplexor 210