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