Home | History | Annotate | Line # | Download | only in conf
BCM5301X revision 1.6
      1 #
      2 #	$NetBSD: BCM5301X,v 1.6 2012/09/22 19:53:03 matt 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 	MULTIPROCESSOR
     25 options 	CPU_CORTEXA9
     26 options 	BCM5301
     27 options 	PMAPCOUNTERS
     28 
     29 # Architecture options
     30 
     31 # File systems
     32 
     33 file-system	FFS		# UFS
     34 #file-system	LFS		# log-structured file system
     35 file-system	MFS		# memory file system
     36 file-system	NFS		# Network file system
     37 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     38 #file-system 	EXT2FS		# second extended file system (linux)
     39 file-system	CD9660		# ISO 9660 + Rock Ridge file system
     40 file-system	MSDOSFS		# MS-DOS file system
     41 #file-system	FDESC		# /dev/fd
     42 file-system	KERNFS		# /kern
     43 #file-system	NULLFS		# loopback file system
     44 #file-system	PROCFS		# /proc
     45 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     46 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     47 #file-system	UNION		# union file system
     48 file-system	TMPFS		# memory file system
     49 file-system	PTYFS		# /dev/pts/N support
     50 
     51 # File system options
     52 #options 	QUOTA		# legacy UFS quotas
     53 #options 	QUOTA2		# new, in-filesystem UFS quotas
     54 #options 	FFS_EI		# FFS Endian Independent support
     55 #options 	NFSSERVER
     56 options 	WAPBL		# File system journaling support
     57 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     58 
     59 # Networking options
     60 
     61 #options 	GATEWAY		# packet forwarding
     62 options 	INET		# IP + ICMP + TCP + UDP
     63 options 	INET6		# IPV6
     64 #options 	IPSEC		# IP security
     65 #options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
     66 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
     67 #options 	IPSEC_DEBUG	# debug for IP security
     68 #options 	MROUTING	# IP multicast routing
     69 #options 	PIM		# Protocol Independent Multicast
     70 #options 	NS		# XNS
     71 #options 	NSIP		# XNS tunneling over IP
     72 #options 	ISO,TPIP	# OSI
     73 #options 	EON		# OSI tunneling over IP
     74 #options 	CCITT,LLC,HDLC	# X.25
     75 #options 	NETATALK	# AppleTalk networking
     76 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
     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 
     82 options 	NFS_BOOT_BOOTP
     83 options 	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 
     91 options		NFS_BOOT_RWSIZE=1024
     92 
     93 # Compatibility options
     94 
     95 #options 	COMPAT_43	# 4.3BSD compatibility.
     96 options 	COMPAT_50	# NetBSD 5.0 compatibility.
     97 options 	COMPAT_40	# NetBSD 4.0 compatibility.
     98 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     99 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
    100 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
    101 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
    102 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
    103 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
    104 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
    105 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
    106 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
    107 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
    108 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    109 #options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    110 
    111 # Shared memory options
    112 
    113 options 	SYSVMSG		# System V-like message queues
    114 options 	SYSVSEM		# System V-like semaphores
    115 options 	SYSVSHM		# System V-like memory sharing
    116 
    117 # Device options
    118 
    119 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
    120 #options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
    121 #options 	MEMORY_DISK_DYNAMIC
    122 #options 	MINIROOTSIZE=1000	# Size in blocks
    123 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
    124 
    125 options 	DKWEDGE_AUTODISCOVER
    126 options 	DKWEDGE_METHOD_GPT
    127 
    128 # Miscellaneous kernel options
    129 options 	KTRACE		# system call tracing, a la ktrace(1)
    130 #options 	KMEMSTATS	# kernel memory statistics
    131 options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
    132 #options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
    133 options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
    134 options 	RNDVERBOSE	# Verbose rnd messages
    135 #options 	SCSIVERBOSE	# Verbose SCSI errors
    136 #options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
    137 #options 	DDB_KEYCODE=0x40
    138 #options 	USERCONF	# userconf(4) support
    139 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    140 
    141 # Development and Debugging options
    142 
    143 #options 	PERFCTRS	# performance counters
    144 options 	DIAGNOSTIC	# internally consistency checks
    145 options 	DEBUG
    146 #options 	LOCKDEBUG	# Enable lock debugging
    147 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    148 #options 	IPKDB		# remote kernel debugging
    149 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    150 options 	DDB		# in-kernel debugger
    151 options		DDB_ONPANIC=1
    152 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    153 options 	DDB_COMMANDONENTER="show event"
    154 options 	DB_MAX_LINE=INT_MAX
    155 #options 	KGDB
    156 makeoptions	DEBUG="-g"	# compile full symbol table
    157 options 	SYMTAB_SPACE=575000
    158 
    159 ## USB Debugging options
    160 options USB_DEBUG
    161 options EHCI_DEBUG
    162 options OHCI_DEBUG
    163 options UHUB_DEBUG
    164 
    165 
    166 # Valid options for BOOT_ARGS:
    167 #  single		Boot to single user only
    168 #  kdb			Give control to kernel debugger
    169 #  ask			Ask for file name to reboot from
    170 #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
    171 #  memorydisk=<n>	Set memorydisk size to <n> KB
    172 #  quiet		Show aprint_naive output
    173 #  verbose		Show aprint_normal and aprint_verbose output
    174 options		BOOT_ARGS="\"\""
    175 
    176 config		netbsd		root on ? type ?
    177 
    178 # The main bus device
    179 mainbus0	at root
    180 
    181 # The boot cpu
    182 cpu0		at mainbus?
    183 #cpu*		at mainbus?
    184 
    185 # The MPCore interrupt controller and global timer
    186 armperiph0	at mainbus?		# A9 On-Chip Peripherals
    187 armgic0		at armperiph?		# ARM Generic Interrupt Controller
    188 arml2cc0	at armperiph? flags 1	# ARM PL310 L2CC
    189 a9tmr0		at armperiph?		# A9 Global Timer
    190 a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer
    191 
    192 # ChipCommonA Peripherals
    193 bcmcca0		at mainbus?		# ChipCommonA
    194 #options 	CONADDR=0x18000300, CONSPEED=115200
    195 com0		at bcmcca? channel 0
    196 com*		at bcmcca? channel 1
    197 
    198 # ChipCommonB Peripherals
    199 bcmccb0		at mainbus?		# ChipCommonB
    200 bcmpax*		at bcmccb? port ?
    201 pci*		at bcmpax?
    202 ppb*		at pci? dev ? function ?
    203 pci*		at ppb?
    204 
    205 ahcisata*	at pci? dev ? function ?
    206 atabus* 	at ahcisata? channel ?
    207 #options 	ATADEBUG
    208 wd*		at atabus? drive ?
    209 wm*		at pci? dev ? function ?
    210 makphy*		at mii?
    211 ukphy*		at mii?
    212 
    213 bcmmdio0	at bcmccb0
    214 bcmeth*		at bcmccb? port ?
    215 
    216 # SDHC controllers
    217 sdhc0		at bcmccb0
    218 sdmmc*		at sdhc?		# SD/MMC bus
    219 ld*		at sdmmc?
    220 
    221 # Random Number Generator
    222 bcmrng0		at bcmccb0
    223 
    224 # NAND controller
    225 #bcmnand0	at bcmccb0
    226 
    227 # NAND layer
    228 #nand0		at nandbus?
    229 
    230 # use the bad block table
    231 #options NAND_BBT
    232 
    233 # Define flash partitions for board
    234 #flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
    235 #flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
    236 #flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
    237 #flash3		at nand0 offset 0x280000 size 0x400000		# kernel
    238 #flash4		at nand0 offset 0x680000 size 0			# filesystem
    239 
    240 # I2C Controller
    241 bcmi2c0 	at bcmccb0
    242 iic*		at bcmi2c?
    243 
    244 # Watchdog timers
    245 #bcmwdt*	at bcmccb0
    246 
    247 # On-board USB
    248 bcmusb*		at bcmccb0
    249 ohci*		at bcmusb0
    250 usb*		at ohci?
    251 ehci*		at bcmusb0
    252 usb*		at ehci?
    253 uhub*		at usb?
    254 uhub*		at uhub? port ?
    255 umass*		at uhub? port ? configuration ? interface ?
    256 scsibus*	at scsi?
    257 sd*		at scsibus? target ? lun ?
    258 #wd*		at umass?
    259 
    260 axe*		at uhub? port ? configuration ? interface ?
    261 
    262 # Hardware clocking and power management
    263 
    264 # Pseudo-Devices
    265 
    266 # disk/mass storage pseudo-devices
    267 #pseudo-device	md			# memory disk device (ramdisk)
    268 #pseudo-device	vnd			# disk-like interface to files
    269 #pseudo-device	fss			# file system snapshot device
    270 #pseudo-device	putter			# for puffs and pud
    271 
    272 # network pseudo-devices
    273 pseudo-device	bpfilter		# Berkeley packet filter
    274 pseudo-device	loop			# network loopback
    275 #pseudo-device	kttcp			# network loopback
    276 
    277 # miscellaneous pseudo-devices
    278 pseudo-device	pty			# pseudo-terminals
    279 #options	RND_COM
    280 #pseudo-device	clockctl		# user control of clock subsystem
    281 pseudo-device	ksyms			# /dev/ksyms
    282 pseudo-device	drvctl			# device control
    283