1 1.1 matt # 2 1.23 skrll # $NetBSD: BCM56340,v 1.23 2024/02/16 16:28:50 skrll 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 BCMETH_COUNTERS 24 1.1 matt #options MULTIPROCESSOR 25 1.21 jmcneill options CPU_CORTEX 26 1.1 matt #options MEMSIZE=256 27 1.1 matt options BCM563XX 28 1.1 matt options PMAPCOUNTERS 29 1.1 matt options BUSDMA_COUNTERS 30 1.2 matt makeoptions KERNEL_BASE_PHYS="0x60100000" 31 1.23 skrll #options VERBOSE_INIT_ARM 32 1.23 skrll options EARLYCONS=bcm53xx,CONSADDR=0x18000300 33 1.1 matt 34 1.1 matt # Architecture options 35 1.1 matt 36 1.1 matt # File systems 37 1.1 matt 38 1.1 matt file-system FFS # UFS 39 1.1 matt #file-system LFS # log-structured file system 40 1.1 matt file-system MFS # memory file system 41 1.1 matt file-system NFS # Network file system 42 1.1 matt #file-system ADOSFS # AmigaDOS-compatible file system 43 1.1 matt #file-system EXT2FS # second extended file system (linux) 44 1.1 matt file-system CD9660 # ISO 9660 + Rock Ridge file system 45 1.1 matt file-system MSDOSFS # MS-DOS file system 46 1.1 matt #file-system FDESC # /dev/fd 47 1.1 matt file-system KERNFS # /kern 48 1.1 matt #file-system NULLFS # loopback file system 49 1.1 matt #file-system PROCFS # /proc 50 1.1 matt #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 51 1.1 matt #file-system UMAPFS # NULLFS + uid and gid remapping 52 1.1 matt #file-system UNION # union file system 53 1.1 matt file-system TMPFS # memory file system 54 1.1 matt file-system PTYFS # /dev/pts/N support 55 1.1 matt 56 1.1 matt # File system options 57 1.22 simonb #options FFS_EI # FFS Endian Independent support 58 1.22 simonb #options FFS_NO_SNAPSHOT # No FFS snapshot support 59 1.1 matt #options QUOTA # legacy UFS quotas 60 1.1 matt #options QUOTA2 # new, in-filesystem UFS quotas 61 1.22 simonb options UFS_DIRHASH # UFS Large Directory Hashing 62 1.22 simonb options UFS_EXTATTR # Extended attribute support for UFS1 63 1.22 simonb options WAPBL # File system journaling support 64 1.11 rin #options DISKLABEL_EI # disklabel Endian Independent support 65 1.22 simonb #options NFSSERVER # Network File System server 66 1.1 matt 67 1.1 matt # Networking options 68 1.1 matt 69 1.1 matt #options GATEWAY # packet forwarding 70 1.1 matt options INET # IP + ICMP + TCP + UDP 71 1.1 matt options INET6 # IPV6 72 1.1 matt #options IPSEC # IP security 73 1.1 matt #options IPSEC_DEBUG # debug for IP security 74 1.1 matt #options MROUTING # IP multicast routing 75 1.1 matt #options PIM # Protocol Independent Multicast 76 1.1 matt #options NETATALK # AppleTalk networking 77 1.1 matt #options PPP_BSDCOMP # BSD-Compress compression support for PPP 78 1.1 matt #options PPP_DEFLATE # Deflate compression support for PPP 79 1.1 matt #options PPP_FILTER # Active filter support for PPP (requires bpf) 80 1.1 matt #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 1.1 matt 82 1.1 matt options NFS_BOOT_BOOTP 83 1.1 matt options NFS_BOOT_DHCP 84 1.1 matt #options NFS_BOOT_BOOTSTATIC 85 1.1 matt #options NFS_BOOTSTATIC_MYIP="\"192.168.1.4\"" 86 1.1 matt #options NFS_BOOTSTATIC_GWIP="\"192.168.1.1\"" 87 1.1 matt #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\"" 88 1.1 matt #options NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\"" 89 1.1 matt #options NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\"" 90 1.1 matt 91 1.14 mrg options NFS_BOOT_RWSIZE=1024 92 1.1 matt 93 1.1 matt # Compatibility options 94 1.14 mrg include "conf/compat_netbsd30.config" 95 1.14 mrg options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 96 1.1 matt 97 1.1 matt # Shared memory options 98 1.1 matt 99 1.1 matt options SYSVMSG # System V-like message queues 100 1.1 matt options SYSVSEM # System V-like semaphores 101 1.1 matt options SYSVSHM # System V-like memory sharing 102 1.1 matt 103 1.1 matt # Device options 104 1.1 matt 105 1.1 matt #options MEMORY_DISK_HOOKS # boottime setup of ramdisk 106 1.1 matt #options MEMORY_DISK_ROOT_SIZE=8192 # Size in blocks 107 1.1 matt #options MEMORY_DISK_DYNAMIC 108 1.1 matt #options MINIROOTSIZE=1000 # Size in blocks 109 1.1 matt #options MEMORY_DISK_IS_ROOT # use memory disk as root 110 1.1 matt 111 1.7 christos # Wedge support 112 1.7 christos options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 113 1.7 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 114 1.1 matt 115 1.1 matt # Miscellaneous kernel options 116 1.1 matt options MODULAR # support dynamically loaded kernel modules 117 1.9 jnemeth options MODULAR_DEFAULT_AUTOLOAD 118 1.1 matt options KTRACE # system call tracing, a la ktrace(1) 119 1.1 matt options PCIVERBOSE # Verbose PCI autoconfiguration messages 120 1.1 matt #options PCI_CONFIG_DUMP # Verbose PCI autoconfiguration messages 121 1.1 matt options PCI_NETBSD_CONFIGURE # perform PCI configuration 122 1.1 matt options RNDVERBOSE # Verbose rnd messages 123 1.1 matt #options SCSIVERBOSE # Verbose SCSI errors 124 1.1 matt #options MIIVERBOSE # Verbose MII autoconfiguration messages 125 1.1 matt #options DDB_KEYCODE=0x40 126 1.1 matt #options USERCONF # userconf(4) support 127 1.1 matt #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 128 1.1 matt 129 1.1 matt # Development and Debugging options 130 1.1 matt 131 1.3 dholland options DIAGNOSTIC # internal consistency checks 132 1.1 matt options DEBUG 133 1.1 matt #options LOCKDEBUG # Enable lock debugging 134 1.20 skrll #options UVMHIST # kernhist for uvm/pmap subsystems 135 1.1 matt options VERBOSE_INIT_ARM # verbose bootstraping messages 136 1.1 matt options DDB # in-kernel debugger 137 1.14 mrg options DDB_ONPANIC=1 138 1.1 matt options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 139 1.1 matt options DDB_COMMANDONENTER="show event" 140 1.1 matt options DB_MAX_LINE=INT_MAX 141 1.1 matt #options KGDB 142 1.1 matt makeoptions DEBUG="-g" # compile full symbol table 143 1.6 joerg makeoptions COPY_SYMTAB=1 144 1.1 matt 145 1.1 matt ## USB Debugging options 146 1.1 matt options USB_DEBUG 147 1.1 matt options EHCI_DEBUG 148 1.1 matt options OHCI_DEBUG 149 1.1 matt options UHUB_DEBUG 150 1.1 matt 151 1.1 matt 152 1.1 matt # Valid options for BOOT_ARGS: 153 1.1 matt # single Boot to single user only 154 1.1 matt # kdb Give control to kernel debugger 155 1.1 matt # ask Ask for file name to reboot from 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.15 hkenken arma9tmr0 at armperiph? # A9 Global Timer 175 1.19 skrll arma9wdt0 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 250 1.12 sevan # USB Ethernet adapters 251 1.1 matt axe* at uhub? port ? configuration ? interface ? 252 1.1 matt 253 1.1 matt # Hardware clocking and power management 254 1.1 matt 255 1.1 matt # Pseudo-Devices 256 1.1 matt 257 1.1 matt # disk/mass storage pseudo-devices 258 1.1 matt #pseudo-device md # memory disk device (ramdisk) 259 1.1 matt #pseudo-device vnd # disk-like interface to files 260 1.1 matt #pseudo-device fss # file system snapshot device 261 1.1 matt #pseudo-device putter # for puffs and pud 262 1.1 matt 263 1.1 matt # network pseudo-devices 264 1.1 matt pseudo-device bpfilter # Berkeley packet filter 265 1.1 matt pseudo-device loop # network loopback 266 1.1 matt #pseudo-device kttcp # network loopback 267 1.1 matt pseudo-device vlan 268 1.1 matt pseudo-device bridge 269 1.1 matt 270 1.1 matt # miscellaneous pseudo-devices 271 1.1 matt pseudo-device pty # pseudo-terminals 272 1.1 matt #options RND_COM 273 1.1 matt #pseudo-device clockctl # user control of clock subsystem 274 1.1 matt pseudo-device ksyms # /dev/ksyms 275 1.1 matt pseudo-device drvctl # device control 276 1.1 matt pseudo-device lockstat # lock profiling 277