1 1.1 matt # 2 1.22 simonb # $NetBSD: BCM56340,v 1.22 2022/08/07 02:52:25 simonb 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.21 jmcneill options CPU_CORTEX 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.22 simonb #options FFS_EI # FFS Endian Independent support 57 1.22 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 58 1.1 matt #options QUOTA # legacy UFS quotas 59 1.1 matt #options QUOTA2 # new, in-filesystem UFS quotas 60 1.22 simonb options UFS_DIRHASH # UFS Large Directory Hashing 61 1.22 simonb options UFS_EXTATTR # Extended attribute support for UFS1 62 1.22 simonb options WAPBL # File system journaling support 63 1.11 rin #options DISKLABEL_EI # disklabel Endian Independent support 64 1.22 simonb #options NFSSERVER # Network File System server 65 1.1 matt 66 1.1 matt # Networking options 67 1.1 matt 68 1.1 matt #options GATEWAY # packet forwarding 69 1.1 matt options INET # IP + ICMP + TCP + UDP 70 1.1 matt options INET6 # IPV6 71 1.1 matt #options IPSEC # IP security 72 1.1 matt #options IPSEC_DEBUG # debug for IP security 73 1.1 matt #options MROUTING # IP multicast routing 74 1.1 matt #options PIM # Protocol Independent Multicast 75 1.1 matt #options NETATALK # AppleTalk networking 76 1.1 matt #options PPP_BSDCOMP # BSD-Compress compression support for PPP 77 1.1 matt #options PPP_DEFLATE # Deflate compression support for PPP 78 1.1 matt #options PPP_FILTER # Active filter support for PPP (requires bpf) 79 1.1 matt #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 80 1.1 matt 81 1.1 matt options NFS_BOOT_BOOTP 82 1.1 matt options NFS_BOOT_DHCP 83 1.1 matt #options NFS_BOOT_BOOTSTATIC 84 1.1 matt #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 85 1.1 matt #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 86 1.1 matt #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 87 1.1 matt #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 88 1.1 matt #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 89 1.1 matt 90 1.14 mrg options NFS_BOOT_RWSIZE=1024 91 1.1 matt 92 1.1 matt # Compatibility options 93 1.14 mrg include "conf/compat_netbsd30.config" 94 1.14 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 95 1.1 matt 96 1.1 matt # Shared memory options 97 1.1 matt 98 1.1 matt options SYSVMSG # System V-like message queues 99 1.1 matt options SYSVSEM # System V-like semaphores 100 1.1 matt options SYSVSHM # System V-like memory sharing 101 1.1 matt 102 1.1 matt # Device options 103 1.1 matt 104 1.1 matt #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 105 1.1 matt #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 106 1.1 matt #options MEMORY_DISK_DYNAMIC 107 1.1 matt #options MINIROOTSIZE=1000 # Size in blocks 108 1.1 matt #options MEMORY_DISK_IS_ROOT # use memory disk as root 109 1.1 matt 110 1.7 christos # Wedge support 111 1.7 christos options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 112 1.7 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 113 1.1 matt 114 1.1 matt # Miscellaneous kernel options 115 1.1 matt options MODULAR # support dynamically loaded kernel modules 116 1.9 jnemeth options MODULAR_DEFAULT_AUTOLOAD 117 1.1 matt options KTRACE # system call tracing, a la ktrace(1) 118 1.1 matt options PCIVERBOSE # Verbose PCI autoconfiguration messages 119 1.1 matt #options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages 120 1.1 matt options PCI_NETBSD_CONFIGURE # perform PCI configuration 121 1.1 matt options RNDVERBOSE # Verbose rnd messages 122 1.1 matt #options SCSIVERBOSE # Verbose SCSI errors 123 1.1 matt #options MIIVERBOSE # Verbose MII autoconfiguration messages 124 1.1 matt #options DDB_KEYCODE=0x40 125 1.1 matt #options USERCONF # userconf(4) support 126 1.1 matt #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 127 1.1 matt 128 1.1 matt # Development and Debugging options 129 1.1 matt 130 1.3 dholland options DIAGNOSTIC # internal consistency checks 131 1.1 matt options DEBUG 132 1.1 matt #options LOCKDEBUG # Enable lock debugging 133 1.20 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 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 # memorydisk=<n> Set memorydisk size to <n> KB 156 1.1 matt # quiet Show aprint_naive output 157 1.1 matt # verbose Show aprint_normal and aprint_verbose output 158 1.14 mrg options BOOT_ARGS="\"\"" 159 1.1 matt 160 1.1 matt config netbsd root on ? type ? 161 1.1 matt 162 1.1 matt # The main bus device 163 1.1 matt mainbus0 at root 164 1.1 matt 165 1.1 matt # The boot cpu 166 1.1 matt cpu0 at mainbus? 167 1.1 matt #cpu* at mainbus? 168 1.1 matt 169 1.1 matt # The MPCore interrupt controller and global timer 170 1.1 matt armperiph0 at mainbus? # A9 On-Chip Peripherals 171 1.1 matt armgic0 at armperiph? # ARM Generic Interrupt Controller 172 1.1 matt arml2cc0 at armperiph? flags 0 # ARM PL310 L2CC 173 1.15 hkenken arma9tmr0 at armperiph? # A9 Global Timer 174 1.19 skrll arma9wdt0 at armperiph? flags 1 # A9 Watchdog Timer 175 1.1 matt 176 1.1 matt # ChipCommonA Peripherals 177 1.1 matt bcmcca0 at mainbus? # ChipCommonA 178 1.1 matt #options CONADDR=0x18000300, CONSPEED=115200 179 1.1 matt options CONSPEED=9600 180 1.1 matt com0 at bcmcca? channel 0 181 1.1 matt com* at bcmcca? channel 1 182 1.1 matt 183 1.1 matt # ChipCommonB Peripherals 184 1.1 matt bcmccb0 at mainbus? # ChipCommonB 185 1.1 matt bcmpax* at bcmccb? port ? flags 2 # use bounce buffers 186 1.1 matt pci* at bcmpax? 187 1.1 matt ppb* at pci? dev ? function ? 188 1.1 matt pci* at ppb? 189 1.1 matt 190 1.1 matt ahcisata* at pci? dev ? function ? 191 1.1 matt atabus* at ahcisata? channel ? 192 1.1 matt #options ATADEBUG 193 1.1 matt wd* at atabus? drive ? 194 1.1 matt wm* at pci? dev ? function ? 195 1.1 matt makphy* at mii? 196 1.1 matt ukphy* at mii? 197 1.1 matt 198 1.1 matt bcmmdio0 at bcmccb0 199 1.1 matt bcmeth* at bcmccb? port ? 200 1.1 matt 201 1.1 matt # SDHC controllers 202 1.1 matt sdhc0 at bcmccb0 203 1.1 matt sdmmc* at sdhc? # SD/MMC bus 204 1.1 matt ld* at sdmmc? 205 1.1 matt 206 1.1 matt # Random Number Generator 207 1.1 matt bcmrng0 at bcmccb0 208 1.1 matt 209 1.1 matt # NAND controller 210 1.1 matt #bcmnand0 at bcmccb0 211 1.1 matt 212 1.1 matt # NAND layer 213 1.1 matt #nand0 at nandbus? 214 1.1 matt 215 1.1 matt # use the bad block table 216 1.1 matt #options NAND_BBT 217 1.1 matt 218 1.1 matt # Define flash partitions for board 219 1.1 matt #flash0 at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader 220 1.1 matt #flash1 at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot 221 1.1 matt #flash2 at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env 222 1.1 matt #flash3 at nand0 offset 0x280000 size 0x400000 # kernel 223 1.1 matt #flash4 at nand0 offset 0x680000 size 0 # filesystem 224 1.1 matt 225 1.1 matt # I2C Controller 226 1.1 matt bcmi2c0 at bcmccb0 227 1.1 matt iic* at bcmi2c? 228 1.1 matt 229 1.1 matt # NAND Controller 230 1.1 matt bcmnand0 at bcmccb0 231 1.1 matt nand* at nandbus? 232 1.1 matt flash* at nand? 233 1.1 matt 234 1.1 matt # Watchdog timers 235 1.1 matt #bcmwdt* at bcmccb0 236 1.1 matt 237 1.1 matt # On-board USB 238 1.1 matt bcmusb* at bcmccb0 239 1.1 matt ohci* at bcmusb0 240 1.1 matt usb* at ohci? 241 1.1 matt ehci* at bcmusb0 242 1.1 matt usb* at ehci? 243 1.1 matt uhub* at usb? 244 1.1 matt uhub* at uhub? port ? 245 1.1 matt umass* at uhub? port ? configuration ? interface ? 246 1.1 matt scsibus* at scsi? 247 1.1 matt sd* at scsibus? target ? lun ? 248 1.1 matt 249 1.12 sevan # USB Ethernet adapters 250 1.1 matt axe* at uhub? port ? configuration ? interface ? 251 1.1 matt 252 1.1 matt # Hardware clocking and power management 253 1.1 matt 254 1.1 matt # Pseudo-Devices 255 1.1 matt 256 1.1 matt # disk/mass storage pseudo-devices 257 1.1 matt #pseudo-device md # memory disk device (ramdisk) 258 1.1 matt #pseudo-device vnd # disk-like interface to files 259 1.1 matt #pseudo-device fss # file system snapshot device 260 1.1 matt #pseudo-device putter # for puffs and pud 261 1.1 matt 262 1.1 matt # network pseudo-devices 263 1.1 matt pseudo-device bpfilter # Berkeley packet filter 264 1.1 matt pseudo-device loop # network loopback 265 1.1 matt #pseudo-device kttcp # network loopback 266 1.1 matt pseudo-device vlan 267 1.1 matt pseudo-device bridge 268 1.1 matt 269 1.1 matt # miscellaneous pseudo-devices 270 1.1 matt pseudo-device pty # pseudo-terminals 271 1.1 matt #options RND_COM 272 1.1 matt #pseudo-device clockctl # user control of clock subsystem 273 1.1 matt pseudo-device ksyms # /dev/ksyms 274 1.1 matt pseudo-device drvctl # device control 275 1.1 matt pseudo-device lockstat # lock profiling 276