BCM5301X revision 1.31
1# 2# $NetBSD: BCM5301X,v 1.31 2018/07/12 10:46:43 maxv 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 BCM5301X 29options PMAPCOUNTERS 30options BUSDMA_COUNTERS 31makeoptions KERNEL_BASE_PHYS="0x80100000" 32 33# Architecture options 34 35# File systems 36 37file-system FFS # UFS 38#file-system LFS # log-structured file system 39file-system MFS # memory file system 40file-system NFS # Network file system 41#file-system ADOSFS # AmigaDOS-compatible file system 42#file-system EXT2FS # second extended file system (linux) 43file-system CD9660 # ISO 9660 + Rock Ridge file system 44file-system MSDOSFS # MS-DOS file system 45#file-system FDESC # /dev/fd 46file-system KERNFS # /kern 47#file-system NULLFS # loopback file system 48#file-system PROCFS # /proc 49#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 50#file-system UMAPFS # NULLFS + uid and gid remapping 51#file-system UNION # union file system 52file-system TMPFS # memory file system 53file-system PTYFS # /dev/pts/N support 54 55# File system options 56#options QUOTA # legacy UFS quotas 57#options QUOTA2 # new, in-filesystem UFS quotas 58#options DISKLABEL_EI # disklabel Endian Independent support 59#options FFS_EI # FFS Endian Independent support 60#options NFSSERVER 61options WAPBL # File system journaling support 62#options FFS_NO_SNAPSHOT # No FFS snapshot support 63 64# Networking options 65 66#options GATEWAY # packet forwarding 67options INET # IP + ICMP + TCP + UDP 68options INET6 # IPV6 69#options IPSEC # IP security 70#options IPSEC_DEBUG # debug for IP security 71#options MROUTING # IP multicast routing 72#options PIM # Protocol Independent Multicast 73#options NETATALK # AppleTalk networking 74#options PPP_BSDCOMP # BSD-Compress compression support for PPP 75#options PPP_DEFLATE # Deflate compression support for PPP 76#options PPP_FILTER # Active filter support for PPP (requires bpf) 77#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 78 79options NFS_BOOT_BOOTP 80options NFS_BOOT_DHCP 81#options NFS_BOOT_BOOTSTATIC 82#options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 83#options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 84#options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 85#options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 86#options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 87 88options NFS_BOOT_RWSIZE=1024 89 90# Compatibility options 91include "conf/compat_netbsd30.config" 92options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 93 94# Shared memory options 95 96options SYSVMSG # System V-like message queues 97options SYSVSEM # System V-like semaphores 98options SYSVSHM # System V-like memory sharing 99 100# Device options 101 102#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 103#options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 104#options MEMORY_DISK_DYNAMIC 105#options MINIROOTSIZE=1000 # Size in blocks 106#options MEMORY_DISK_IS_ROOT # use memory disk as root 107 108# Wedge support 109options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 110options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 111 112# Miscellaneous kernel options 113options MODULAR # support dynamically loaded kernel modules 114options MODULAR_DEFAULT_AUTOLOAD 115options KTRACE # system call tracing, a la ktrace(1) 116options PCIVERBOSE # Verbose PCI autoconfiguration messages 117#options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages 118options PCI_NETBSD_CONFIGURE # perform PCI configuration 119options RNDVERBOSE # Verbose rnd messages 120#options SCSIVERBOSE # Verbose SCSI errors 121#options MIIVERBOSE # Verbose MII autoconfiguration messages 122#options DDB_KEYCODE=0x40 123#options USERCONF # userconf(4) support 124#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 125 126# Development and Debugging options 127 128options DIAGNOSTIC # internal consistency checks 129options DEBUG 130#options LOCKDEBUG # Enable lock debugging 131#options PMAP_DEBUG # Enable pmap_debug_level code 132#options IPKDB # remote kernel debugging 133options VERBOSE_INIT_ARM # verbose bootstraping messages 134options DDB # in-kernel debugger 135options DDB_ONPANIC=1 136options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 137options DDB_COMMANDONENTER="show event" 138options DB_MAX_LINE=INT_MAX 139#options KGDB 140makeoptions DEBUG="-g" # compile full symbol table 141makeoptions COPY_SYMTAB=1 142 143## USB Debugging options 144options USB_DEBUG 145options EHCI_DEBUG 146options OHCI_DEBUG 147options UHUB_DEBUG 148 149 150# Valid options for BOOT_ARGS: 151# single Boot to single user only 152# kdb Give control to kernel debugger 153# ask Ask for file name to reboot from 154# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 155# memorydisk=<n> Set memorydisk size to <n> KB 156# quiet Show aprint_naive output 157# verbose Show aprint_normal and aprint_verbose output 158options BOOT_ARGS="\"\"" 159 160config netbsd root on ? type ? 161 162# The main bus device 163mainbus0 at root 164 165# The boot cpu 166cpu0 at mainbus? 167#cpu* at mainbus? 168 169# The MPCore interrupt controller and global timer 170armperiph0 at mainbus? # A9 On-Chip Peripherals 171armgic0 at armperiph? # ARM Generic Interrupt Controller 172arml2cc0 at armperiph? flags 0 # ARM PL310 L2CC 173arma9tmr0 at armperiph? # A9 Global Timer 174a9wdt0 at armperiph? flags 1 # A9 Watchdog Timer 175 176# ChipCommonA Peripherals 177bcmcca0 at mainbus? # ChipCommonA 178#options CONADDR=0x18000300, CONSPEED=115200 179options CONSPEED=9600 180com0 at bcmcca? channel 0 181com* at bcmcca? channel 1 182 183# ChipCommonB Peripherals 184bcmccb0 at mainbus? # ChipCommonB 185bcmpax* at bcmccb? port ? flags 2 # use bounce buffers 186pci* at bcmpax? 187ppb* at pci? dev ? function ? 188pci* at ppb? 189 190ahcisata* at pci? dev ? function ? 191atabus* at ahcisata? channel ? 192#options ATADEBUG 193wd* at atabus? drive ? 194wm* at pci? dev ? function ? 195makphy* at mii? 196ukphy* at mii? 197 198bcmmdio0 at bcmccb0 199bcmeth* at bcmccb? port ? 200 201# SDHC controllers 202sdhc0 at bcmccb0 203sdmmc* at sdhc? # SD/MMC bus 204ld* at sdmmc? 205 206# Random Number Generator 207bcmrng0 at bcmccb0 208 209# NAND controller 210#bcmnand0 at bcmccb0 211 212# NAND layer 213#nand0 at nandbus? 214 215# use the bad block table 216#options NAND_BBT 217 218# Define flash partitions for board 219#flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader 220#flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot 221#flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env 222#flash3 at nand0 offset 0x280000 size 0x400000 # kernel 223#flash4 at nand0 offset 0x680000 size 0 # filesystem 224 225# I2C Controller 226bcmi2c0 at bcmccb0 227iic* at bcmi2c? 228 229# NAND Controller 230bcmnand0 at bcmccb0 231nand* at nandbus? 232flash* at nand? 233 234# Watchdog timers 235#bcmwdt* at bcmccb0 236 237# On-board USB 238bcmusb* at bcmccb0 239ohci* at bcmusb0 240usb* at ohci? 241ehci* at bcmusb0 242usb* at ehci? 243uhub* at usb? 244uhub* at uhub? port ? 245umass* at uhub? port ? configuration ? interface ? 246scsibus* at scsi? 247sd* at scsibus? target ? lun ? 248#wd* at umass? 249 250# USB Ethernet adapters 251axe* at uhub? port ? configuration ? interface ? 252 253# Hardware clocking and power management 254 255# Pseudo-Devices 256 257# disk/mass storage pseudo-devices 258#pseudo-device md # memory disk device (ramdisk) 259#pseudo-device vnd # disk-like interface to files 260#pseudo-device fss # file system snapshot device 261#pseudo-device putter # for puffs and pud 262 263# network pseudo-devices 264pseudo-device bpfilter # Berkeley packet filter 265pseudo-device loop # network loopback 266#pseudo-device kttcp # network loopback 267pseudo-device vlan 268pseudo-device bridge 269 270# miscellaneous pseudo-devices 271pseudo-device pty # pseudo-terminals 272#options RND_COM 273#pseudo-device clockctl # user control of clock subsystem 274pseudo-device ksyms # /dev/ksyms 275pseudo-device drvctl # device control 276pseudo-device lockstat # lock profiling 277