sys/arch/evbarm/conf/OVERO
author skrll <skrll@NetBSD.org>
Mon, 05 Dec 2016 10:54:48 +0000
branchnick-nhusb
changeset 278624 e375aab2fc60
parent 278601 0e9a0ff85e3f
child 278713 e1ce05dcfb31
permissions -rw-r--r--
Sync with HEAD

#
#	$NetBSD: OVERO,v 1.42.2.3 2016/12/05 10:54:52 skrll Exp $
#
#	OVERO -- Gumstix. Inc. Overo COMS platforms kernel
#

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

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

# estimated number of users

maxusers	32

# CPU options

options 	CPU_CORTEXA8
options 	OMAP_3530
options 	FPU_VFP
options 	PMAPCOUNTERS
options 	ARM_HAS_VBAR
options 	__HAVE_MM_MD_DIRECT_MAPPED_PHYS
makeoptions	CPUFLAGS="-mcpu=cortex-a8 -mfpu=neon"

# Architecture options

makeoptions	BOARDTYPE="overo"
options 	EVBARM_BOARDTYPE=overo

# Gumstix options
options 	OVERO
# Can specify 'expansion=' in args from u-boot.
options 	GUMSTIX_NETBSD_ARGS_EXPANSION
options 	GXIO_DEFAULT_EXPANSION="\"Chestnut43\""

# Standard system options

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

# File systems

file-system	FFS		# UFS
file-system 	EXT2FS		# second extended file system (linux)
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network 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	UMAPFS		# NULLFS + uid and gid remapping
file-system	UNION		# union file system
#file-system	CODA		# Coda File System; also needs vcoda (below)
#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
#file-system	HFS		# experimental - Apple HFS+ (read-only)

# 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
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
#options 	NFSSERVER
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

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

# Compatibility options

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

options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
options 	COMPAT_LINUX	# binary compatibility with Linux
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_IS_ROOT	# use memory disk as root
#options 	MEMORY_DISK_DYNAMIC
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	USBVERBOSE	# verbose USB device autoconfig 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

# 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

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# L3 Interconnect
L3i0		at mainbus?

# OBIO
obio0		at mainbus? base 0x48000000 size 0x1000000	# L4 CORE
obio1		at mainbus? base 0x48300000 size 0x0100000	# L4 WAKEUP
obio2		at mainbus? base 0x49000000 size 0x0100000	# L4 PERIPHERAL
#obio3		at mainbus? base 0x54000000 size 0x0800000	# L4 EMUL

# General Purpose Memory Controller
gpmc0		at mainbus? base 0x6e000000

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0
omapgpio0	at obio1 addr 0x48310000 size 0x1000 intrbase 96  intr 29
omapgpio1	at obio2 addr 0x49050000 size 0x1000 intrbase 128 intr 30
omapgpio2	at obio2 addr 0x49052000 size 0x1000 intrbase 160 intr 31
omapgpio3	at obio2 addr 0x49054000 size 0x1000 intrbase 192 intr 32
omapgpio4	at obio2 addr 0x49056000 size 0x1000 intrbase 224 intr 33
omapgpio5	at obio2 addr 0x49058000 size 0x1000 intrbase 256 intr 34

gpio*		at omapgpio?

# System Control Module
omapscm0 	at obio0 addr 0x48002000 size 0x1000

# I2C Controller
omapiic0	at obio0 addr 0x48070000 size 0x1000 intr 56	# I2C1
omapiic1	at obio0 addr 0x48060000 size 0x1000 intr 61	# I2C3
iic*		at omapiic?

# Power Management and System Companion Device
tps65950pm0	at iic0 addr 0x48
tps65950pm1	at iic0 addr 0x49
tps65950pm2	at iic0 addr 0x4a
tps65950pm3	at iic0 addr 0x4b

# On-board 16550 UARTs
com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
options         CONSADDR=0x49020000, CONSPEED=115200
#com1		at obio0 addr 0x4806c000 intr 73 mult 4	# UART2 (bluetooth)
com2		at obio0 addr 0x4806a000 intr 72 mult 4	# UART1 (Gallop's GPS)

# Operating System Timer
omapmputmr0	at obio2 addr 0x49032000 intr 38		# GP Timer 2
# Statistics Timer
omapmputmr1	at obio2 addr 0x49034000 intr 39		# GP Timer 3
# Microtime Reference Timer
omapmputmr2	at obio2 addr 0x49036000 intr 40		# GP Timer 4
options OMAP_MPU_TIMER_CLOCK_FREQ=13000000

# Watchdog timers
omapwdt32k*	at obio1 addr 0x48314000 size 0x1000		# WDT2
#omapwdt32k*	at obio2 addr 0x49030000 size 0x1000		# WDT3

# onboard DMA
omapdma0	at obio0 addr 0x48056000 size 0x1000

# Power, Reset and Clock Management
prcm*		at obio1 addr 0x48306000 size 0x2000		# PRM Module

# SDHC controllers
sdhc0		at obio0 addr 0x4809c000 size 0x1000 intr 83
sdhc1		at obio0 addr 0x480b4000 size 0x1000 intr 86 # Wifi

sdmmc*		at sdhc?					# SD/MMC bus
ld*		at sdmmc?

# NAND controller
omapnand0	at gpmc? cs 0

# NAND layer
nand0		at nandbus?

# use the bad block table
options NAND_BBT

# Define flash partitions for board
flash0		at nand0 offset 0x000000 size 0x080000 readonly 1 # SPL
flash1		at nand0 offset 0x080000 size 0x1c0000 readonly 1 # U-Boot
flash2		at nand0 offset 0x240000 size 0x040000 readonly 1 # Environment
flash3		at nand0 offset 0x280000 size 0x800000		# Kernel
flash4		at nand0 offset 0xa80000 size 0			# Filesystem

# Hardware clocking and power management

options		HWCLOCK
options		HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options		OMAP_CK_REF_SPEED=12000000

# overo expansion boards

# SMSC LAN9221
smsh0		at gpmc? cs 5 intr 272			# Tobi, Chestnut43
smsh1		at gpmc? cs 4 intr 161			# Tobi-Duo

# MII/PHY support
ukphy*		at mii? phy ?				# smsh(4) internal PHY

# LCD/DVI-D
#omapfb* 	at obio0 addr 0x48050000 size 0x1000	# Chestnut*, Palo*,
							# Gallop* (LCD)
							# Tobi, Summit (DVI-D)

# make sure the console display is always wsdisplay0
#wsdisplay*	at wsemuldisplaydev? console ?

# various options for wscons - we try to look as much like a standard
# sun console as possible
#options 	WSEMUL_VT100			# sun terminal emulation
#options 	WS_DEFAULT_FG=WSCOL_BLACK
#options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
#options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
#options 	WSDISPLAY_COMPAT_USL		# VT handling
#options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
#options 	WSDISPLAY_DEFAULTSCREENS=4
#options 	FONT_QVSS8x15
#options 	FONT_GALLANT12x22		# the console font

# USB Host
ehci*		at obio0 addr 0x48064800 size 0x1000 intr 77
							# Chestnut*, Palo*,
							# RoboVero, Summit,
							# Tobi, TurtleCore
usb*		at ehci?

# USB Hubs
uhub*		at usb?
uhub*		at uhub? port ?

umass*		at uhub? port ?
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?
wd*		at umass?

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	bio			# RAID control device driver
#pseudo-device	ccd			# concatenated/striped disk devices
pseudo-device	cgd			# cryptographic disk devices
#pseudo-device	raid			# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
#pseudo-device	fss			# file system snapshot device

#pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	vnd			# disk-like interface to files
options 	VND_COMPRESSION		# compressed vnd(4)
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
#pseudo-device	ppp			# Point-to-Point Protocol
#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
#pseudo-device	sl			# Serial Line IP
#pseudo-device	strip			# Starmode Radio IP (Metricom)
#pseudo-device	irframetty		# IrDA frame line discipline
pseudo-device	tap			# virtual Ethernet
#pseudo-device	tun			# network tunneling over tty
#pseudo-device	gre			# generic L3 over IP tunnel
#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
#pseudo-device	faith			# IPv[46] TCP relay translation i/f
#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
#pseudo-device	agr			# IEEE 802.3ad link aggregation
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#pseudo-device	sequencer		# MIDI sequencer
options 	RND_COM
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
#pseudo-device	btuart			# Bluetooth HCI UART (H4)
					# CSR or WiLink 8 module

# 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

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

# data mover pseudo-devices
#pseudo-device	swdmover		# software dmover(9) back-end
#pseudo-device	dmoverio		# /dev/dmover dmover(9) interface

# userland interface to drivers, including autoconf and properties retrieval
pseudo-device	drvctl

#options 	FILEASSOC		# fileassoc(9) - required for Veriexec
					# and PAX_SEGVGUARD

# Veriexec
#pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options 	VERIFIED_EXEC_FP_RMD160
#options 	VERIFIED_EXEC_FP_SHA256
#options 	VERIFIED_EXEC_FP_SHA384
#options 	VERIFIED_EXEC_FP_SHA512
#options 	VERIFIED_EXEC_FP_SHA1
#options 	VERIFIED_EXEC_FP_MD5

#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization