BCM5301X revision 1.12
1# 2# $NetBSD: BCM5301X,v 1.12 2013/03/01 18:25:32 joerg 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 CCITT,LLC,HDLC # X.25 76#options NETATALK # AppleTalk networking 77#options PFIL_HOOKS # pfil(9) packet filter hooks 78#options PPP_BSDCOMP # BSD-Compress compression support for PPP 79#options PPP_DEFLATE # Deflate compression support for PPP 80#options PPP_FILTER # Active filter support for PPP (requires bpf) 81#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 82 83options NFS_BOOT_BOOTP 84options NFS_BOOT_DHCP 85#options NFS_BOOT_BOOTSTATIC 86#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 87#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 88#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 89#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 90#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 91 92options NFS_BOOT_RWSIZE=1024 93 94# Compatibility options 95 96#options COMPAT_43 # 4.3BSD compatibility. 97options COMPAT_60 # NetBSD 6.0 compatibility. 98options COMPAT_50 # NetBSD 5.0 compatibility. 99options COMPAT_40 # NetBSD 4.0 compatibility. 100options COMPAT_30 # NetBSD 3.0 compatibility. 101#options COMPAT_20 # NetBSD 2.0 compatibility. 102#options COMPAT_16 # NetBSD 1.6 compatibility. 103#options COMPAT_15 # NetBSD 1.5 compatibility. 104#options COMPAT_14 # NetBSD 1.4 compatibility. 105#options COMPAT_13 # NetBSD 1.3 compatibility. 106#options COMPAT_12 # NetBSD 1.2 compatibility. 107#options COMPAT_11 # NetBSD 1.1 compatibility. 108#options COMPAT_10 # NetBSD 1.0 compatibility. 109#options COMPAT_09 # NetBSD 0.9 compatibility. 110#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 111#options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 112 113# Shared memory options 114 115options SYSVMSG # System V-like message queues 116options SYSVSEM # System V-like semaphores 117options SYSVSHM # System V-like memory sharing 118 119# Device options 120 121#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 122#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 123#options MEMORY_DISK_DYNAMIC 124#options MINIROOTSIZE=1000 # Size in blocks 125#options MEMORY_DISK_IS_ROOT # use memory disk as root 126 127options DKWEDGE_AUTODISCOVER 128options DKWEDGE_METHOD_GPT 129 130# Miscellaneous kernel options 131options KTRACE # system call tracing, a la ktrace(1) 132#options KMEMSTATS # kernel memory statistics 133options PCIVERBOSE # Verbose PCI autoconfiguration messages 134#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages 135options PCI_NETBSD_CONFIGURE # perform PCI configuration 136options RNDVERBOSE # Verbose rnd messages 137#options SCSIVERBOSE # Verbose SCSI errors 138#options MIIVERBOSE # Verbose MII autoconfiguration messages 139#options DDB_KEYCODE=0x40 140#options USERCONF # userconf(4) support 141#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 142 143# Development and Debugging options 144 145#options PERFCTRS # performance counters 146options DIAGNOSTIC # internally consistency checks 147options DEBUG 148#options LOCKDEBUG # Enable lock debugging 149#options PMAP_DEBUG # Enable pmap_debug_level code 150#options IPKDB # remote kernel debugging 151#options VERBOSE_INIT_ARM # verbose bootstraping messages 152options DDB # in-kernel debugger 153options DDB_ONPANIC=1 154options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 155options DDB_COMMANDONENTER="show event" 156options DB_MAX_LINE=INT_MAX 157#options KGDB 158makeoptions DEBUG="-g" # compile full symbol table 159options SYMTAB_SPACE=575000 160 161## USB Debugging options 162options USB_DEBUG 163options EHCI_DEBUG 164options OHCI_DEBUG 165options UHUB_DEBUG 166 167 168# Valid options for BOOT_ARGS: 169# single Boot to single user only 170# kdb Give control to kernel debugger 171# ask Ask for file name to reboot from 172# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 173# memorydisk=<n> Set memorydisk size to <n> KB 174# quiet Show aprint_naive output 175# verbose Show aprint_normal and aprint_verbose output 176options BOOT_ARGS="\"\"" 177 178config netbsd root on ? type ? 179 180# The main bus device 181mainbus0 at root 182 183# The boot cpu 184cpu0 at mainbus? 185#cpu* at mainbus? 186 187# The MPCore interrupt controller and global timer 188armperiph0 at mainbus? # A9 On-Chip Peripherals 189armgic0 at armperiph? # ARM Generic Interrupt Controller 190arml2cc0 at armperiph? flags 0 # ARM PL310 L2CC 191a9tmr0 at armperiph? # A9 Global Timer 192a9wdt0 at armperiph? flags 1 # A9 Watchdog Timer 193 194# ChipCommonA Peripherals 195bcmcca0 at mainbus? # ChipCommonA 196#options CONADDR=0x18000300, CONSPEED=115200 197com0 at bcmcca? channel 0 198com* at bcmcca? channel 1 199 200# ChipCommonB Peripherals 201bcmccb0 at mainbus? # ChipCommonB 202bcmpax* at bcmccb? port ? flags 2 # use bounce buffers 203pci* at bcmpax? 204ppb* at pci? dev ? function ? 205pci* at ppb? 206 207ahcisata* at pci? dev ? function ? 208atabus* at ahcisata? channel ? 209#options ATADEBUG 210wd* at atabus? drive ? 211wm* at pci? dev ? function ? 212makphy* at mii? 213ukphy* at mii? 214 215bcmmdio0 at bcmccb0 216bcmeth* at bcmccb? port ? 217 218# SDHC controllers 219sdhc0 at bcmccb0 220sdmmc* at sdhc? # SD/MMC bus 221ld* at sdmmc? 222 223# Random Number Generator 224bcmrng0 at bcmccb0 225 226# NAND controller 227#bcmnand0 at bcmccb0 228 229# NAND layer 230#nand0 at nandbus? 231 232# use the bad block table 233#options NAND_BBT 234 235# Define flash partitions for board 236#flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader 237#flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot 238#flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env 239#flash3 at nand0 offset 0x280000 size 0x400000 # kernel 240#flash4 at nand0 offset 0x680000 size 0 # filesystem 241 242# I2C Controller 243bcmi2c0 at bcmccb0 244iic* at bcmi2c? 245 246# Watchdog timers 247#bcmwdt* at bcmccb0 248 249# On-board USB 250bcmusb* at bcmccb0 251ohci* at bcmusb0 252usb* at ohci? 253ehci* at bcmusb0 254usb* at ehci? 255uhub* at usb? 256uhub* at uhub? port ? 257umass* at uhub? port ? configuration ? interface ? 258scsibus* at scsi? 259sd* at scsibus? target ? lun ? 260#wd* at umass? 261 262axe* at uhub? port ? configuration ? interface ? 263 264# Hardware clocking and power management 265 266# Pseudo-Devices 267 268# disk/mass storage pseudo-devices 269#pseudo-device md # memory disk device (ramdisk) 270#pseudo-device vnd # disk-like interface to files 271#pseudo-device fss # file system snapshot device 272#pseudo-device putter # for puffs and pud 273 274# network pseudo-devices 275pseudo-device bpfilter # Berkeley packet filter 276pseudo-device loop # network loopback 277#pseudo-device kttcp # network loopback 278pseudo-device vlan 279pseudo-device bridge 280 281# miscellaneous pseudo-devices 282pseudo-device pty # pseudo-terminals 283#options RND_COM 284#pseudo-device clockctl # user control of clock subsystem 285pseudo-device ksyms # /dev/ksyms 286pseudo-device drvctl # device control 287pseudo-device lockstat # lock profiling 288