head	1.23;
access;
symbols
	netbsd-11-0-RC4:1.23.4.1
	netbsd-11-0-RC3:1.23.4.1
	netbsd-11-0-RC2:1.23.4.1
	netbsd-11-0-RC1:1.23.4.1
	perseant-exfatfs-base-20250801:1.23
	netbsd-11:1.23.0.4
	netbsd-11-base:1.23
	netbsd-10-1-RELEASE:1.22.4.1
	perseant-exfatfs-base-20240630:1.23
	perseant-exfatfs:1.23.0.2
	perseant-exfatfs-base:1.23
	netbsd-8-3-RELEASE:1.11.6.1
	netbsd-9-4-RELEASE:1.18.4.1
	netbsd-10-0-RELEASE:1.22.4.1
	netbsd-10-0-RC6:1.22.4.1
	netbsd-10-0-RC5:1.22.4.1
	netbsd-10-0-RC4:1.22.4.1
	netbsd-10-0-RC3:1.22.4.1
	netbsd-10-0-RC2:1.22.4.1
	thorpej-ifq:1.22.0.8
	thorpej-ifq-base:1.22
	thorpej-altq-separation:1.22.0.6
	thorpej-altq-separation-base:1.22
	netbsd-10-0-RC1:1.22.4.1
	netbsd-10:1.22.0.4
	netbsd-10-base:1.22
	bouyer-sunxi-drm:1.22.0.2
	bouyer-sunxi-drm-base:1.22
	netbsd-9-3-RELEASE:1.18.4.1
	thorpej-i2c-spi-conf2:1.21.0.16
	thorpej-i2c-spi-conf2-base:1.21
	thorpej-futex2:1.21.0.14
	thorpej-futex2-base:1.21
	thorpej-cfargs2:1.21.0.12
	thorpej-cfargs2-base:1.21
	cjep_sun2x-base1:1.21
	cjep_sun2x:1.21.0.10
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	netbsd-9-2-RELEASE:1.18.4.1
	cjep_staticlib_x:1.21.0.8
	cjep_staticlib_x-base:1.21
	thorpej-i2c-spi-conf:1.21.0.6
	thorpej-i2c-spi-conf-base:1.21
	thorpej-cfargs:1.21.0.4
	thorpej-cfargs-base:1.21
	thorpej-futex:1.21.0.2
	thorpej-futex-base:1.21
	netbsd-9-1-RELEASE:1.18.4.1
	bouyer-xenpvh-base2:1.20
	phil-wifi-20200421:1.20
	bouyer-xenpvh-base1:1.20
	phil-wifi-20200411:1.19
	bouyer-xenpvh:1.19.0.6
	bouyer-xenpvh-base:1.19
	is-mlppp:1.19.0.4
	is-mlppp-base:1.19
	phil-wifi-20200406:1.19
	netbsd-8-2-RELEASE:1.11.6.1
	ad-namecache-base3:1.19
	netbsd-9-0-RELEASE:1.18.4.1
	netbsd-9-0-RC2:1.18.4.1
	ad-namecache-base2:1.19
	ad-namecache-base1:1.19
	ad-namecache:1.19.0.2
	ad-namecache-base:1.19
	netbsd-9-0-RC1:1.18.4.1
	phil-wifi-20191119:1.19
	netbsd-9:1.18.0.4
	netbsd-9-base:1.18
	phil-wifi-20190609:1.18
	netbsd-8-1-RELEASE:1.11.6.1
	netbsd-8-1-RC1:1.11.6.1
	isaki-audio2:1.18.0.2
	isaki-audio2-base:1.18
	pgoyette-compat-merge-20190127:1.14.2.3
	pgoyette-compat-20190127:1.18
	pgoyette-compat-20190118:1.18
	pgoyette-compat-1226:1.18
	pgoyette-compat-1126:1.18
	pgoyette-compat-1020:1.17
	pgoyette-compat-0930:1.17
	pgoyette-compat-0906:1.17
	netbsd-7-2-RELEASE:1.4.2.1
	pgoyette-compat-0728:1.17
	netbsd-8-0-RELEASE:1.11.6.1
	phil-wifi:1.15.0.2
	phil-wifi-base:1.15
	pgoyette-compat-0625:1.15
	netbsd-8-0-RC2:1.11.6.1
	pgoyette-compat-0521:1.14
	pgoyette-compat-0502:1.14
	pgoyette-compat-0422:1.14
	netbsd-8-0-RC1:1.11.6.1
	pgoyette-compat-0415:1.14
	pgoyette-compat-0407:1.14
	pgoyette-compat-0330:1.14
	pgoyette-compat-0322:1.14
	pgoyette-compat-0315:1.14
	netbsd-7-1-2-RELEASE:1.4.2.1
	pgoyette-compat:1.14.0.2
	pgoyette-compat-base:1.14
	netbsd-7-1-1-RELEASE:1.4.2.1
	tls-maxphys-base-20171202:1.14
	matt-nb8-mediatek:1.11.6.1.0.2
	matt-nb8-mediatek-base:1.11.6.1
	nick-nhusb-base-20170825:1.13
	perseant-stdc-iso10646:1.12.0.2
	perseant-stdc-iso10646-base:1.12
	netbsd-8:1.11.0.6
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.4
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	jdolecek-ncq:1.11.0.2
	jdolecek-ncq-base:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.4.2.1.0.6
	netbsd-7-1-RELEASE:1.4.2.1
	netbsd-7-1-RC2:1.4.2.1
	nick-nhusb-base-20170204:1.10
	netbsd-7-nhusb-base-20170116:1.4.2.1
	bouyer-socketcan:1.10.0.4
	bouyer-socketcan-base:1.10
	pgoyette-localcount-20170107:1.10
	netbsd-7-1-RC1:1.4.2.1
	nick-nhusb-base-20161204:1.10
	pgoyette-localcount-20161104:1.10
	netbsd-7-0-2-RELEASE:1.4.2.1
	nick-nhusb-base-20161004:1.10
	localcount-20160914:1.10
	netbsd-7-nhusb:1.4.2.1.0.4
	netbsd-7-nhusb-base:1.4.2.1
	pgoyette-localcount-20160806:1.10
	pgoyette-localcount-20160726:1.10
	pgoyette-localcount:1.10.0.2
	pgoyette-localcount-base:1.10
	nick-nhusb-base-20160907:1.10
	nick-nhusb-base-20160529:1.10
	netbsd-7-0-1-RELEASE:1.4.2.1
	nick-nhusb-base-20160422:1.10
	nick-nhusb-base-20160319:1.10
	nick-nhusb-base-20151226:1.10
	netbsd-7-0:1.4.2.1.0.2
	netbsd-7-0-RELEASE:1.4.2.1
	nick-nhusb-base-20150921:1.10
	netbsd-7-0-RC3:1.4.2.1
	netbsd-7-0-RC2:1.4.2.1
	netbsd-7-0-RC1:1.4.2.1
	nick-nhusb-base-20150606:1.9
	nick-nhusb-base-20150406:1.9
	nick-nhusb:1.9.0.2
	nick-nhusb-base:1.9
	tls-maxphys-base:1.4
	tls-maxphys:1.7.0.2
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	yamt-pagecache:1.2.0.6
	rmind-smpnet-base:1.2
	rmind-smpnet:1.2.0.4
	rmind-smpnet-nbase:1.2
	yamt-pagecache-base9:1.2
	tls-earlyentropy:1.2.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	matt-nb5-mips64:1.1.0.2;
locks; strict;
comment	@# @;


1.23
date	2024.02.16.16.28.50;	author skrll;	state Exp;
branches
	1.23.4.1;
next	1.22;
commitid	flnuMECv06Dy1GYE;

1.22
date	2022.08.07.02.52.25;	author simonb;	state Exp;
branches
	1.22.4.1;
next	1.21;
commitid	HXKRRXLciPDtrTOD;

1.21
date	2020.09.29.19.58.50;	author jmcneill;	state Exp;
branches;
next	1.20;
commitid	mHlbrdCG5hVISYpC;

1.20
date	2020.04.18.11.00.38;	author skrll;	state Exp;
branches;
next	1.19;
commitid	2zaZE9PO9gJXaR4C;

1.19
date	2019.08.11.19.34.04;	author skrll;	state Exp;
branches
	1.19.6.1;
next	1.18;
commitid	99Pviq3UBUnj5EyB;

1.18
date	2018.10.23.19.58.52;	author jdolecek;	state Exp;
branches
	1.18.4.1;
next	1.17;
commitid	Uj00maxTZQIxA7XA;

1.17
date	2018.07.14.15.09.41;	author maxv;	state Exp;
branches;
next	1.16;
commitid	pS1Vmgc7z1Iwf7KA;

1.16
date	2018.07.12.10.46.43;	author maxv;	state Exp;
branches;
next	1.15;
commitid	zv0Sckxqs4y3RPJA;

1.15
date	2018.06.05.08.03.28;	author hkenken;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	aErRAE50OFgr94FA;

1.14
date	2017.09.14.07.58.40;	author mrg;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	ngZ6fHXwTqlZA87A;

1.13
date	2017.07.29.18.08.57;	author maxv;	state Exp;
branches;
next	1.12;
commitid	OtoNC1YDOrKHu91A;

1.12
date	2017.06.26.03.15.16;	author sevan;	state Exp;
branches;
next	1.11;
commitid	rPmr3c7sr0iMBPWz;

1.11
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches
	1.11.6.1;
next	1.10;
commitid	ivCr5u3yfBMzbxGz;

1.10
date	2015.08.07.13.53.28;	author maxv;	state Exp;
branches
	1.10.2.1
	1.10.4.1;
next	1.9;
commitid	2i3gQF7Ksxo9ilwy;

1.9
date	2014.08.24.07.59.22;	author jnemeth;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	SkWajjUme0wZtANx;

1.8
date	2014.08.23.20.26.57;	author dholland;	state Exp;
branches;
next	1.7;
commitid	Ef5fhfmsGe1uFwNx;

1.7
date	2014.08.18.06.31.24;	author christos;	state Exp;
branches
	1.7.2.1;
next	1.6;
commitid	szm6ssWdlH5WdOMx;

1.6
date	2014.08.17.21.17.43;	author joerg;	state Exp;
branches;
next	1.5;
commitid	1Tn1qthIdwV09LMx;

1.5
date	2014.08.16.17.56.31;	author apb;	state Exp;
branches;
next	1.4;
commitid	gjT9TWtCibuK4CMx;

1.4
date	2014.08.03.08.53.56;	author martin;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	Fq8PfzZ3qg4yuTKx;

1.3
date	2014.07.27.03.34.41;	author dholland;	state Exp;
branches;
next	1.2;
commitid	rlGfXZaBJUt0XXJx;

1.2
date	2014.02.21.22.31.58;	author matt;	state Exp;
branches
	1.2.2.1
	1.2.4.1
	1.2.6.1;
next	1.1;
commitid	lDYa19zHlW97g1qx;

1.1
date	2013.10.28.22.35.07;	author matt;	state Exp;
branches
	1.1.2.1;
next	;
commitid	tW0iP2o8eFQm07bx;

1.23.4.1
date	2026.02.03.20.51.24;	author snj;	state Exp;
branches;
next	;
commitid	xJf92BKl6kL8oYsG;

1.22.4.1
date	2023.10.09.23.33.45;	author snj;	state Exp;
branches;
next	;
commitid	Gy7Rt3RMsJCGx0IE;

1.19.6.1
date	2020.04.20.11.28.54;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.18.4.1
date	2019.08.15.09.49.49;	author martin;	state Exp;
branches;
next	;
commitid	7Y97oj6vEQ91J6zB;

1.15.2.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	1.15.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.15.2.2
date	2020.04.13.08.03.42;	author martin;	state Exp;
branches;
next	1.15.2.3;
commitid	X01YhRUPVUDaec4C;

1.15.2.3
date	2020.04.21.18.42.05;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.14.2.1
date	2018.06.25.07.25.40;	author pgoyette;	state Exp;
branches;
next	1.14.2.2;
commitid	8PtAu9af7VvhiDHA;

1.14.2.2
date	2018.07.28.04.37.31;	author pgoyette;	state Exp;
branches;
next	1.14.2.3;
commitid	1UP1xAIUxv1ZgRLA;

1.14.2.3
date	2018.11.26.01.52.21;	author pgoyette;	state Exp;
branches;
next	;
commitid	Zj4q5SspGdKXto1B;

1.11.6.1
date	2017.07.01.08.49.28;	author snj;	state Exp;
branches;
next	;
commitid	30GQmDCS1QcLivXz;

1.10.2.1
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.10.4.1
date	2017.04.21.16.53.25;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.9.2.1
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	1.9.2.2;
commitid	CpNWKp3ozVNTafCy;

1.9.2.2
date	2017.08.28.17.51.34;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.7.2.1
date	2014.08.18.06.31.24;	author tls;	state dead;
branches;
next	1.7.2.2;
commitid	jTnpym9Qu0o4R1Nx;

1.7.2.2
date	2014.08.20.00.02.53;	author tls;	state Exp;
branches;
next	1.7.2.3;
commitid	jTnpym9Qu0o4R1Nx;

1.7.2.3
date	2017.12.03.11.36.03;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.4.2.1
date	2015.05.15.03.44.18;	author snj;	state Exp;
branches;
next	;
commitid	ro7V5s9WBO35Culy;

1.2.2.1
date	2014.08.10.06.53.54;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.2.4.1
date	2014.02.21.22.31.58;	author rmind;	state dead;
branches;
next	1.2.4.2;
commitid	mL5ZYSzpqK6QS2Bx;

1.2.4.2
date	2014.05.18.17.45.03;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.2.6.1
date	2014.02.21.22.31.58;	author yamt;	state dead;
branches;
next	1.2.6.2;
commitid	VUUXuyNWnt3AKwBx;

1.2.6.2
date	2014.05.22.11.39.40;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.1.2.1
date	2013.10.28.22.35.07;	author matt;	state dead;
branches;
next	1.1.2.2;
commitid	PFej1hjUNnZEndpx;

1.1.2.2
date	2014.02.15.16.18.37;	author matt;	state Exp;
branches;
next	;
commitid	PFej1hjUNnZEndpx;


desc
@@


1.23
log
@Retire BCM53XX_CONSOLE_EARLY in favour of EARLYCONS
@
text
@#
#	$NetBSD: BCM56340,v 1.22 2022/08/07 02:52:25 simonb Exp $
#
#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#

include	"arch/evbarm/conf/std.bcm53xx"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#makeoptions	DEFCOPTS="-O0"
options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
options 	BCMETH_COUNTERS
#options 	MULTIPROCESSOR
options 	CPU_CORTEX
#options 	MEMSIZE=256
options 	BCM563XX
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
makeoptions	KERNEL_BASE_PHYS="0x60100000"
#options 	VERBOSE_INIT_ARM
options 	EARLYCONS=bcm53xx,CONSADDR=0x18000300

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
options 	UFS_DIRHASH	# UFS Large Directory Hashing
options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	NFSSERVER	# Network File System server

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options 	NFS_BOOT_RWSIZE=1024

# Compatibility options
include 	"conf/compat_netbsd30.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges

# Miscellaneous kernel options
options 	MODULAR		# support dynamically loaded kernel modules
options 	MODULAR_DEFAULT_AUTOLOAD
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
options 	RNDVERBOSE	# Verbose rnd messages
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#options 	LOCKDEBUG	# Enable lock debugging
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options 	DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options 	DDB_COMMANDONENTER="show event"
options 	DB_MAX_LINE=INT_MAX
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options 	BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?
#cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0		at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
arma9tmr0	at armperiph?		# A9 Global Timer
arma9wdt0	at armperiph? flags 1	# A9 Watchdog Timer

# ChipCommonA Peripherals
bcmcca0		at mainbus?		# ChipCommonA
#options 	CONADDR=0x18000300, CONSPEED=115200
options 	CONSPEED=9600
com0		at bcmcca? channel 0
com*		at bcmcca? channel 1

# ChipCommonB Peripherals
bcmccb0		at mainbus?		# ChipCommonB
bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
pci*		at bcmpax?
ppb*		at pci? dev ? function ?
pci*		at ppb?

ahcisata*	at pci? dev ? function ?
atabus* 	at ahcisata? channel ?
#options 	ATADEBUG
wd*		at atabus? drive ?
wm*		at pci? dev ? function ?
makphy*		at mii?
ukphy*		at mii?

bcmmdio0	at bcmccb0
bcmeth*		at bcmccb? port ?

# SDHC controllers
sdhc0		at bcmccb0
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?

# Random Number Generator
bcmrng0		at bcmccb0

# NAND controller
#bcmnand0	at bcmccb0

# NAND layer
#nand0		at nandbus?

# use the bad block table
#options NAND_BBT

# Define flash partitions for board
#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
#flash4		at nand0 offset 0x680000 size 0			# filesystem

# I2C Controller
bcmi2c0 	at bcmccb0
iic*		at bcmi2c?

# NAND Controller
bcmnand0	at bcmccb0
nand*		at nandbus?
flash*		at nand?

# Watchdog timers
#bcmwdt*	at bcmccb0

# On-board USB
bcmusb*		at bcmccb0
ohci*		at bcmusb0
usb*		at ohci?
ehci*		at bcmusb0
usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?

# USB Ethernet adapters
axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
pseudo-device	vlan
pseudo-device	bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	drvctl			# device control
pseudo-device	lockstat		# lock profiling
@


1.23.4.1
log
@Apply patch (requested by martin in ticket #182):
Remove "options DIAGNOSTIC" and "options DEBUG" from all kernels
and _DIAGNOSTIC from libc.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.23 2024/02/16 16:28:50 skrll Exp $
d131 2
a132 2
#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
@


1.22
log
@UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
  file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
  and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.21 2020/09/29 19:58:50 jmcneill Exp $
a22 1
options 	BCM53XX_CONSOLE_EARLY
d31 2
@


1.22.4.1
log
@Apply patch (requested by martin in ticket #401):
Disable DIAGNOSTIC/DEBUG.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.22 2022/08/07 02:52:25 simonb Exp $
d130 2
a131 2
#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
@


1.21
log
@Collapse all CPU_CORTEXA<n> options into CPU_CORTEX and do runtime
detection instead of ifdefs where required.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.20 2020/04/18 11:00:38 skrll Exp $
d56 2
d60 3
d64 1
a64 4
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
@


1.20
log
@PMAP_DEBUG has been deleted on arm
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.19 2019/08/11 19:34:04 skrll Exp $
d26 1
a26 1
options 	CPU_CORTEXA9
@


1.19
log
@Update for recent a9wdt changes
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.18 2018/10/23 19:58:52 jdolecek Exp $
d131 1
a131 1
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
a152 1
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
@


1.19.6.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.20 2020/04/18 11:00:38 skrll Exp $
d131 1
a131 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
d153 1
@


1.18
log
@remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.17 2018/07/14 15:09:41 maxv Exp $
d173 1
a173 1
a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer
@


1.18.4.1
log
@Pull up following revision(s) (requested by skrll in ticket #55):

	sys/arch/arm/cortex/a9wdt.c: revision 1.10
	sys/arch/evbarm/conf/HUMMINGBOARD: revision 1.9
	sys/arch/evbarm/conf/GENERIC: revision 1.50
	sys/arch/evbarm/conf/NITROGEN6X: revision 1.24
	sys/arch/arm/cortex/a9tmr_var.h: revision 1.7
	sys/arch/arm/fdt/files.fdt: revision 1.29
	sys/arch/arm/amlogic/meson_platform.c: revision 1.12
	sys/arch/arm/amlogic/meson8b_pinctrl.c: revision 1.2
	sys/arch/arm/amlogic/meson_platform.c: revision 1.13
	sys/arch/evbarm/conf/BCM5301X: revision 1.34
	sys/arch/arm/dts/meson8b.dtsi: revision 1.6
	sys/arch/arm/fdt/a9ptmr_fdt.c: revision 1.1
	sys/arch/arm/dts/meson8b.dtsi: revision 1.7
	sys/arch/arm/cortex/a9ptmr_var.h: revision 1.1
	sys/arch/evbarm/conf/PANDABOARD: revision 1.30
	sys/arch/evbarm/conf/DUOVERO: revision 1.14
	sys/arch/arm/cortex/a9ptmr.c: revision 1.1
	sys/arch/arm/cortex/a9ptmr.c: revision 1.2
	sys/arch/arm/fdt/a9wdt_fdt.c: revision 1.1
	sys/arch/evbarm/conf/BCM56340: revision 1.19
	sys/arch/evbarm/conf/CUBOX-I: revision 1.23
	sys/arch/arm/amlogic/meson8b_clkc.c: revision 1.4
	sys/arch/evbarm/conf/PARALLELLA: revision 1.7
	sys/arch/arm/cortex/files.cortex: revision 1.12
	sys/arch/arm/dts/meson8b-odroidc1.dts: revision 1.4
	sys/arch/arm/cortex/a9wdt.c: revision 1.9
	sys/arch/evbarm/conf/ZEDBOARD: revision 1.6

spaces to tab

 -

Add a driver for the A5/A9 Private timer.
While here FDTise the Watchdog driver.

 -

Update for recent a9wdt changes
 -

Trailing whitespace

 -
Updates to get Odroid-C1 in better shape since the last DTS import

 -

Various fixes / changes
- don't use prescaler
- improve AB_DEBUG output
- fix a9ptmr_delay to work with a decrementing counter!
Thanks to jmcneill@@ for proving I'm an idiot

 -

Add eth_rxd3 and eth_rxd2 pinctrl groups

 -

Catch up to recent mainline dts changes
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.18 2018/10/23 19:58:52 jdolecek Exp $
d173 1
a173 1
arma9wdt0	at armperiph? flags 1	# A9 Watchdog Timer
@


1.17
log
@Remove "options IPKDB", and the other associated options, from the config
files.

ipkdb is being retired. Its code is really old, and hasn't kept pace with
today's expectations: IPv6, SMP, modern NICs. The associated code for x86
was already removed because it was too incorrect to stay.

There are plans to rewrite a similar feature from scratch.

ok kamil christos
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.16 2018/07/12 10:46:43 maxv Exp $
a246 1
#wd*		at umass?
@


1.16
log
@Remove the kernel PMC code. Sent yesterday on tech-kern@@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.15 2018/06/05 08:03:28 hkenken Exp $
a131 1
#options 	IPKDB		# remote kernel debugging
@


1.15
log
@Rename ARM A9 Global Timer driver name to support fdt.

- Rename a9tmr to arma9tmr.
- Add a9tmr_fdt.c based gtmr_fdt.c.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.14 2017/09/14 07:58:40 mrg Exp $
a127 1
#options 	PERFCTRS	# performance counters
@


1.15.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.18 2018/10/23 19:58:52 jdolecek Exp $
d128 1
d133 1
d249 1
@


1.15.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d2 1
a2 1
#	$NetBSD$
d173 1
a173 1
arma9wdt0	at armperiph? flags 1	# A9 Watchdog Timer
@


1.15.2.3
log
@Sync with HEAD
@
text
@d131 1
a131 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
d153 1
@


1.14
log
@clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
  since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
  many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.13 2017/07/29 18:08:57 maxv Exp $
d174 1
a174 1
a9tmr0		at armperiph?		# A9 Global Timer
@


1.14.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.15 2018/06/05 08:03:28 hkenken Exp $
d174 1
a174 1
arma9tmr0	at armperiph?		# A9 Global Timer
@


1.14.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.17 2018/07/14 15:09:41 maxv Exp $
d128 1
d133 1
@


1.14.2.3
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.18 2018/10/23 19:58:52 jdolecek Exp $
d247 1
@


1.13
log
@Remove TCP_COMPAT_42 from the config files. Pass 3.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.12 2017/06/26 03:15:16 sevan Exp $
d88 1
a88 1
options		NFS_BOOT_RWSIZE=1024
d91 2
a92 18

options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#options 	COMPAT_43	# 4.3BSD compatibility.
#options 	COMPAT_09	# NetBSD 0.9,
#options 	COMPAT_10	# NetBSD 1.0,
#options 	COMPAT_11	# NetBSD 1.1,
#options 	COMPAT_12	# NetBSD 1.2,
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_20	# NetBSD 2.0,
options 	COMPAT_30	# NetBSD 3.0,
options 	COMPAT_40	# NetBSD 4.0,
options 	COMPAT_50	# NetBSD 5.0,
options 	COMPAT_60	# NetBSD 6.0, and
options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
d136 1
a136 1
options		DDB_ONPANIC=1
d159 1
a159 1
options		BOOT_ARGS="\"\""
@


1.12
log
@Add a heading to describe the class of device axe(4) is.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.11 2017/02/19 07:47:00 rin Exp $
a107 1
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
@


1.11
log
@PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.10 2015/08/07 13:53:28 maxv Exp $
d268 1
@


1.11.6.1
log
@Pull up following revision(s) (requested by sevan in ticket #72):
	sys/arch/evbarm/conf/GEMINI_SLAVE: revision 1.35
	sys/arch/evbarm/conf/N900: revision 1.24
	sys/arch/evbarm/conf/GOLDENGATE: revision 1.14
	sys/arch/evbarm/conf/GEMINI_MASTER: revision 1.34
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.43
	sys/arch/evbarm/conf/BCM56340: revision 1.12
	sys/arch/evbarm/conf/GEMINI: revision 1.34
	sys/arch/evbarm/conf/BEAGLEBOARDXM: revision 1.24
	sys/arch/evbarm/conf/BCM5301X: revision 1.27
	sys/arch/evbarm/conf/PANDABOARD: revision 1.22
Add a heading to describe the class of device axe(4) is.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.11 2017/02/19 07:47:00 rin Exp $
a267 1
# USB Ethernet adapters
@


1.10
log
@Remove KMEMSTATS.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.9 2014/08/24 07:59:22 jnemeth Exp $
d58 1
@


1.10.4.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.11 2017/02/19 07:47:00 rin Exp $
a57 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.10.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.11 2017/02/19 07:47:00 rin Exp $
a57 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.9
log
@Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.8 2014/08/23 20:26:57 dholland Exp $
a131 1
#options 	KMEMSTATS	# kernel memory statistics
@


1.9.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.10 2015/08/07 13:53:28 maxv Exp $
d132 1
@


1.9.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.9.2.1 2015/09/22 12:05:40 skrll Exp $
a57 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d107 1
a266 1
# USB Ethernet adapters
@


1.8
log
@Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.7 2014/08/18 06:31:24 christos Exp $
d130 1
@


1.7
log
@- Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.6 2014/08/17 21:17:43 joerg Exp $
d93 14
a106 14
options 	COMPAT_70	# NetBSD 7.0 compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
@


1.7.2.1
log
@file BCM56340 was added on branch tls-maxphys on 2014-08-20 00:02:53 +0000
@
text
@d1 292
@


1.7.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 290
#
#	$NetBSD$
#
#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#

include	"arch/evbarm/conf/std.bcm53xx"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#makeoptions	DEFCOPTS="-O0"
options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
options 	BCM53XX_CONSOLE_EARLY
options 	BCMETH_COUNTERS
#options 	MULTIPROCESSOR
options 	CPU_CORTEXA9
#options 	MEMSIZE=256
options 	BCM563XX
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
makeoptions	KERNEL_BASE_PHYS="0x60100000"

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT

# Miscellaneous kernel options
options 	MODULAR		# support dynamically loaded kernel modules
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
options 	RNDVERBOSE	# Verbose rnd messages
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#options 	LOCKDEBUG	# Enable lock debugging
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options 	DDB_COMMANDONENTER="show event"
options 	DB_MAX_LINE=INT_MAX
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=590000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?
#cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0		at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
a9tmr0		at armperiph?		# A9 Global Timer
a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer

# ChipCommonA Peripherals
bcmcca0		at mainbus?		# ChipCommonA
#options 	CONADDR=0x18000300, CONSPEED=115200
options 	CONSPEED=9600
com0		at bcmcca? channel 0
com*		at bcmcca? channel 1

# ChipCommonB Peripherals
bcmccb0		at mainbus?		# ChipCommonB
bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
pci*		at bcmpax?
ppb*		at pci? dev ? function ?
pci*		at ppb?

ahcisata*	at pci? dev ? function ?
atabus* 	at ahcisata? channel ?
#options 	ATADEBUG
wd*		at atabus? drive ?
wm*		at pci? dev ? function ?
makphy*		at mii?
ukphy*		at mii?

bcmmdio0	at bcmccb0
bcmeth*		at bcmccb? port ?

# SDHC controllers
sdhc0		at bcmccb0
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?

# Random Number Generator
bcmrng0		at bcmccb0

# NAND controller
#bcmnand0	at bcmccb0

# NAND layer
#nand0		at nandbus?

# use the bad block table
#options NAND_BBT

# Define flash partitions for board
#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
#flash4		at nand0 offset 0x680000 size 0			# filesystem

# I2C Controller
bcmi2c0 	at bcmccb0
iic*		at bcmi2c?

# NAND Controller
bcmnand0	at bcmccb0
nand*		at nandbus?
flash*		at nand?

# Watchdog timers
#bcmwdt*	at bcmccb0

# On-board USB
bcmusb*		at bcmccb0
ohci*		at bcmusb0
usb*		at ohci?
ehci*		at bcmusb0
usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?
#wd*		at umass?

axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
pseudo-device	vlan
pseudo-device	bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	drvctl			# device control
pseudo-device	lockstat		# lock profiling
@


1.7.2.3
log
@update from HEAD
@
text
@a57 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d87 1
a87 1
options 	NFS_BOOT_RWSIZE=1024
d90 18
a107 2
include 	"conf/compat_netbsd30.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d123 2
a124 3
# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
a127 1
options 	MODULAR_DEFAULT_AUTOLOAD
d129 1
d150 1
a150 1
options 	DDB_ONPANIC=1
d156 1
a156 1
makeoptions	COPY_SYMTAB=1
d173 1
a173 1
options 	BOOT_ARGS="\"\""
a264 1
# USB Ethernet adapters
@


1.6
log
@Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.5 2014/08/16 17:56:31 apb Exp $
d124 3
a126 2
options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT
@


1.5
log
@Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.4 2014/08/03 08:53:56 martin Exp $
d157 1
a157 1
options 	SYMTAB_SPACE=590000
@


1.4
log
@Add COMPAT_NETBSD32, following the switch to eabi by default.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.3 2014/07/27 03:34:41 dholland Exp $
d93 1
@


1.4.2.1
log
@Pull up following revision(s) (requested by jnemeth in ticket #762):
	share/man/man4/options.4: revision 1.442
	sys/arch/amd64/conf/ALL: revision 1.18
	sys/arch/amd64/conf/GENERIC: revision 1.396
	sys/arch/dreamcast/conf/GENERIC: revision 1.119
	sys/arch/epoc32/conf/GENERIC: revision 1.6
	sys/arch/evbarm/conf/BCM5301X: revision 1.24
	sys/arch/evbarm/conf/BCM56340: revision 1.9
	sys/arch/evbarm/conf/IMX23_OLINUXINO: revision 1.9
	sys/arch/evbarm/conf/std.beagle: revision 1.13
	sys/arch/evbarm/conf/std.kobo: revision 1.2
	sys/arch/evbarm/conf/std.netwalker: revision 1.10
	sys/arch/evbppc/conf/P2020DS: revision 1.25
	sys/arch/evbppc/conf/RB800: revision 1.30
	sys/arch/evbppc/conf/TWRP1025: revision 1.18
	sys/arch/hp300/conf/GENERIC: revision 1.187
	sys/arch/hpcsh/conf/GENERIC: revision 1.104
	sys/arch/i386/conf/GENERIC: revision 1.1111
	sys/arch/i386/conf/MONOLITHIC: revision 1.17
	sys/arch/landisk/conf/GENERIC: revision 1.43
	sys/arch/luna68k/conf/GENERIC: revision 1.117
	sys/arch/macppc/conf/GENERIC: revision 1.316
	sys/arch/macppc/conf/GENERIC_601: revision 1.5
	sys/arch/mmeye/conf/MMEYE_WLF: revision 1.16
	sys/arch/news68k/conf/GENERIC: revision 1.123
	sys/arch/sandpoint/conf/GENERIC: revision 1.85
	sys/arch/shark/conf/GENERIC: revision 1.119
	sys/arch/sparc/conf/GENERIC: revision 1.246
	sys/arch/sparc64/conf/GENERIC: revision 1.174
	sys/arch/sun3/conf/GENERIC3X: revision 1.125
	sys/arch/sun3/conf/GENERIC: revision 1.169
	sys/arch/x68k/conf/GENERIC: revision 1.177
	sys/arch/zaurus/conf/GENERIC: revision 1.62
	sys/conf/files: revision 1.1099
	sys/kern/kern_module.c: revisions 1.98, 1.99
Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
--
fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/)
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.4 2014/08/03 08:53:56 martin Exp $
a127 1
options 	MODULAR_DEFAULT_AUTOLOAD
@


1.3
log
@"internally consistency checks" -> "internal consistency checks"
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.2 2014/02/21 22:31:58 matt Exp $
d91 1
@


1.2
log
@Rearrange KERNEL_BASE_PHYS
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.1 2013/10/28 22:35:07 matt Exp $
d142 1
a142 1
options 	DIAGNOSTIC	# internally consistency checks
@


1.2.2.1
log
@Rebase.
@
text
@d2 1
a2 1
#	$NetBSD: BCM56340,v 1.4 2014/08/03 08:53:56 martin Exp $
a90 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d142 1
a142 1
options 	DIAGNOSTIC	# internal consistency checks
@


1.2.6.1
log
@file BCM56340 was added on branch yamt-pagecache on 2014-05-22 11:39:40 +0000
@
text
@d1 289
@


1.2.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 289
#
#	$NetBSD$
#
#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#

include	"arch/evbarm/conf/std.bcm53xx"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#makeoptions	DEFCOPTS="-O0"
options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
options 	BCM53XX_CONSOLE_EARLY
options 	BCMETH_COUNTERS
#options 	MULTIPROCESSOR
options 	CPU_CORTEXA9
#options 	MEMSIZE=256
options 	BCM563XX
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
makeoptions	KERNEL_BASE_PHYS="0x60100000"

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT

# Miscellaneous kernel options
options 	MODULAR		# support dynamically loaded kernel modules
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
options 	RNDVERBOSE	# Verbose rnd messages
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#options 	LOCKDEBUG	# Enable lock debugging
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options 	DDB_COMMANDONENTER="show event"
options 	DB_MAX_LINE=INT_MAX
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=590000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?
#cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0		at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
a9tmr0		at armperiph?		# A9 Global Timer
a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer

# ChipCommonA Peripherals
bcmcca0		at mainbus?		# ChipCommonA
#options 	CONADDR=0x18000300, CONSPEED=115200
options 	CONSPEED=9600
com0		at bcmcca? channel 0
com*		at bcmcca? channel 1

# ChipCommonB Peripherals
bcmccb0		at mainbus?		# ChipCommonB
bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
pci*		at bcmpax?
ppb*		at pci? dev ? function ?
pci*		at ppb?

ahcisata*	at pci? dev ? function ?
atabus* 	at ahcisata? channel ?
#options 	ATADEBUG
wd*		at atabus? drive ?
wm*		at pci? dev ? function ?
makphy*		at mii?
ukphy*		at mii?

bcmmdio0	at bcmccb0
bcmeth*		at bcmccb? port ?

# SDHC controllers
sdhc0		at bcmccb0
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?

# Random Number Generator
bcmrng0		at bcmccb0

# NAND controller
#bcmnand0	at bcmccb0

# NAND layer
#nand0		at nandbus?

# use the bad block table
#options NAND_BBT

# Define flash partitions for board
#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
#flash4		at nand0 offset 0x680000 size 0			# filesystem

# I2C Controller
bcmi2c0 	at bcmccb0
iic*		at bcmi2c?

# NAND Controller
bcmnand0	at bcmccb0
nand*		at nandbus?
flash*		at nand?

# Watchdog timers
#bcmwdt*	at bcmccb0

# On-board USB
bcmusb*		at bcmccb0
ohci*		at bcmusb0
usb*		at ohci?
ehci*		at bcmusb0
usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?
#wd*		at umass?

axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
pseudo-device	vlan
pseudo-device	bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	drvctl			# device control
pseudo-device	lockstat		# lock profiling
@


1.2.4.1
log
@file BCM56340 was added on branch rmind-smpnet on 2014-05-18 17:45:03 +0000
@
text
@d1 289
@


1.2.4.2
log
@sync with head
@
text
@a0 289
#
#	$NetBSD$
#
#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#

include	"arch/evbarm/conf/std.bcm53xx"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#makeoptions	DEFCOPTS="-O0"
options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
options 	BCM53XX_CONSOLE_EARLY
options 	BCMETH_COUNTERS
#options 	MULTIPROCESSOR
options 	CPU_CORTEXA9
#options 	MEMSIZE=256
options 	BCM563XX
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
makeoptions	KERNEL_BASE_PHYS="0x60100000"

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT

# Miscellaneous kernel options
options 	MODULAR		# support dynamically loaded kernel modules
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
options 	RNDVERBOSE	# Verbose rnd messages
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#options 	LOCKDEBUG	# Enable lock debugging
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options 	DDB_COMMANDONENTER="show event"
options 	DB_MAX_LINE=INT_MAX
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=590000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?
#cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0		at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
a9tmr0		at armperiph?		# A9 Global Timer
a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer

# ChipCommonA Peripherals
bcmcca0		at mainbus?		# ChipCommonA
#options 	CONADDR=0x18000300, CONSPEED=115200
options 	CONSPEED=9600
com0		at bcmcca? channel 0
com*		at bcmcca? channel 1

# ChipCommonB Peripherals
bcmccb0		at mainbus?		# ChipCommonB
bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
pci*		at bcmpax?
ppb*		at pci? dev ? function ?
pci*		at ppb?

ahcisata*	at pci? dev ? function ?
atabus* 	at ahcisata? channel ?
#options 	ATADEBUG
wd*		at atabus? drive ?
wm*		at pci? dev ? function ?
makphy*		at mii?
ukphy*		at mii?

bcmmdio0	at bcmccb0
bcmeth*		at bcmccb? port ?

# SDHC controllers
sdhc0		at bcmccb0
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?

# Random Number Generator
bcmrng0		at bcmccb0

# NAND controller
#bcmnand0	at bcmccb0

# NAND layer
#nand0		at nandbus?

# use the bad block table
#options NAND_BBT

# Define flash partitions for board
#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
#flash4		at nand0 offset 0x680000 size 0			# filesystem

# I2C Controller
bcmi2c0 	at bcmccb0
iic*		at bcmi2c?

# NAND Controller
bcmnand0	at bcmccb0
nand*		at nandbus?
flash*		at nand?

# Watchdog timers
#bcmwdt*	at bcmccb0

# On-board USB
bcmusb*		at bcmccb0
ohci*		at bcmusb0
usb*		at ohci?
ehci*		at bcmusb0
usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?
#wd*		at umass?

axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
pseudo-device	vlan
pseudo-device	bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	drvctl			# device control
pseudo-device	lockstat		# lock profiling
@


1.1
log
@Support for the Broadcom BCM56340 iProc based switch.
@
text
@d2 1
a2 1
#	$NetBSD: BCM5301X,v 1.15 2013/06/30 21:38:56 rmind Exp $
d31 1
d155 1
a155 1
options 	SYMTAB_SPACE=575000
@


1.1.2.1
log
@file BCM56340 was added on branch matt-nb5-mips64 on 2014-02-15 16:18:37 +0000
@
text
@d1 288
@


1.1.2.2
log
@Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
@
text
@a0 289
#
#	$NetBSD: BCM56340,v 1.1 2013/10/28 22:35:07 matt Exp $
#
#	BCM5301X -- Broadcom BCM5301X Eval Board Kernel
#

include	"arch/evbarm/conf/std.bcm53xx"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#makeoptions	DEFCOPTS="-O0"
options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30
options 	BCM53XX_CONSOLE_EARLY
options 	BCMETH_COUNTERS
#options 	MULTIPROCESSOR
options 	CPU_CORTEXA9
#options 	MEMSIZE=256
options 	BCM563XX
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT

# Miscellaneous kernel options
options 	MODULAR		# support dynamically loaded kernel modules
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
options 	PCIVERBOSE	# Verbose PCI autoconfiguration messages
#options 	PCI_CONFIG_DUMP	# Verbose PCI autoconfiguration messages
options 	PCI_NETBSD_CONFIGURE # perform PCI configuration
options 	RNDVERBOSE	# Verbose rnd messages
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfiguration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#options 	LOCKDEBUG	# Enable lock debugging
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
options 	DDB_COMMANDONENTER="show event"
options 	DB_MAX_LINE=INT_MAX
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=575000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?
#cpu*		at mainbus?

# The MPCore interrupt controller and global timer
armperiph0	at mainbus?		# A9 On-Chip Peripherals
armgic0		at armperiph?		# ARM Generic Interrupt Controller
arml2cc0	at armperiph? flags 0	# ARM PL310 L2CC
a9tmr0		at armperiph?		# A9 Global Timer
a9wdt0		at armperiph? flags 1	# A9 Watchdog Timer

# ChipCommonA Peripherals
bcmcca0		at mainbus?		# ChipCommonA
#options 	CONADDR=0x18000300, CONSPEED=115200
options 	CONSPEED=9600
com0		at bcmcca? channel 0
com*		at bcmcca? channel 1

# ChipCommonB Peripherals
bcmccb0		at mainbus?		# ChipCommonB
bcmpax*		at bcmccb? port ? flags 2 # use bounce buffers
pci*		at bcmpax?
ppb*		at pci? dev ? function ?
pci*		at ppb?

ahcisata*	at pci? dev ? function ?
atabus* 	at ahcisata? channel ?
#options 	ATADEBUG
wd*		at atabus? drive ?
wm*		at pci? dev ? function ?
makphy*		at mii?
ukphy*		at mii?

bcmmdio0	at bcmccb0
bcmeth*		at bcmccb? port ?

# SDHC controllers
sdhc0		at bcmccb0
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?

# Random Number Generator
bcmrng0		at bcmccb0

# NAND controller
#bcmnand0	at bcmccb0

# NAND layer
#nand0		at nandbus?

# use the bad block table
#options NAND_BBT

# Define flash partitions for board
#flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # X-Loader
#flash1		at nand0 offset 0x080000 size 0x1e0000 readonly 1 # U-Boot
#flash2		at nand0 offset 0x260000 size 0x020000 readonly 1 # UB Env
#flash3		at nand0 offset 0x280000 size 0x400000		# kernel
#flash4		at nand0 offset 0x680000 size 0			# filesystem

# I2C Controller
bcmi2c0 	at bcmccb0
iic*		at bcmi2c?

# NAND Controller
bcmnand0	at bcmccb0
nand*		at nandbus?
flash*		at nand?

# Watchdog timers
#bcmwdt*	at bcmccb0

# On-board USB
bcmusb*		at bcmccb0
ohci*		at bcmusb0
usb*		at ohci?
ehci*		at bcmusb0
usb*		at ehci?
uhub*		at usb?
uhub*		at uhub? port ?
umass*		at uhub? port ? configuration ? interface ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?
#wd*		at umass?

axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback
pseudo-device	vlan
pseudo-device	bridge

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	rnd			# pseudo-random numbers
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	drvctl			# device control
pseudo-device	lockstat		# lock profiling
@


