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