head	1.21;
access;
symbols
	perseant-exfatfs-base-20250801:1.21
	perseant-exfatfs-base-20240630:1.21
	perseant-exfatfs:1.21.0.16
	perseant-exfatfs-base:1.21
	netbsd-8-3-RELEASE:1.20
	bouyer-sunxi-drm:1.21.0.14
	bouyer-sunxi-drm-base:1.21
	cjep_sun2x:1.21.0.12
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	cjep_staticlib_x:1.21.0.10
	cjep_staticlib_x-base:1.21
	thorpej-futex-base:1.21
	bouyer-xenpvh-base2:1.21
	phil-wifi-20200421:1.21
	bouyer-xenpvh-base1:1.21
	phil-wifi-20200411:1.21
	bouyer-xenpvh:1.21.0.8
	bouyer-xenpvh-base:1.21
	phil-wifi-20200406:1.21
	netbsd-8-2-RELEASE:1.20
	ad-namecache-base3:1.21
	ad-namecache-base2:1.21
	ad-namecache-base1:1.21
	ad-namecache:1.21.0.6
	ad-namecache-base:1.21
	netbsd-8-1-RELEASE:1.20
	netbsd-8-1-RC1:1.20
	isaki-audio2:1.21.0.4
	isaki-audio2-base:1.21
	pgoyette-compat-merge-20190127:1.21
	pgoyette-compat-20190127:1.21
	pgoyette-compat-20190118:1.21
	pgoyette-compat-1226:1.21
	pgoyette-compat-1126:1.21
	pgoyette-compat-1020:1.21
	pgoyette-compat-0930:1.21
	pgoyette-compat-0906:1.21
	pgoyette-compat-0728:1.21
	netbsd-8-0-RELEASE:1.20
	pgoyette-compat-0625:1.21
	netbsd-8-0-RC2:1.20
	pgoyette-compat-0521:1.21
	pgoyette-compat-0502:1.21
	pgoyette-compat-0422:1.21
	netbsd-8-0-RC1:1.20
	pgoyette-compat-0415:1.21
	pgoyette-compat-0407:1.21
	pgoyette-compat-0330:1.21
	pgoyette-compat-0322:1.21
	pgoyette-compat-0315:1.21
	pgoyette-compat:1.21.0.2
	pgoyette-compat-base:1.21
	matt-nb8-mediatek:1.20.0.12
	matt-nb8-mediatek-base:1.20
	nick-nhusb-base-20170825:1.20
	perseant-stdc-iso10646:1.20.0.10
	perseant-stdc-iso10646-base:1.20
	netbsd-8:1.20.0.8
	netbsd-8-base:1.20
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.6
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	jdolecek-ncq:1.20.0.4
	jdolecek-ncq-base:1.20
	pgoyette-localcount-20170320:1.20
	nick-nhusb-base-20170204:1.20
	bouyer-socketcan:1.20.0.2
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.19
	nick-nhusb-base-20161204:1.16
	pgoyette-localcount-20161104:1.16
	nick-nhusb-base-20161004:1.16
	localcount-20160914:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.2
	pgoyette-localcount-base:1.16
	nick-nhusb-base-20160907:1.16
	nick-nhusb-base-20160529:1.16
	nick-nhusb-base-20160422:1.16
	nick-nhusb-base-20160319:1.16
	nick-nhusb-base-20151226:1.16
	nick-nhusb-base-20150921:1.16
	nick-nhusb-base-20150606:1.16
	nick-nhusb:1.15.0.2
	nick-nhusb-base-20150406:1.15;
locks; strict;
comment	@# @;


1.21
date	2017.10.08.18.07.09;	author jmcneill;	state dead;
branches;
next	1.20;
commitid	nAuaT7xALI3KchaA;

1.20
date	2017.01.08.05.11.24;	author christos;	state Exp;
branches;
next	1.19;
commitid	BqEsY3sW4joJG7Bz;

1.19
date	2016.12.13.20.42.17;	author christos;	state Exp;
branches;
next	1.18;
commitid	DChNb4lHFyTOFRxz;

1.18
date	2016.12.10.23.03.23;	author christos;	state Exp;
branches;
next	1.17;
commitid	w4dRXIf7WDldyuxz;

1.17
date	2016.12.08.11.31.10;	author nat;	state Exp;
branches;
next	1.16;
commitid	r0h4avej48pZLaxz;

1.16
date	2015.04.19.21.28.37;	author matt;	state Exp;
branches
	1.16.2.1;
next	1.15;
commitid	4EntbASDiqR3lfiy;

1.15
date	2015.04.03.23.25.07;	author jmcneill;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	c8RX6hKDhZZkvcgy;

1.14
date	2014.12.21.17.42.12;	author jmcneill;	state Exp;
branches;
next	1.13;
commitid	anbykkHCdjC1VV2y;

1.13
date	2014.12.11.23.35.31;	author jmcneill;	state Exp;
branches;
next	1.12;
commitid	S4ejRcllS4M9cG1y;

1.12
date	2014.12.07.20.10.08;	author jmcneill;	state Exp;
branches;
next	1.11;
commitid	OcGYbuImbiIFb91y;

1.11
date	2014.12.07.18.32.13;	author jmcneill;	state Exp;
branches;
next	1.10;
commitid	niwHy1Pe1IPuD81y;

1.10
date	2014.12.07.14.25.09;	author jmcneill;	state Exp;
branches;
next	1.9;
commitid	2Bj8I58Bqzckh71y;

1.9
date	2014.12.07.02.41.07;	author jmcneill;	state Exp;
branches;
next	1.8;
commitid	n8wDZK2sFvXMn31y;

1.8
date	2014.12.07.00.54.51;	author jmcneill;	state Exp;
branches;
next	1.7;
commitid	8lLs7maKMXGkN21y;

1.7
date	2014.12.07.00.37.08;	author jmcneill;	state Exp;
branches;
next	1.6;
commitid	kvZ9zya5cCggH21y;

1.6
date	2014.12.05.18.54.35;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	1cMRKYljZtFJPS0y;

1.5
date	2014.12.05.18.42.02;	author jmcneill;	state Exp;
branches;
next	1.4;
commitid	uRxn0Rkx7u0rLS0y;

1.4
date	2014.12.05.17.32.08;	author jmcneill;	state Exp;
branches;
next	1.3;
commitid	vGiIi8daiLSrnS0y;

1.3
date	2014.12.05.15.25.27;	author jmcneill;	state Exp;
branches;
next	1.2;
commitid	nqXb1nswITgZFR0y;

1.2
date	2014.12.05.14.36.44;	author jmcneill;	state Exp;
branches;
next	1.1;
commitid	R9lM0Y6wTET6pR0y;

1.1
date	2014.12.05.01.13.12;	author jmcneill;	state Exp;
branches;
next	;
commitid	1u1TiagkUPwuXM0y;

1.16.2.1
date	2017.01.07.08.56.13;	author pgoyette;	state Exp;
branches;
next	1.16.2.2;
commitid	uEL0C1YuiJrlV0Bz;

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

1.15.2.1
date	2015.04.03.23.25.07;	author skrll;	state dead;
branches;
next	1.15.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.15.2.2
date	2015.04.06.15.17.55;	author skrll;	state Exp;
branches;
next	1.15.2.3;
commitid	pz01Zhy7RP6iGxgy;

1.15.2.3
date	2015.06.06.14.39.58;	author skrll;	state Exp;
branches;
next	1.15.2.4;
commitid	O6LVO5i6UulOvnoy;

1.15.2.4
date	2017.02.05.13.40.07;	author skrll;	state Exp;
branches;
next	;
commitid	8hwpk1aHl2UuyLEz;


desc
@@


1.21
log
@Remove ALLWINNER_A80 kernel config; use SUNXI for these boards instead.
@
text
@#	$NetBSD: ALLWINNER_A80,v 1.20 2017/01/08 05:11:24 christos Exp $
#
#	ALLWINNER_A80 - Allwinner A80 boards (Cubieboard4, OptimusBoard, etc)
#

include	"arch/evbarm/conf/std.awin"
include	"arch/evbarm/conf/GENERIC.common"

no makeoptions	CPUFLAGS
makeoptions	CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon"
no makeoptions	BOARDTYPE
makeoptions	BOARDTYPE="allwinner_a80"
no makeoptions	KERNEL_BASE_PHYS
no makeoptions	KERNEL_BASE_VIRT
makeoptions 	KERNEL_BASE_PHYS="0x80000000"
makeoptions 	KERNEL_BASE_VIRT="0x80000000"
options 	PMAP_NEED_ALLOC_POOLPAGE

options 	ALLWINNER_A80
options 	MULTIPROCESSOR
options 	MEMSIZE=2048
options 	AWIN_CONSOLE_EARLY
options 	AWIN_GPIO_IGNORE_FW

#options 	DEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

mainbus0	at root
cpu*		at mainbus?

# A7 core devices
armperiph0	at mainbus?
armgic0		at armperiph?				# Interrupt Controller
armgtmr0	at armperiph?				# ARM Generic Timer

# SoC I/O
awinio0		at mainbus?

# SD/MMC controllers
awinmmc0	at awinio0 port 0	# SD card slot
sdmmc0		at awinmmc0
ld0		at sdmmc0

awinmmc2	at awinio0 port 2	# eMMC
sdmmc2		at awinmmc2
ld2		at sdmmc2

# Interrupt Controller
awinicu0	at awinio0 

# DMA Controller
awindma0	at awinio0

# 64-bit counter
#awincnt0	at awinio0

# GPIO Controller
awingpio0	at awinio0

gpio*		at awingpio?

# I2C Controllers
awiniic0	at awinio? port 0
iic0		at awiniic0

awiniic1	at awinio? port 1
iic1		at awiniic1

awiniic2	at awinio? port 2
iic2		at awiniic2

# Reduced serial bus (RSB)
awinp2wi0	at awinio0
iic4		at awinp2wi0
axp806pm0	at iic4 addr 0x745	# AXP806 Power Management Unit
axp809pm0	at iic4 addr 0x3a3	# AXP809 Power Management Unit
ac100ic0	at iic4 addr 0xe89	# AC100 CODEC/RTC

options 	I2C_MAX_ADDR=0xfff

# On-board 16550 UARTs
com0		at awinio? port 0			# UART0 (console)
options 	CONADDR=0x07000000, CONSPEED=115200

# Consumer IR
awinir0		at awinio?
cir0		at awinir0

# Watchdog timers
awinwdt*	at awinio?

# GMAC Ethernet
awge0		at awinio0 port ?

# HDMI
#awinhdmi0	at awinio0
#awinhdmiaudio0	at awinio0
#audio1		at awinhdmiaudio0

#spkr*		at audio?		# PC speaker (synthesized)

# TCON
#awintcon0	at awinio0 port 0

# DE-BE
#awindebe0	at awinio0 port 0
awindebe0	at awinio0 port 1
options 	AWIN_DEBE_FWINIT

# Framebuffer
genfb0		at awindebe0
wsdisplay*	at genfb?
options 	VCONS_DRAW_INTR
options 	WSEMUL_VT100
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_BLACK
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options 	WSDISPLAY_DEFAULTSCREENS=4
pseudo-device 	wsmux
pseudo-device 	wsfont

# On-board USB
awinusb0	at awinio0 port 0
awinusb1	at awinio0 port 1
awinusb2	at awinio0 port 2
ohci*		at awinusb?
ehci*		at awinusb?
usb*		at ohci?
usb*		at ehci?

# USB OTG
#motg0		at awinio0
#usb*		at motg?

include "dev/usb/usbdevices.config"

midi*		at midibus?

rlphy*		at mii? phy ?
rgephy* 	at mii? phy ?
ukphy*		at mii? phy ?

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


1.20
log
@remove dup DIAGNOSTIC
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.19 2016/12/13 20:42:17 christos Exp $
@


1.19
log
@wildcard speaker attachments, now that we can handle many of them.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.18 2016/12/10 23:03:23 christos Exp $
a24 1
options 	DIAGNOSTIC	# internal consistency checks
@


1.18
log
@remove VAUDIOSPEAKER for now, will be done differently.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.17 2016/12/08 11:31:10 nat Exp $
d105 1
a105 1
#spkr0	at audio0		# PC speaker (synthesized)
@


1.17
log
@Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.16 2015/04/19 21:28:37 matt Exp $
a104 1
#options VAUDIOSPEAKER
@


1.16
log
@Remove options CPU_CORTEX* since options ALLWINNER_* will now define them.
Use GENERIC.common for CUBIEBOARD (and BPI and CUBIETRUCK)
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.15 2015/04/03 23:25:07 jmcneill Exp $
d105 3
@


1.16.2.1
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.19 2016/12/13 20:42:17 christos Exp $
a104 2
#spkr*		at audio?		# PC speaker (synthesized)

@


1.16.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.20 2017/01/08 05:11:24 christos Exp $
d25 1
@


1.15
log
@Move common non-device stuff to GENERIC.common. Simplify board configs,
and let them all share common settings.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.14 2014/12/21 17:42:12 jmcneill Exp $
a18 1
options 	CPU_CORTEXA7
@


1.15.2.1
log
@file ALLWINNER_A80 was added on branch nick-nhusb on 2015-04-06 15:17:55 +0000
@
text
@d1 150
@


1.15.2.2
log
@Sync with HEAD
@
text
@a0 150
#	$NetBSD: ALLWINNER_A80,v 1.15 2015/04/03 23:25:07 jmcneill Exp $
#
#	ALLWINNER_A80 - Allwinner A80 boards (Cubieboard4, OptimusBoard, etc)
#

include	"arch/evbarm/conf/std.awin"
include	"arch/evbarm/conf/GENERIC.common"

no makeoptions	CPUFLAGS
makeoptions	CPUFLAGS="-mcpu=cortex-a7 -mfpu=neon"
no makeoptions	BOARDTYPE
makeoptions	BOARDTYPE="allwinner_a80"
no makeoptions	KERNEL_BASE_PHYS
no makeoptions	KERNEL_BASE_VIRT
makeoptions 	KERNEL_BASE_PHYS="0x80000000"
makeoptions 	KERNEL_BASE_VIRT="0x80000000"
options 	PMAP_NEED_ALLOC_POOLPAGE

options 	CPU_CORTEXA7
options 	ALLWINNER_A80
options 	MULTIPROCESSOR
options 	MEMSIZE=2048
options 	AWIN_CONSOLE_EARLY
options 	AWIN_GPIO_IGNORE_FW

options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

mainbus0	at root
cpu*		at mainbus?

# A7 core devices
armperiph0	at mainbus?
armgic0		at armperiph?				# Interrupt Controller
armgtmr0	at armperiph?				# ARM Generic Timer

# SoC I/O
awinio0		at mainbus?

# SD/MMC controllers
awinmmc0	at awinio0 port 0	# SD card slot
sdmmc0		at awinmmc0
ld0		at sdmmc0

awinmmc2	at awinio0 port 2	# eMMC
sdmmc2		at awinmmc2
ld2		at sdmmc2

# Interrupt Controller
awinicu0	at awinio0 

# DMA Controller
awindma0	at awinio0

# 64-bit counter
#awincnt0	at awinio0

# GPIO Controller
awingpio0	at awinio0

gpio*		at awingpio?

# I2C Controllers
awiniic0	at awinio? port 0
iic0		at awiniic0

awiniic1	at awinio? port 1
iic1		at awiniic1

awiniic2	at awinio? port 2
iic2		at awiniic2

# Reduced serial bus (RSB)
awinp2wi0	at awinio0
iic4		at awinp2wi0
axp806pm0	at iic4 addr 0x745	# AXP806 Power Management Unit
axp809pm0	at iic4 addr 0x3a3	# AXP809 Power Management Unit
ac100ic0	at iic4 addr 0xe89	# AC100 CODEC/RTC

options 	I2C_MAX_ADDR=0xfff

# On-board 16550 UARTs
com0		at awinio? port 0			# UART0 (console)
options 	CONADDR=0x07000000, CONSPEED=115200

# Consumer IR
awinir0		at awinio?
cir0		at awinir0

# Watchdog timers
awinwdt*	at awinio?

# GMAC Ethernet
awge0		at awinio0 port ?

# HDMI
#awinhdmi0	at awinio0
#awinhdmiaudio0	at awinio0
#audio1		at awinhdmiaudio0

# TCON
#awintcon0	at awinio0 port 0

# DE-BE
#awindebe0	at awinio0 port 0
awindebe0	at awinio0 port 1
options 	AWIN_DEBE_FWINIT

# Framebuffer
genfb0		at awindebe0
wsdisplay*	at genfb?
options 	VCONS_DRAW_INTR
options 	WSEMUL_VT100
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_BLACK
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options 	WSDISPLAY_DEFAULTSCREENS=4
pseudo-device 	wsmux
pseudo-device 	wsfont

# On-board USB
awinusb0	at awinio0 port 0
awinusb1	at awinio0 port 1
awinusb2	at awinio0 port 2
ohci*		at awinusb?
ehci*		at awinusb?
usb*		at ohci?
usb*		at ehci?

# USB OTG
#motg0		at awinio0
#usb*		at motg?

include "dev/usb/usbdevices.config"

midi*		at midibus?

rlphy*		at mii? phy ?
rgephy* 	at mii? phy ?
ukphy*		at mii? phy ?

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


1.15.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.15.2.2 2015/04/06 15:17:55 skrll Exp $
d19 1
d55 1
a55 1
awinicu0	at awinio0
@


1.15.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.15.2.3 2015/06/06 14:39:58 skrll Exp $
d25 1
a104 2
#spkr*		at audio?		# PC speaker (synthesized)

@


1.14
log
@enable awindebe, genfb, wsdisplay
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.13 2014/12/11 23:35:31 jmcneill Exp $
d7 1
a7 13

#options 	VERBOSE_INIT_ARM

# 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
d18 1
a18 1
#options 	UVMHIST,UVMHIST_PRINT
d21 2
a22 1
options 	PMAPCOUNTERS
a25 112
# 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_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_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 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options 	BUFQ_READPRIO
options 	BUFQ_PRIOCSCAN

# Development and Debugging options

#options 	PERFCTRS	# performance counters
a27 2
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
a28 4
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KGDB
a31 16
## 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="\"\""

a33 1
# The main bus device
a34 3

# CPU
options 	MULTIPROCESSOR
a36 3
# Specify the memory size in megabytes.
options 	MEMSIZE=2048

d126 2
a149 25
# 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
pseudo-device	drvctl			# driver control

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

# 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

# wscons pseudo-devices
pseudo-device 	wsmux			# mouse & keyboard mux
pseudo-device 	wsfont

@


1.13
log
@enable MULTIPROCESSOR
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.12 2014/12/07 20:10:08 jmcneill Exp $
d263 2
d267 11
a277 11
#genfb0		at awindebe0
#wsdisplay*	at genfb?
#options 	VCONS_DRAW_INTR
#options 	WSEMUL_VT100
#options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
#options 	WSDISPLAY_COMPAT_PCVT
#options 	WSDISPLAY_COMPAT_SYSCONS
#options 	WSDISPLAY_COMPAT_USL
#options 	WSDISPLAY_COMPAT_RAWKBD
#options 	WSDISPLAY_DEFAULTSCREENS=4
@


1.12
log
@eMMC works now, turn it on
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.11 2014/12/07 18:32:13 jmcneill Exp $
d183 1
a183 1
#options 	MULTIPROCESSOR
@


1.11
log
@Add A80 PIO L,M,N and A80 CIR (RX) support.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.10 2014/12/07 14:25:09 jmcneill Exp $
d198 1
a198 1
awinmmc0	at awinio0 port 0
d202 3
a204 3
#awinmmc2	at awinio0 port 2
#sdmmc2		at awinmmc2
#ld2		at sdmmc2
@


1.10
log
@add AC100 CODEC/RTC driver
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.9 2014/12/07 02:41:07 jmcneill Exp $
d244 2
a245 2
#awinir0		at awinio?
#cir0		at awinir0
@


1.9
log
@add awinwdt
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.8 2014/12/07 00:54:51 jmcneill Exp $
d235 1
a249 7
# RTC (not battery backed on this board; use PCF8563 instead)
#awinrtc*	at awinio?

# onboard audio codec
#awinac0		at awinio0
#audio0		at awinac0

@


1.8
log
@remove axp22x
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.7 2014/12/07 00:37:08 jmcneill Exp $
d247 1
a247 1
#awinwdt*	at awinio?
@


1.7
log
@add RSB (awinp2wi), AXP806, AXP809 drivers
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.6 2014/12/05 18:54:35 jmcneill Exp $
a222 1
axp22x0		at iic0 addr 0x34	# AXP221 Power Management Unit	
@


1.6
log
@A80 DMA controller support
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.5 2014/12/05 18:42:02 jmcneill Exp $
d231 7
a237 3
# P2WI
#awinp2wi0	at awinio0
#iic1		at awinp2wi0
@


1.5
log
@enable awge, axp22x
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.4 2014/12/05 17:32:08 jmcneill Exp $
d210 1
a210 1
#awindma0	at awinio0
@


1.4
log
@A80 EHCI and OHCI support
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.3 2014/12/05 15:25:27 jmcneill Exp $
d223 1
a233 1
#axp22x0		at iic1 addr 0x34	# AXP221 Power Management Unit	
d254 1
a254 1
#awge0		at awinio0 port ?
@


1.3
log
@A80 I2C support
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.2 2014/12/05 14:36:44 jmcneill Exp $
d281 7
a287 6
#awinusb0	at awinio0 port 0
#awinusb1	at awinio0 port 1
#ohci*		at awinusb?
#ehci*		at awinusb?
#usb*		at ohci?
#usb*		at ehci?
d293 1
a293 1
#include "dev/usb/usbdevices.config"
d295 1
a295 1
#midi*		at midibus?
d297 3
a299 3
#rlphy*		at mii? phy ?
#rgephy* 	at mii? phy ?
#ukphy*		at mii? phy ?
@


1.2
log
@A80 MMC support. Works for SD card slot on Cubie4, but not eMMC yet.
@
text
@d1 1
a1 1
#	$NetBSD: ALLWINNER_A80,v 1.1 2014/12/05 01:13:12 jmcneill Exp $
d221 2
a222 2
#awiniic0	at awinio? port 0
#iic0		at awiniic0
d224 5
a228 3
#awiniic2	at awinio? port 2
#iic2		at awiniic2
#pcf8563rtc0	at iic2 addr 0x51	# PCF8563 RTC
@


1.1
log
@Initial Allwinner A80 support.
@
text
@d1 1
a1 1
#	$NetBSD$
d198 7
a204 3
#awinmmc0	at awinio0 port 0
#sdmmc*		at awinmmc?
#ld*		at sdmmc?
@

