1# 2# $NetBSD: BCM5301X,v 1.11 2013/02/19 02:04:24 matt Exp $ 3# 4# BCM5301X -- Broadcom BCM5301X Eval Board Kernel 5# 6 7include "arch/evbarm/conf/std.bcm53xx" 8 9# estimated number of users 10 11maxusers 32 12 13# Standard system options 14 15options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 16#options NTP # NTP phase/frequency locked loop 17 18# CPU options 19 20#makeoptions DEFCOPTS="-O0" 21options UVMHIST 22#options UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30 23options BCM53XX_CONSOLE_EARLY 24options BCMETH_COUNTERS 25#options MULTIPROCESSOR 26options CPU_CORTEXA9 27#options MEMSIZE=256 28options BCM5301 29options PMAPCOUNTERS 30options BUSDMA_COUNTERS 31 32# Architecture options 33 34# File systems 35 36file-system FFS # UFS 37#file-system LFS # log-structured file system 38file-system MFS # memory file system 39file-system NFS # Network file system 40#file-system ADOSFS # AmigaDOS-compatible file system 41#file-system EXT2FS # second extended file system (linux) 42file-system CD9660 # ISO 9660 + Rock Ridge file system 43file-system MSDOSFS # MS-DOS file system 44#file-system FDESC # /dev/fd 45file-system KERNFS # /kern 46#file-system NULLFS # loopback file system 47#file-system PROCFS # /proc 48#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 49#file-system UMAPFS # NULLFS + uid and gid remapping 50#file-system UNION # union file system 51file-system TMPFS # memory file system 52file-system PTYFS # /dev/pts/N support 53 54# File system options 55#options QUOTA # legacy UFS quotas 56#options QUOTA2 # new, in-filesystem UFS quotas 57#options FFS_EI # FFS Endian Independent support 58#options NFSSERVER 59options WAPBL # File system journaling support 60#options FFS_NO_SNAPSHOT # No FFS snapshot support 61 62# Networking options 63 64#options GATEWAY # packet forwarding 65options INET # IP + ICMP + TCP + UDP 66options INET6 # IPV6 67#options IPSEC # IP security 68#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 69#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 70#options IPSEC_DEBUG # debug for IP security 71#options MROUTING # IP multicast routing 72#options PIM # Protocol Independent Multicast 73#options NS # XNS 74#options NSIP # XNS tunneling over IP 75#options ISO,TPIP # OSI 76#options EON # OSI tunneling over IP 77#options CCITT,LLC,HDLC # X.25 78#options NETATALK # AppleTalk networking 79#options PFIL_HOOKS # pfil(9) packet filter hooks 80#options PPP_BSDCOMP # BSD-Compress compression support for PPP 81#options PPP_DEFLATE # Deflate compression support for PPP 82#options PPP_FILTER # Active filter support for PPP (requires bpf) 83#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 84 85options NFS_BOOT_BOOTP 86options NFS_BOOT_DHCP 87#options NFS_BOOT_BOOTSTATIC 88#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 89#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 90#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 91#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 92#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 93 94options NFS_BOOT_RWSIZE=1024 95 96# Compatibility options 97 98#options COMPAT_43 # 4.3BSD compatibility. 99options COMPAT_60 # NetBSD 6.0 compatibility. 100options COMPAT_50 # NetBSD 5.0 compatibility. 101options COMPAT_40 # NetBSD 4.0 compatibility. 102options COMPAT_30 # NetBSD 3.0 compatibility. 103#options COMPAT_20 # NetBSD 2.0 compatibility. 104#options COMPAT_16 # NetBSD 1.6 compatibility. 105#options COMPAT_15 # NetBSD 1.5 compatibility. 106#options COMPAT_14 # NetBSD 1.4 compatibility. 107#options COMPAT_13 # NetBSD 1.3 compatibility. 108#options COMPAT_12 # NetBSD 1.2 compatibility. 109#options COMPAT_11 # NetBSD 1.1 compatibility. 110#options COMPAT_10 # NetBSD 1.0 compatibility. 111#options COMPAT_09 # NetBSD 0.9 compatibility. 112#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 113#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 114 115# Shared memory options 116 117options SYSVMSG # System V-like message queues 118options SYSVSEM # System V-like semaphores 119options SYSVSHM # System V-like memory sharing 120 121# Device options 122 123#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 124#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 125#options MEMORY_DISK_DYNAMIC 126#options MINIROOTSIZE=1000 # Size in blocks 127#options MEMORY_DISK_IS_ROOT # use memory disk as root 128 129options DKWEDGE_AUTODISCOVER 130options DKWEDGE_METHOD_GPT 131 132# Miscellaneous kernel options 133options KTRACE # system call tracing, a la ktrace(1) 134#options KMEMSTATS # kernel memory statistics 135options PCIVERBOSE # Verbose PCI autoconfiguration messages 136#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages 137options PCI_NETBSD_CONFIGURE # perform PCI configuration 138options RNDVERBOSE # Verbose rnd messages 139#options SCSIVERBOSE # Verbose SCSI errors 140#options MIIVERBOSE # Verbose MII autoconfiguration messages 141#options DDB_KEYCODE=0x40 142#options USERCONF # userconf(4) support 143#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 144 145# Development and Debugging options 146 147#options PERFCTRS # performance counters 148options DIAGNOSTIC # internally consistency checks 149options DEBUG 150#options LOCKDEBUG # Enable lock debugging 151#options PMAP_DEBUG # Enable pmap_debug_level code 152#options IPKDB # remote kernel debugging 153#options VERBOSE_INIT_ARM # verbose bootstraping messages 154options DDB # in-kernel debugger 155options DDB_ONPANIC=1 156options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 157options DDB_COMMANDONENTER="show event" 158options DB_MAX_LINE=INT_MAX 159#options KGDB 160makeoptions DEBUG="-g" # compile full symbol table 161options SYMTAB_SPACE=575000 162 163## USB Debugging options 164options USB_DEBUG 165options EHCI_DEBUG 166options OHCI_DEBUG 167options UHUB_DEBUG 168 169 170# Valid options for BOOT_ARGS: 171# single Boot to single user only 172# kdb Give control to kernel debugger 173# ask Ask for file name to reboot from 174# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 175# memorydisk=<n> Set memorydisk size to <n> KB 176# quiet Show aprint_naive output 177# verbose Show aprint_normal and aprint_verbose output 178options BOOT_ARGS="\"\"" 179 180config netbsd root on ? type ? 181 182# The main bus device 183mainbus0 at root 184 185# The boot cpu 186cpu0 at mainbus? 187#cpu* at mainbus? 188 189# The MPCore interrupt controller and global timer 190armperiph0 at mainbus? # A9 On-Chip Peripherals 191armgic0 at armperiph? # ARM Generic Interrupt Controller 192arml2cc0 at armperiph? flags 0 # ARM PL310 L2CC 193a9tmr0 at armperiph? # A9 Global Timer 194a9wdt0 at armperiph? flags 1 # A9 Watchdog Timer 195 196# ChipCommonA Peripherals 197bcmcca0 at mainbus? # ChipCommonA 198#options CONADDR=0x18000300, CONSPEED=115200 199com0 at bcmcca? channel 0 200com* at bcmcca? channel 1 201 202# ChipCommonB Peripherals 203bcmccb0 at mainbus? # ChipCommonB 204bcmpax* at bcmccb? port ? flags 2 # use bounce buffers 205pci* at bcmpax? 206ppb* at pci? dev ? function ? 207pci* at ppb? 208 209ahcisata* at pci? dev ? function ? 210atabus* at ahcisata? channel ? 211#options ATADEBUG 212wd* at atabus? drive ? 213wm* at pci? dev ? function ? 214makphy* at mii? 215ukphy* at mii? 216 217bcmmdio0 at bcmccb0 218bcmeth* at bcmccb? port ? 219 220# SDHC controllers 221sdhc0 at bcmccb0 222sdmmc* at sdhc? # SD/MMC bus 223ld* at sdmmc? 224 225# Random Number Generator 226bcmrng0 at bcmccb0 227 228# NAND controller 229#bcmnand0 at bcmccb0 230 231# NAND layer 232#nand0 at nandbus? 233 234# use the bad block table 235#options NAND_BBT 236 237# Define flash partitions for board 238#flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader 239#flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot 240#flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env 241#flash3 at nand0 offset 0x280000 size 0x400000 # kernel 242#flash4 at nand0 offset 0x680000 size 0 # filesystem 243 244# I2C Controller 245bcmi2c0 at bcmccb0 246iic* at bcmi2c? 247 248# Watchdog timers 249#bcmwdt* at bcmccb0 250 251# On-board USB 252bcmusb* at bcmccb0 253ohci* at bcmusb0 254usb* at ohci? 255ehci* at bcmusb0 256usb* at ehci? 257uhub* at usb? 258uhub* at uhub? port ? 259umass* at uhub? port ? configuration ? interface ? 260scsibus* at scsi? 261sd* at scsibus? target ? lun ? 262#wd* at umass? 263 264axe* at uhub? port ? configuration ? interface ? 265 266# Hardware clocking and power management 267 268# Pseudo-Devices 269 270# disk/mass storage pseudo-devices 271#pseudo-device md # memory disk device (ramdisk) 272#pseudo-device vnd # disk-like interface to files 273#pseudo-device fss # file system snapshot device 274#pseudo-device putter # for puffs and pud 275 276# network pseudo-devices 277pseudo-device bpfilter # Berkeley packet filter 278pseudo-device loop # network loopback 279#pseudo-device kttcp # network loopback 280pseudo-device vlan 281pseudo-device bridge 282 283# miscellaneous pseudo-devices 284pseudo-device pty # pseudo-terminals 285#options RND_COM 286#pseudo-device clockctl # user control of clock subsystem 287pseudo-device ksyms # /dev/ksyms 288pseudo-device drvctl # device control 289pseudo-device lockstat # lock profiling 290