head	1.10;
access;
symbols
	perseant-exfatfs-base-20250801:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.2
	perseant-exfatfs-base:1.10
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.6.4.1
	bouyer-sunxi-drm:1.9.0.18
	bouyer-sunxi-drm-base:1.9
	netbsd-9-3-RELEASE:1.6.4.1
	thorpej-i2c-spi-conf2:1.9.0.16
	thorpej-i2c-spi-conf2-base:1.9
	thorpej-futex2:1.9.0.14
	thorpej-futex2-base:1.9
	thorpej-cfargs2:1.9.0.12
	thorpej-cfargs2-base:1.9
	cjep_sun2x-base1:1.9
	cjep_sun2x:1.9.0.10
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	netbsd-9-2-RELEASE:1.6.4.1
	cjep_staticlib_x:1.9.0.8
	cjep_staticlib_x-base:1.9
	thorpej-i2c-spi-conf:1.9.0.6
	thorpej-i2c-spi-conf-base:1.9
	thorpej-cfargs:1.9.0.4
	thorpej-cfargs-base:1.9
	thorpej-futex:1.9.0.2
	thorpej-futex-base:1.9
	netbsd-9-1-RELEASE:1.6.4.1
	bouyer-xenpvh-base2:1.8
	phil-wifi-20200421:1.8
	bouyer-xenpvh-base1:1.8
	phil-wifi-20200411:1.7
	bouyer-xenpvh:1.7.0.6
	bouyer-xenpvh-base:1.7
	is-mlppp:1.7.0.4
	is-mlppp-base:1.7
	phil-wifi-20200406:1.7
	netbsd-8-2-RELEASE:1.2
	ad-namecache-base3:1.7
	netbsd-9-0-RELEASE:1.6.4.1
	netbsd-9-0-RC2:1.6.4.1
	ad-namecache-base2:1.7
	ad-namecache-base1:1.7
	ad-namecache:1.7.0.2
	ad-namecache-base:1.7
	netbsd-9-0-RC1:1.6.4.1
	phil-wifi-20191119:1.7
	netbsd-9:1.6.0.4
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	isaki-audio2:1.6.0.2
	isaki-audio2-base:1.6
	pgoyette-compat-merge-20190127:1.3.4.2
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.2.2.2
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.4.0.2
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	netbsd-7-1-2-RELEASE:1.2.2.2
	pgoyette-compat:1.3.0.4
	pgoyette-compat-base:1.3
	netbsd-7-1-1-RELEASE:1.2.2.2
	tls-maxphys:1.3.0.2
	tls-maxphys-base-20171202:1.3
	matt-nb8-mediatek:1.2.0.16
	matt-nb8-mediatek-base:1.2
	nick-nhusb-base-20170825:1.2
	perseant-stdc-iso10646:1.2.0.14
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.12
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.10
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	jdolecek-ncq:1.2.0.8
	jdolecek-ncq-base:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.2.2.0.6
	netbsd-7-1-RELEASE:1.2.2.2
	netbsd-7-1-RC2:1.2.2.2
	nick-nhusb-base-20170204:1.2
	netbsd-7-nhusb-base-20170116:1.2.2.2
	bouyer-socketcan:1.2.0.6
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2.2.2
	nick-nhusb-base-20161204:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2.2.2
	nick-nhusb-base-20161004:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.2.2.0.4
	netbsd-7-nhusb-base:1.2.2.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.4
	pgoyette-localcount-base:1.2
	nick-nhusb-base-20160907:1.2
	nick-nhusb-base-20160529:1.2
	netbsd-7-0-1-RELEASE:1.2.2.2
	nick-nhusb-base-20160422:1.2
	nick-nhusb-base-20160319:1.2
	nick-nhusb-base-20151226:1.2
	netbsd-7-0:1.2.2.2.0.2
	netbsd-7-0-RELEASE:1.2.2.2
	nick-nhusb-base-20150921:1.2
	netbsd-7-0-RC3:1.2.2.2
	netbsd-7-0-RC2:1.2.2.2
	netbsd-7-0-RC1:1.2.2.2
	nick-nhusb-base-20150606:1.2
	netbsd-7:1.2.0.2
	nick-nhusb:1.1.0.2
	nick-nhusb-base-20150406:1.1;
locks; strict;
comment	@# @;


1.10
date	2022.10.28.20.37.04;	author jmcneill;	state dead;
branches;
next	1.9;
commitid	NabqIhGnJEFbHwZD;

1.9
date	2020.09.29.19.58.50;	author jmcneill;	state Exp;
branches;
next	1.8;
commitid	mHlbrdCG5hVISYpC;

1.8
date	2020.04.18.11.00.38;	author skrll;	state Exp;
branches;
next	1.7;
commitid	2zaZE9PO9gJXaR4C;

1.7
date	2019.08.11.19.34.04;	author skrll;	state Exp;
branches
	1.7.6.1;
next	1.6;
commitid	99Pviq3UBUnj5EyB;

1.6
date	2019.02.06.11.58.30;	author rin;	state Exp;
branches
	1.6.4.1;
next	1.5;
commitid	5Lq3lTxgmkkMwHaB;

1.5
date	2018.10.18.09.01.53;	author skrll;	state Exp;
branches;
next	1.4;
commitid	0r6pPkie0NRL4qWA;

1.4
date	2018.06.05.08.03.28;	author hkenken;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	aErRAE50OFgr94FA;

1.3
date	2017.11.25.04.53.24;	author christos;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;
commitid	dKBuTpGGax5LgngA;

1.2
date	2015.04.10.10.58.07;	author hkenken;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	8M8ef0BWv8cb92hy;

1.1
date	2015.01.23.12.34.09;	author hkenken;	state Exp;
branches
	1.1.2.1;
next	;
commitid	8qH4SQRVyckz997y;

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

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

1.4.2.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	1.4.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.4.2.2
date	2020.04.13.08.03.42;	author martin;	state Exp;
branches;
next	1.4.2.3;
commitid	X01YhRUPVUDaec4C;

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

1.3.2.1
date	2017.11.25.04.53.24;	author jdolecek;	state dead;
branches;
next	1.3.2.2;
commitid	XcIYRZTAh1LmerhA;

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

1.3.4.1
date	2018.06.25.07.25.40;	author pgoyette;	state Exp;
branches;
next	1.3.4.2;
commitid	8PtAu9af7VvhiDHA;

1.3.4.2
date	2018.10.20.06.58.27;	author pgoyette;	state Exp;
branches;
next	;
commitid	mTSoqZEZ4arHnFWA;

1.2.2.1
date	2015.04.10.10.58.07;	author msaitoh;	state dead;
branches;
next	1.2.2.2;
commitid	1AAwci6rxEcea1ly;

1.2.2.2
date	2015.05.11.11.00.33;	author msaitoh;	state Exp;
branches;
next	;
commitid	1AAwci6rxEcea1ly;

1.1.2.1
date	2015.01.23.12.34.09;	author skrll;	state dead;
branches;
next	1.1.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.1.2.2
date	2015.04.06.15.17.55;	author skrll;	state Exp;
branches;
next	1.1.2.3;
commitid	pz01Zhy7RP6iGxgy;

1.1.2.3
date	2015.06.06.14.39.58;	author skrll;	state Exp;
branches;
next	;
commitid	O6LVO5i6UulOvnoy;


desc
@@


1.10
log
@Retire PARALLELLA and ZEDBOARD kernel configs.

The Zynq-7000 port has been converted to Devicetree and is supported
by the GENERIC kernel now.
@
text
@#
#	$NetBSD: PARALLELLA,v 1.9 2020/09/29 19:58:50 jmcneill Exp $
#
#	Parallella -- Xilinx Zynq Eval Board Kernel
#

include	"arch/evbarm/conf/std.zynq"
include "arch/evbarm/conf/files.parallella"
include	"arch/evbarm/conf/GENERIC.common"

# CPU options

makeoptions	BOARDTYPE="parallella"
options 	EVBARM_BOARDTYPE=parallella

options 	ZYNQ7000
options 	ZYNQ7010
options 	MULTIPROCESSOR
options 	CPU_CORTEX
options		MEMSIZE=1024

# Architecture options

# Console options.    also need IMXUARTCONSOLE
#options 	VERBOSE_INIT_ARM
options 	EARLYCONS=zynq
options 	CONSDEVNAME="\"zynquart\"",CONADDR=0xe0001000
options 	CONSPEED=115200	# Console speed

#options         DIAGNOSTIC      # internal consistency checks
#options        DEBUG
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

# 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="\"verbose\""

# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?
#config		netbsd-sd0	root on sd0 type ffs

#
# Device configuration
#

mainbus0	at root

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 0	# A9 Watchdog Timer

axi0		at mainbus?

# System Level Control Module
zynqslcr0	at axi? addr 0xf8000000

# UART
zynquart0	at axi? addr 0xe0000000 irq 59
zynquart1	at axi? addr 0xe0001000 irq 82
options		ZYNQUARTCONSOLE

# SD/MMC
#sdhc0    	at axi? addr 0xe0100000 irq 56	     # SDIO0
sdhc1   	at axi? addr 0xe0101000 irq 79	     # SDIO1
sdmmc*		at sdhc?
ld*		at sdmmc?			# MMC/SD card
#options 	SDHC_DEBUG
#options 	SDMMC_DEBUG

# USB Host/Device/OTG
ehci0		at axi? addr 0xe0002000 irq 53
#ehci1		at axi? addr 0xe0003000 irq 76

usb*		at ehci?

# USB device drivers
include "dev/usb/usbdevices.config"

midi*		at midibus?

cemac0		at axi? addr 0xe000b000 irq 54
#cemac1		at axi? addr 0xe000c000 irq 77

# MII/PHY support
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

cinclude "arch/evbarm/conf/PARALLELLA.local"
@


1.9
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: PARALLELLA,v 1.8 2020/04/18 11:00:38 skrll Exp $
@


1.8
log
@PMAP_DEBUG has been deleted on arm
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.7 2019/08/11 19:34:04 skrll Exp $
a19 1
options 	CPU_CORTEXA9
@


1.7
log
@Update for recent a9wdt changes
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.6 2019/02/06 11:58:30 rin Exp $
a40 1
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
@


1.7.6.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.8 2020/04/18 11:00:38 skrll Exp $
d41 1
@


1.6
log
@Add ure(4) to kernel config files. Also add PHY drivers where necessary.
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.5 2018/10/18 09:01:53 skrll Exp $
d64 1
a64 1
#a9wdt0		at armperiph? flags 0	# A9 Watchdog Timer
@


1.6.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: PARALLELLA,v 1.6 2019/02/06 11:58:30 rin Exp $
d64 1
a64 1
#arma9wdt0	at armperiph? flags 0	# A9 Watchdog Timer
@


1.5
log
@Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@@ and aymeric@@ for testing on parallella and nanosoc
respectively
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.4 2018/06/05 08:03:28 hkenken Exp $
d100 2
@


1.4
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: PARALLELLA,v 1.3 2017/11/25 04:53:24 christos Exp $
d26 2
@


1.4.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.6 2019/02/06 11:58:30 rin Exp $
a25 2
#options 	VERBOSE_INIT_ARM
options 	EARLYCONS=zynq
a97 2
rgephy*	at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
@


1.4.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d2 1
a2 1
#	$NetBSD$
d64 1
a64 1
#arma9wdt0	at armperiph? flags 0	# A9 Watchdog Timer
@


1.4.2.3
log
@Sync with HEAD
@
text
@d41 1
@


1.3
log
@comment out duplicate options and unknown devices
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.2 2015/04/10 10:58:07 hkenken Exp $
d61 1
a61 1
a9tmr0		at armperiph?		# A9 Global Timer
@


1.3.4.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.4 2018/06/05 08:03:28 hkenken Exp $
d61 1
a61 1
arma9tmr0	at armperiph?		# A9 Global Timer
@


1.3.4.2
log
@Sync with head
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.5 2018/10/18 09:01:53 skrll Exp $
a25 2
#options 	VERBOSE_INIT_ARM
options 	EARLYCONS=zynq
@


1.3.2.1
log
@file PARALLELLA was added on branch tls-maxphys on 2017-12-03 11:36:03 +0000
@
text
@d1 100
@


1.3.2.2
log
@update from HEAD
@
text
@a0 100
#
#	$NetBSD$
#
#	Parallella -- Xilinx Zynq Eval Board Kernel
#

include	"arch/evbarm/conf/std.zynq"
include "arch/evbarm/conf/files.parallella"
include	"arch/evbarm/conf/GENERIC.common"

# CPU options

makeoptions	BOARDTYPE="parallella"
options 	EVBARM_BOARDTYPE=parallella

options 	ZYNQ7000
options 	ZYNQ7010
options 	MULTIPROCESSOR
options 	CPU_CORTEX
options 	CPU_CORTEXA9
options		MEMSIZE=1024

# Architecture options

# Console options.    also need IMXUARTCONSOLE
options 	CONSDEVNAME="\"zynquart\"",CONADDR=0xe0001000
options 	CONSPEED=115200	# Console speed

#options         DIAGNOSTIC      # internal consistency checks
#options        DEBUG
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

# 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="\"verbose\""

# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?
#config		netbsd-sd0	root on sd0 type ffs

#
# Device configuration
#

mainbus0	at root

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 0	# A9 Watchdog Timer

axi0		at mainbus?

# System Level Control Module
zynqslcr0	at axi? addr 0xf8000000

# UART
zynquart0	at axi? addr 0xe0000000 irq 59
zynquart1	at axi? addr 0xe0001000 irq 82
options		ZYNQUARTCONSOLE

# SD/MMC
#sdhc0    	at axi? addr 0xe0100000 irq 56	     # SDIO0
sdhc1   	at axi? addr 0xe0101000 irq 79	     # SDIO1
sdmmc*		at sdhc?
ld*		at sdmmc?			# MMC/SD card
#options 	SDHC_DEBUG
#options 	SDMMC_DEBUG

# USB Host/Device/OTG
ehci0		at axi? addr 0xe0002000 irq 53
#ehci1		at axi? addr 0xe0003000 irq 76

usb*		at ehci?

# USB device drivers
include "dev/usb/usbdevices.config"

midi*		at midibus?

cemac0		at axi? addr 0xe000b000 irq 54
#cemac1		at axi? addr 0xe000c000 irq 77

# MII/PHY support
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

cinclude "arch/evbarm/conf/PARALLELLA.local"
@


1.2
log
@include	"GENERIC.common"
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.1 2015/01/23 12:34:09 hkenken Exp $
d29 1
a29 1
options         DIAGNOSTIC      # internal consistency checks
@


1.2.2.1
log
@file PARALLELLA was added on branch netbsd-7 on 2015-05-11 11:00:33 +0000
@
text
@d1 100
@


1.2.2.2
log
@Pull up following revision(s) (requested by nonaka in ticket #751):
	sys/arch/arm/zynq/zynq_axi.c: revision 1.1
	sys/arch/evbarm/conf/files.zynq: revision 1.1
	sys/arch/arm/zynq/zynq_uart.c: revision 1.1
	sys/arch/evbarm/zynq/genassym.cf: revision 1.1
	sys/arch/evbarm/zynq/zynq_start.S: revision 1.1
	sys/arch/arm/zynq/zynq_slcrreg.h: revision 1.1
	sys/arch/arm/zynq/zynq_usbreg.h: revision 1.1
	sys/arch/arm/zynq/zynq7000_uart.c: revision 1.1
	sys/arch/arm/zynq/zynq7000_sdhc.c: revision 1.1
	sys/arch/arm/zynq/zynq_slcrvar.h: revision 1.1
	sys/arch/arm/zynq/zynq_usbvar.h: revision 1.1
	sys/arch/evbarm/conf/PARALLELLA_INSTALL: revision 1.1
	sys/arch/arm/zynq/zynq_uartreg.h: revision 1.1
	sys/arch/evbarm/zynq/platform.h: revision 1.1
	sys/arch/evbarm/conf/mk.zynq: revision 1.1
	sys/arch/evbarm/conf/files.zedboard: revision 1.1
	sys/arch/arm/zynq/zynq7000_usb.c: revision 1.1
	sys/dev/cadence/if_cemacvar.h: revision 1.1
	sys/arch/arm/zynq/files.zynq: revision 1.1
	sys/arch/arm/zynq/zynq_slcr.c: revision 1.1
	sys/arch/arm/zynq/zynq7000_intr.h: revision 1.1
	sys/arch/arm/conf/majors.arm32: revision 1.36
	sys/arch/arm/zynq/zynq_uartvar.h: revision 1.1
	sys/arch/evbarm/conf/files.parallella: revision 1.1
	sys/arch/arm/zynq/zynq_space.c: revision 1.1
	sys/dev/cadence/if_cemac.c: revision 1.1
	sys/arch/evbarm/conf/PARALLELLA: revision 1.1
	sys/arch/arm/zynq/zynq7000_board.c: revision 1.1
	sys/arch/evbarm/Makefile: revision 1.10
	sys/arch/evbarm/zynq/zynq_machdep.c: revision 1.1
	sys/arch/arm/zynq/zynq7000_reg.h: revision 1.1
	sys/arch/evbarm/conf/ZEDBOARD: revision 1.1
	sys/dev/cadence/cemacreg.h: revision 1.1
	sys/arch/evbarm/conf/std.zynq: revision 1.1
	sys/arch/arm/zynq/zynq_dma.c: revision 1.1
	sys/arch/arm/zynq/zynq_cemac.c: revision 1.1
	sys/arch/arm/zynq/zynq7000_var.h: revision 1.1
	sys/arch/evbarm/conf/ZEDBOARD_INSTALL: revision 1.1
	sys/arch/arm/zynq/zynq_usb.c: revision 1.1
Initial Zynq (Xilinx) support
Add support for ZedBoard evaluation board and Parallella board.
* cemac(4) Cadence EMAC/GEM(Gigabit) Ethernet Controller driver
  based on at91emac
@
text
@a0 293
#
#	$NetBSD: PARALLELLA,v 1.1 2015/01/23 12:34:09 hkenken Exp $
#
#	Parallella -- Xilinx Zynq Eval Board Kernel
#

include	"arch/evbarm/conf/std.zynq"
include "arch/evbarm/conf/files.parallella"

# estimated number of users

maxusers	32

# CPU options

makeoptions	BOARDTYPE="parallella"
options 	EVBARM_BOARDTYPE=parallella

options 	ZYNQ7000
options 	ZYNQ7010
options 	MULTIPROCESSOR
options 	CPU_CORTEX
options 	CPU_CORTEXA9
options		MEMSIZE=1024
options 	PMAPCOUNTERS

#makeoptions	DEFCOPTS="-O0"
#options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

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

# Architecture options

# File systems
file-system	FFS		# UFS
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	TMPFS		# Efficient memory file-system
file-system	EXT2FS		# second extended file system (linux)
file-system	LFS		# log-structured file system
file-system	NTFS		# Windows/NT file system (experimental)
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	OVERLAY		# overlay file system
file-system	PROCFS		# /proc
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	UMAPFS		# NULLFS + uid and gid remapping
file-system	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/ptm support
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
#file-system	HFS		# experimental - Apple HFS+ (read-only)
#file-system	NILFS		# experimental - NTT's NiLFS(2)

# File system options
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#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_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#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_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 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
#options 	COMPAT_NDIS	# NDIS network driver
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

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

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
#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 	USBVERBOSE	# verbose USB device autoconfig 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)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	NO_POWERSAVE	# uncomment this to run under ICE

# 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_VERBOSE_HELP
options 	DDB_COMMANDONENTER="bt"
options 	DB_MAX_LINE=INT_MAX

# Console options.    also need IMXUARTCONSOLE
options 	CONSDEVNAME="\"zynquart\"",CONADDR=0xe0001000
options 	CONSPEED=115200	# Console speed

#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
#  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="\"verbose\""

# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?
#config		netbsd-sd0	root on sd0 type ffs

#
# Device configuration
#

mainbus0	at root

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 0	# A9 Watchdog Timer

axi0		at mainbus?

# System Level Control Module
zynqslcr0	at axi? addr 0xf8000000

# UART
zynquart0	at axi? addr 0xe0000000 irq 59
zynquart1	at axi? addr 0xe0001000 irq 82
options		ZYNQUARTCONSOLE

# SD/MMC
#sdhc0    	at axi? addr 0xe0100000 irq 56	     # SDIO0
sdhc1   	at axi? addr 0xe0101000 irq 79	     # SDIO1
sdmmc*		at sdhc?
ld*		at sdmmc?			# MMC/SD card
#options 	SDHC_DEBUG
#options 	SDMMC_DEBUG

# USB Host/Device/OTG
ehci0		at axi? addr 0xe0002000 irq 53
#ehci1		at axi? addr 0xe0003000 irq 76

usb*		at ehci?

# USB device drivers
include "dev/usb/usbdevices.config"

midi*		at midibus?

cemac0		at axi? addr 0xe000b000 irq 54
#cemac1		at axi? addr 0xe000c000 irq 77

# MII/PHY support
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# Pseudo-Devices

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

# 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	lockstat		# lock profiling

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda			# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester
@


1.1
log
@Initial Zynq (Xilinx) support
Add support for ZedBoard evaluation board and Parallella board.
* cemac(4) Cadence EMAC/GEM(Gigabit) Ethernet Controller driver
  based on at91emac
@
text
@d2 1
a2 1
#	$NetBSD$
d9 1
a9 4

# estimated number of users

maxusers	32
a21 12
options 	PMAPCOUNTERS

#makeoptions	DEFCOPTS="-O0"
#options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop
a24 145
# File systems
file-system	FFS		# UFS
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	TMPFS		# Efficient memory file-system
file-system	EXT2FS		# second extended file system (linux)
file-system	LFS		# log-structured file system
file-system	NTFS		# Windows/NT file system (experimental)
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	OVERLAY		# overlay file system
file-system	PROCFS		# /proc
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	UMAPFS		# NULLFS + uid and gid remapping
file-system	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/ptm support
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
#file-system	HFS		# experimental - Apple HFS+ (read-only)
#file-system	NILFS		# experimental - NTT's NiLFS(2)

# File system options
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#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_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#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_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 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
#options 	COMPAT_NDIS	# NDIS network driver
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

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

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
#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 	USBVERBOSE	# verbose USB device autoconfig 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)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	NO_POWERSAVE	# uncomment this to run under ICE

# 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_VERBOSE_HELP
options 	DDB_COMMANDONENTER="bt"
options 	DB_MAX_LINE=INT_MAX

d29 2
a34 7
## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


d100 1
a100 29
# Pseudo-Devices

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

# 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	lockstat		# lock profiling

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda			# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester
@


1.1.2.1
log
@file PARALLELLA was added on branch nick-nhusb on 2015-04-06 15:17:55 +0000
@
text
@d1 293
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 293
#
#	$NetBSD: PARALLELLA,v 1.1 2015/01/23 12:34:09 hkenken Exp $
#
#	Parallella -- Xilinx Zynq Eval Board Kernel
#

include	"arch/evbarm/conf/std.zynq"
include "arch/evbarm/conf/files.parallella"

# estimated number of users

maxusers	32

# CPU options

makeoptions	BOARDTYPE="parallella"
options 	EVBARM_BOARDTYPE=parallella

options 	ZYNQ7000
options 	ZYNQ7010
options 	MULTIPROCESSOR
options 	CPU_CORTEX
options 	CPU_CORTEXA9
options		MEMSIZE=1024
options 	PMAPCOUNTERS

#makeoptions	DEFCOPTS="-O0"
#options 	UVMHIST
#options 	UVMHIST_PRINT,A9WDT_PERIOD_DEFAULT=30

# Standard system options

options 	INSECURE	# disable kernel security levels - X needs this

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

# Architecture options

# File systems
file-system	FFS		# UFS
file-system	MFS		# memory file system
file-system	NFS		# Network File System client
file-system	TMPFS		# Efficient memory file-system
file-system	EXT2FS		# second extended file system (linux)
file-system	LFS		# log-structured file system
file-system	NTFS		# Windows/NT file system (experimental)
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	OVERLAY		# overlay file system
file-system	PROCFS		# /proc
file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	UMAPFS		# NULLFS + uid and gid remapping
file-system	UNION		# union file system
file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/ptm support
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
#file-system	HFS		# experimental - Apple HFS+ (read-only)
#file-system	NILFS		# experimental - NTT's NiLFS(2)

# File system options
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
# Note that UFS_DIRHASH is suspected of causing kernel memory corruption.
# It is not recommended for general use.
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.
#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_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#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_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 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
#options 	COMPAT_NDIS	# NDIS network driver
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

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

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
#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 	USBVERBOSE	# verbose USB device autoconfig 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)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	NO_POWERSAVE	# uncomment this to run under ICE

# 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_VERBOSE_HELP
options 	DDB_COMMANDONENTER="bt"
options 	DB_MAX_LINE=INT_MAX

# Console options.    also need IMXUARTCONSOLE
options 	CONSDEVNAME="\"zynquart\"",CONADDR=0xe0001000
options 	CONSPEED=115200	# Console speed

#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
#  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="\"verbose\""

# Kernel root file system and dump configuration.
config		netbsd		root on ? type ?
#config		netbsd-sd0	root on sd0 type ffs

#
# Device configuration
#

mainbus0	at root

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 0	# A9 Watchdog Timer

axi0		at mainbus?

# System Level Control Module
zynqslcr0	at axi? addr 0xf8000000

# UART
zynquart0	at axi? addr 0xe0000000 irq 59
zynquart1	at axi? addr 0xe0001000 irq 82
options		ZYNQUARTCONSOLE

# SD/MMC
#sdhc0    	at axi? addr 0xe0100000 irq 56	     # SDIO0
sdhc1   	at axi? addr 0xe0101000 irq 79	     # SDIO1
sdmmc*		at sdhc?
ld*		at sdmmc?			# MMC/SD card
#options 	SDHC_DEBUG
#options 	SDMMC_DEBUG

# USB Host/Device/OTG
ehci0		at axi? addr 0xe0002000 irq 53
#ehci1		at axi? addr 0xe0003000 irq 76

usb*		at ehci?

# USB device drivers
include "dev/usb/usbdevices.config"

midi*		at midibus?

cemac0		at axi? addr 0xe000b000 irq 54
#cemac1		at axi? addr 0xe000c000 irq 77

# MII/PHY support
makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# Pseudo-Devices

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

# 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	lockstat		# lock profiling

# a pseudo device needed for Coda	# also needs CODA (above)
pseudo-device	vcoda			# coda minicache <-> venus comm.

# a pseudo device needed for SMBFS
pseudo-device	nsmb			# experimental - SMB requester
@


1.1.2.3
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: PARALLELLA,v 1.1.2.2 2015/04/06 15:17:55 skrll Exp $
d9 4
a12 1
include	"arch/evbarm/conf/GENERIC.common"
d25 12
d40 145
a188 2
options         DIAGNOSTIC      # internal consistency checks
#options        DEBUG
d193 7
d265 29
a293 1
cinclude "arch/evbarm/conf/PARALLELLA.local"
@


