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