head	1.12;
access;
symbols
	perseant-exfatfs-base-20250801:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.24
	perseant-exfatfs-base:1.12
	bouyer-sunxi-drm:1.12.0.22
	bouyer-sunxi-drm-base:1.12
	cjep_sun2x:1.12.0.20
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	cjep_staticlib_x:1.12.0.18
	cjep_staticlib_x-base:1.12
	thorpej-futex-base:1.12
	bouyer-xenpvh-base2:1.12
	phil-wifi-20200421:1.12
	bouyer-xenpvh-base1:1.12
	phil-wifi-20200411:1.12
	bouyer-xenpvh:1.12.0.16
	bouyer-xenpvh-base:1.12
	phil-wifi-20200406:1.12
	ad-namecache-base3:1.12
	ad-namecache-base2:1.12
	ad-namecache-base1:1.12
	ad-namecache:1.12.0.14
	ad-namecache-base:1.12
	isaki-audio2:1.12.0.12
	isaki-audio2-base:1.12
	pgoyette-compat-merge-20190127:1.12
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	netbsd-7-2-RELEASE:1.5.4.1
	pgoyette-compat-0728:1.12
	pgoyette-compat-0625:1.12
	pgoyette-compat-0521:1.12
	pgoyette-compat-0502:1.12
	pgoyette-compat-0422:1.12
	pgoyette-compat-0415:1.12
	pgoyette-compat-0407:1.12
	pgoyette-compat-0330:1.12
	pgoyette-compat-0322:1.12
	pgoyette-compat-0315:1.12
	netbsd-7-1-2-RELEASE:1.5.4.1
	pgoyette-compat:1.12.0.10
	pgoyette-compat-base:1.12
	netbsd-7-1-1-RELEASE:1.5.4.1
	perseant-stdc-iso10646:1.12.0.8
	perseant-stdc-iso10646-base:1.12
	prg-localcount2-base3:1.12
	prg-localcount2-base2:1.12
	prg-localcount2-base1:1.12
	prg-localcount2:1.12.0.6
	prg-localcount2-base:1.12
	pgoyette-localcount-20170426:1.12
	bouyer-socketcan-base1:1.12
	pgoyette-localcount-20170320:1.12
	netbsd-7-1:1.5.4.1.0.4
	netbsd-7-1-RELEASE:1.5.4.1
	netbsd-7-1-RC2:1.5.4.1
	bouyer-socketcan:1.12.0.4
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	netbsd-7-1-RC1:1.5.4.1
	pgoyette-localcount-20161104:1.12
	netbsd-7-0-2-RELEASE:1.5.4.1
	localcount-20160914:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.2
	pgoyette-localcount-base:1.12
	netbsd-7-0-1-RELEASE:1.5.4.1
	netbsd-7-0:1.5.4.1.0.2
	netbsd-7-0-RELEASE:1.5.4.1
	netbsd-7-0-RC3:1.5.4.1
	netbsd-7-0-RC2:1.5.4.1
	netbsd-7-0-RC1:1.5.4.1
	tls-maxphys-base:1.5
	tls-maxphys:1.8.0.2
	netbsd-7:1.5.0.4
	netbsd-7-base:1.5
	tls-earlyentropy:1.5.0.2
	tls-earlyentropy-base:1.5
	yamt-pagecache:1.2.0.4
	rmind-smpnet-base:1.2
	rmind-smpnet:1.2.0.2
	rmind-smpnet-nbase:1.2
	yamt-pagecache-base9:1.2;
locks; strict;
comment	@# @;


1.12
date	2014.09.26.15.33.58;	author reinoud;	state dead;
branches;
next	1.11;
commitid	iGweeF2SpCgmYRRx;

1.11
date	2014.09.21.15.23.55;	author reinoud;	state Exp;
branches;
next	1.10;
commitid	dAySpxmLHuzN4eRx;

1.10
date	2014.09.19.14.48.42;	author reinoud;	state Exp;
branches;
next	1.9;
commitid	q2WIGffaoczEWXQx;

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

1.8
date	2014.08.18.06.31.24;	author christos;	state Exp;
branches
	1.8.2.1;
next	1.7;
commitid	szm6ssWdlH5WdOMx;

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

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

1.5
date	2014.08.03.09.18.16;	author martin;	state Exp;
branches
	1.5.2.1
	1.5.4.1;
next	1.4;
commitid	IuRbf3yoxQF3DTKx;

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

1.3
date	2014.06.06.15.00.20;	author reinoud;	state Exp;
branches;
next	1.2;
commitid	VjJkopAiwmWHmtDx;

1.2
date	2014.05.05.20.31.03;	author reinoud;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;
commitid	TJ0wq8A1uZ9efozx;

1.1
date	2014.04.13.02.26.26;	author matt;	state Exp;
branches;
next	;
commitid	35Bk7E5EaIPJWswx;

1.8.2.1
date	2014.08.18.06.31.24;	author tls;	state dead;
branches;
next	1.8.2.2;
commitid	jTnpym9Qu0o4R1Nx;

1.8.2.2
date	2014.08.20.00.02.53;	author tls;	state Exp;
branches;
next	1.8.2.3;
commitid	jTnpym9Qu0o4R1Nx;

1.8.2.3
date	2017.12.03.11.36.03;	author jdolecek;	state dead;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.5.2.1
date	2014.08.03.09.18.16;	author tls;	state dead;
branches;
next	1.5.2.2;
commitid	7fY3uHKSIbCABMLx;

1.5.2.2
date	2014.08.10.06.53.55;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.5.4.1
date	2015.01.04.11.19.00;	author martin;	state dead;
branches;
next	;
commitid	xcR3gzWJpmY6lH4y;

1.2.2.1
date	2014.05.05.20.31.03;	author rmind;	state dead;
branches;
next	1.2.2.2;
commitid	mL5ZYSzpqK6QS2Bx;

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

1.2.4.1
date	2014.05.05.20.31.03;	author yamt;	state dead;
branches;
next	1.2.4.2;
commitid	VUUXuyNWnt3AKwBx;

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


desc
@@


1.12
log
@Rename ODROID to ODROID-XU
@
text
@#
#	$NetBSD: ODROID,v 1.11 2014/09/21 15:23:55 reinoud Exp $
#
#	ODROID -- ODROID series Exynos Kernel
#

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

# 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
#options 	CPU_CORTEX
#options 	CPU_CORTEXA9
#options 	CPU_CORTEXA7
#options 	CPU_CORTEXA15
#options 	EXYNOS4120
#options 	EXYNOS4212
#options 	EXYNOS4412
#options 	EXYNOS4412P
options 	EXYNOS5260
options 	EXYNOS5410
options 	EXYNOS5420
options 	EXYNOS5440
options 	EXYNOS5422
#options 	MULTIPROCESSOR
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
options 	EXYNOS_CONSOLE_EARLY
#options 	UVMHIST
options		USBHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	PMAP_NEED_ALLOC_POOLPAGE

# Specify the memory size in megabytes (optional).
#options 	MEMSIZE=2048

# 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)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#options	LOCKDEBUG
#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 	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
options	USBVERBOSE


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

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu and secondary CPUs
cpu0		at mainbus?
#cpu?		at mainbus?			# Multiprocessor

# A9 core devices
armperiph0	at mainbus?
ifdef EXYNOS4
arml2cc0	at armperiph?			# L2 Cache Controller
endif
armgic0		at armperiph?			# Interrupt Controller
#ifdef EXYNOS5
armgtmr0	at armperiph?			# Generic Timer
#endif

# Exynos SoC
exyo0		at mainbus?

# Integrated Samsung devices
ifdef EXYNOS4
mct0		at exyo0
endif

# Integrated Samsung UARTs
#sscom*		at exyo0  port ?		# UART ?
sscom2		at exyo0  port 2		# UART2

# Exynos Watchdog Timer
#exyowdt0 	at exyo0			# watchdog

# GPIO
exyogpio0	at exyo0
gpio*		at exyogpio?

# On-board USB
exyousb*	at exyo0
ohci*		at exyousb?
ehci*		at exyousb?
usb*		at ohci?
usb*		at ehci?

# Network phy for the LAN9730
ukphy*  at mii? phy ?                   # generic unknown PHYs

# I2C devices
exyoiic0	at exyo0
iic*		at exyoiic?

# SATA
#ahcisata*	at exyno0
#atabus*		at ata?
#wd*		at atabus? drive ?


# serial console connectivity
# UARTS
# sscom0 is default serial UART console, enable for low-level console:
# sscomX attached to expansion port
options		SSCOM0CONSOLE, CONSPEED=115200

# include all USB devices
include "dev/usb/usbdevices.config"


# 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
@


1.11
log
@Re-enable OHCI since the Exynos5 SoC OHCI hang has been fixed
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.10 2014/09/19 14:48:42 reinoud Exp $
@


1.10
log
@Update ODROID config, disabling ohci for now since it won't attach
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.9 2014/08/23 20:26:57 dholland Exp $
d220 1
a220 1
#ohci*		at exyousb?
d222 1
a222 1
#usb*		at ohci?
@


1.9
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: ODROID,v 1.8 2014/08/18 06:31:24 christos Exp $
d36 2
a37 1
options 	UVMHIST
d151 1
d154 1
a154 1
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
d178 1
d220 1
a220 1
ohci*		at exyousb?
d222 1
a222 1
usb*		at ohci?
@


1.8
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: ODROID,v 1.7 2014/08/17 21:17:43 joerg Exp $
d101 14
a114 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.8.2.1
log
@file ODROID was added on branch tls-maxphys on 2014-08-20 00:02:53 +0000
@
text
@d1 264
@


1.8.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 262
#
#	$NetBSD$
#
#	ODROID -- ODROID series Exynos Kernel
#

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

# 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
#options 	CPU_CORTEX
#options 	CPU_CORTEXA9
#options 	CPU_CORTEXA7
#options 	CPU_CORTEXA15
#options 	EXYNOS4120
#options 	EXYNOS4212
#options 	EXYNOS4412
#options 	EXYNOS4412P
options 	EXYNOS5260
options 	EXYNOS5410
options 	EXYNOS5420
options 	EXYNOS5440
options 	EXYNOS5422
#options 	MULTIPROCESSOR
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
options 	EXYNOS_CONSOLE_EARLY
options 	UVMHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	PMAP_NEED_ALLOC_POOLPAGE

# Specify the memory size in megabytes (optional).
#options 	MEMSIZE=2048

# 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 	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)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#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 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=800000

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


# 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 and secondary CPUs
cpu0		at mainbus?
#cpu?		at mainbus?			# Multiprocessor

# A9 core devices
armperiph0	at mainbus?
ifdef EXYNOS4
arml2cc0	at armperiph?			# L2 Cache Controller
endif
armgic0		at armperiph?			# Interrupt Controller
#ifdef EXYNOS5
armgtmr0	at armperiph?			# Generic Timer
#endif

# Exynos SoC
exyo0		at mainbus?

# Integrated Samsung devices
ifdef EXYNOS4
mct0		at exyo0
endif

# Integrated Samsung UARTs
#sscom*		at exyo0  port ?		# UART ?
sscom2		at exyo0  port 2		# UART2

# Exynos Watchdog Timer
#exyowdt0 	at exyo0			# watchdog

# GPIO
exyogpio0	at exyo0
gpio*		at exyogpio?

# On-board USB
exyousb*	at exyo0
ohci*		at exyousb?
ehci*		at exyousb?
usb*		at ohci?
usb*		at ehci?

# Network phy for the LAN9730
ukphy*  at mii? phy ?                   # generic unknown PHYs

# I2C devices
exyoiic0	at exyo0
iic*		at exyoiic?

# SATA
#ahcisata*	at exyno0
#atabus*		at ata?
#wd*		at atabus? drive ?


# serial console connectivity
# UARTS
# sscom0 is default serial UART console, enable for low-level console:
# sscomX attached to expansion port
options		SSCOM0CONSOLE, CONSPEED=115200

# include all USB devices
include "dev/usb/usbdevices.config"


# 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
@


1.8.2.3
log
@update from HEAD
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.8.2.2 2014/08/20 00:02:53 tls Exp $
@


1.7
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: ODROID,v 1.6 2014/08/16 17:56:31 apb Exp $
d132 3
a134 2
options 	DKWEDGE_AUTODISCOVER
options 	DKWEDGE_METHOD_GPT
@


1.6
log
@Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.5 2014/08/03 09:18:16 martin Exp $
d157 1
a157 1
options 	SYMTAB_SPACE=800000
@


1.5
log
@Add COMPAT_NETBSD32 to more kernels (we have too many)
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.4 2014/07/27 03:34:41 dholland Exp $
d101 1
@


1.5.4.1
log
@Pull up the following revisions, requested by skrll in #373:

sys/arch/arm/samsung/exynos4_loc.c              1.10-1.11
sys/arch/arm/samsung/exynos4_reg.h              1.8-1.13
sys/arch/arm/samsung/exynos5_loc.c              1.8-1.12
sys/arch/arm/samsung/exynos5_reg.h              1.11-1.20
sys/arch/arm/samsung/exynos_gpio.c              1.7-1.12
sys/arch/arm/samsung/exynos_i2c.c               1.2-1.3
sys/arch/arm/samsung/exynos_intr.h              1.2
sys/arch/arm/samsung/exynos_io.c                1.7-1.8
sys/arch/arm/samsung/exynos_io.h                1.5-1.6
sys/arch/arm/samsung/exynos_reg.h               1.8-1.13
sys/arch/arm/samsung/exynos_smc.S               1.2-1.3
sys/arch/arm/samsung/exynos_soc.c               1.15-1.27
sys/arch/arm/samsung/exynos_usb.c               1.8-1.13
sys/arch/arm/samsung/exynos_var.h               1.13-1.18
sys/arch/arm/samsung/exynos_wdt.c               1.5
sys/arch/arm/samsung/mct.c                      1.4-1.5
sys/arch/arm/samsung/mct_reg.h                  1.2
sys/arch/arm/samsung/mct_var.h                  1.3
sys/arch/arm/samsung/smc.h                      1.2
sys/arch/arm/samsung/sscom.c                    1.7
sys/arch/evbarm/odroid/odroid_machdep.c         1.25-1.39
sys/arch/evbarm/odroid/odroid_start.S           1.4-1.6
sys/arch/evbarm/conf/std.odroid                 1.3-1.5
sys/arch/evbarm/conf/ODROID                     delete
sys/arch/evbarm/conf/ODROID-U                   1.10-1.17
sys/arch/evbarm/conf/ODROID_INSTALL             delete
sys/arch/evbarm/conf/ODROID-XU                  1.1-1.4

Improve ODROID support.
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.5 2014/08/03 09:18:16 martin Exp $
@


1.5.2.1
log
@file ODROID was added on branch tls-earlyentropy on 2014-08-10 06:53:55 +0000
@
text
@d1 262
@


1.5.2.2
log
@Rebase.
@
text
@a0 262
#
#	$NetBSD: ODROID,v 1.5 2014/08/03 09:18:16 martin Exp $
#
#	ODROID -- ODROID series Exynos Kernel
#

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

# 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
#options 	CPU_CORTEX
#options 	CPU_CORTEXA9
#options 	CPU_CORTEXA7
#options 	CPU_CORTEXA15
#options 	EXYNOS4120
#options 	EXYNOS4212
#options 	EXYNOS4412
#options 	EXYNOS4412P
options 	EXYNOS5260
options 	EXYNOS5410
options 	EXYNOS5420
options 	EXYNOS5440
options 	EXYNOS5422
#options 	MULTIPROCESSOR
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
options 	EXYNOS_CONSOLE_EARLY
options 	UVMHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	PMAP_NEED_ALLOC_POOLPAGE

# Specify the memory size in megabytes (optional).
#options 	MEMSIZE=2048

# 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 	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)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#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 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=800000

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


# 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 and secondary CPUs
cpu0		at mainbus?
#cpu?		at mainbus?			# Multiprocessor

# A9 core devices
armperiph0	at mainbus?
ifdef EXYNOS4
arml2cc0	at armperiph?			# L2 Cache Controller
endif
armgic0		at armperiph?			# Interrupt Controller
#ifdef EXYNOS5
armgtmr0	at armperiph?			# Generic Timer
#endif

# Exynos SoC
exyo0		at mainbus?

# Integrated Samsung devices
ifdef EXYNOS4
mct0		at exyo0
endif

# Integrated Samsung UARTs
#sscom*		at exyo0  port ?		# UART ?
sscom2		at exyo0  port 2		# UART2

# Exynos Watchdog Timer
#exyowdt0 	at exyo0			# watchdog

# GPIO
exyogpio0	at exyo0
gpio*		at exyogpio?

# On-board USB
exyousb*	at exyo0
ohci*		at exyousb?
ehci*		at exyousb?
usb*		at ohci?
usb*		at ehci?

# Network phy for the LAN9730
ukphy*  at mii? phy ?                   # generic unknown PHYs

# I2C devices
exyoiic0	at exyo0
iic*		at exyoiic?

# SATA
#ahcisata*	at exyno0
#atabus*		at ata?
#wd*		at atabus? drive ?


# serial console connectivity
# UARTS
# sscom0 is default serial UART console, enable for low-level console:
# sscomX attached to expansion port
options		SSCOM0CONSOLE, CONSPEED=115200

# include all USB devices
include "dev/usb/usbdevices.config"


# 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
@


1.4
log
@"internally consistency checks" -> "internal consistency checks"
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.3 2014/06/06 15:00:20 reinoud Exp $
d99 1
@


1.3
log
@Add gpio, i2c and USB devices to ODROID and clean it up a bit too.

Since its a SoC, some devices might just as well move to std.odroid but are
kept here for now.

I got confirmation from Hardkernel, the company that creates the Odroid's that
*all* Samsung SoC's that are used in products other than Samsungs own have the
trustzone firmware mandatory. Its also part of the bootloading step and
Hardkernel has to digitally sign part of the bootloaders to be allowed to have
it boot at all.
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.2 2014/05/05 20:31:03 reinoud Exp $
d145 1
a145 1
options 	DIAGNOSTIC	# internally consistency checks
@


1.2
log
@exywdt -> exyowdt
@
text
@d2 1
a2 1
#	$NetBSD: ODROID,v 1.1 2014/04/13 02:26:26 matt Exp $
d162 1
d208 3
a210 1
# Odroid-U connectivity
a211 4
# UARTS
# sscom0 attached to expansion port
# sscom1 is default serial UART console, enable for low-level console:
options		SSCOM0CONSOLE, CONSPEED=115200
d213 12
a224 6
#exyousb0	at exyo0 port 0
#exyousb1	at exyo0 port 1
#ohci*		at exyousb?
#ehci*		at exyousb?
#usb*		at ohci?
#usb*		at ehci?
d231 9
a239 1
#include "dev/usb/usbdevices.config"
@


1.2.4.1
log
@file ODROID was added on branch yamt-pagecache on 2014-05-22 11:39:40 +0000
@
text
@d1 248
@


1.2.4.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 248
#
#	$NetBSD$
#
#	ODROID -- ODROID series Exynos Kernel
#

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

# 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
#options 	CPU_CORTEX
#options 	CPU_CORTEXA9
#options 	CPU_CORTEXA7
#options 	CPU_CORTEXA15
#options 	EXYNOS4120
#options 	EXYNOS4212
#options 	EXYNOS4412
#options 	EXYNOS4412P
options 	EXYNOS5260
options 	EXYNOS5410
options 	EXYNOS5420
options 	EXYNOS5440
options 	EXYNOS5422
#options 	MULTIPROCESSOR
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
options 	EXYNOS_CONSOLE_EARLY
options 	UVMHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	PMAP_NEED_ALLOC_POOLPAGE

# Specify the memory size in megabytes (optional).
#options 	MEMSIZE=2048

# 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 	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)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#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 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=800000

## 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 and secondary CPUs
cpu0		at mainbus?
#cpu?		at mainbus?			# Multiprocessor

# A9 core devices
armperiph0	at mainbus?
ifdef EXYNOS4
arml2cc0	at armperiph?			# L2 Cache Controller
endif
armgic0		at armperiph?			# Interrupt Controller
#ifdef EXYNOS5
armgtmr0	at armperiph?			# Generic Timer
#endif

# Exynos SoC
exyo0		at mainbus?

# Integrated Samsung devices
ifdef EXYNOS4
mct0		at exyo0
endif

# Integrated Samsung UARTs
#sscom*		at exyo0  port ?		# UART ?
sscom2		at exyo0  port 2		# UART2

# Exynos Watchdog Timer
#exyowdt0 	at exyo0			# watchdog

# Odroid-U connectivity

# UARTS
# sscom0 attached to expansion port
# sscom1 is default serial UART console, enable for low-level console:
options		SSCOM0CONSOLE, CONSPEED=115200
# On-board USB
#exyousb0	at exyo0 port 0
#exyousb1	at exyo0 port 1
#ohci*		at exyousb?
#ehci*		at exyousb?
#usb*		at ohci?
#usb*		at ehci?

# SATA
#ahcisata*	at exyno0
#atabus*		at ata?
#wd*		at atabus? drive ?

#include "dev/usb/usbdevices.config"


# 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
@


1.2.2.1
log
@file ODROID was added on branch rmind-smpnet on 2014-05-18 17:45:03 +0000
@
text
@d1 248
@


1.2.2.2
log
@sync with head
@
text
@a0 248
#
#	$NetBSD$
#
#	ODROID -- ODROID series Exynos Kernel
#

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

# 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
#options 	CPU_CORTEX
#options 	CPU_CORTEXA9
#options 	CPU_CORTEXA7
#options 	CPU_CORTEXA15
#options 	EXYNOS4120
#options 	EXYNOS4212
#options 	EXYNOS4412
#options 	EXYNOS4412P
options 	EXYNOS5260
options 	EXYNOS5410
options 	EXYNOS5420
options 	EXYNOS5440
options 	EXYNOS5422
#options 	MULTIPROCESSOR
options 	PMAPCOUNTERS
options 	BUSDMA_COUNTERS
options 	EXYNOS_CONSOLE_EARLY
options 	UVMHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
options 	PMAP_NEED_ALLOC_POOLPAGE

# Specify the memory size in megabytes (optional).
#options 	MEMSIZE=2048

# 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 	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)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
options 	DEBUG
#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 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=800000

## 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 and secondary CPUs
cpu0		at mainbus?
#cpu?		at mainbus?			# Multiprocessor

# A9 core devices
armperiph0	at mainbus?
ifdef EXYNOS4
arml2cc0	at armperiph?			# L2 Cache Controller
endif
armgic0		at armperiph?			# Interrupt Controller
#ifdef EXYNOS5
armgtmr0	at armperiph?			# Generic Timer
#endif

# Exynos SoC
exyo0		at mainbus?

# Integrated Samsung devices
ifdef EXYNOS4
mct0		at exyo0
endif

# Integrated Samsung UARTs
#sscom*		at exyo0  port ?		# UART ?
sscom2		at exyo0  port 2		# UART2

# Exynos Watchdog Timer
#exyowdt0 	at exyo0			# watchdog

# Odroid-U connectivity

# UARTS
# sscom0 attached to expansion port
# sscom1 is default serial UART console, enable for low-level console:
options		SSCOM0CONSOLE, CONSPEED=115200
# On-board USB
#exyousb0	at exyo0 port 0
#exyousb1	at exyo0 port 1
#ohci*		at exyousb?
#ehci*		at exyousb?
#usb*		at ohci?
#usb*		at ehci?

# SATA
#ahcisata*	at exyno0
#atabus*		at ata?
#wd*		at atabus? drive ?

#include "dev/usb/usbdevices.config"


# 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
@


1.1
log
@Add initial support for the ODROID-XU and ODROID-U3.
Still a work in progress.  Started by nick and reinoud.
@
text
@d2 1
a2 1
#	$NetBSD$
d205 1
a205 1
#exywdt0 	at exyo0			# watchdog
@

