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