sys/arch/acorn32/conf/LOWMEM_WSCONS
author thorpej <thorpej@NetBSD.org>
Mon, 14 May 2018 21:05:17 +0000
branchtrunk
changeset 319052 716b4759034f
parent 272037 490b13678c41
child 319692 edf27d17b41d
permissions -rw-r--r--
Fully specifiy the location of indirectly-configured I2C devices. In particular, the parent spec must not be wild-carded, as doing so doesn't work well on systems where more than one I2C bus is present.

#	$NetBSD: LOWMEM_WSCONS,v 1.73 2018/05/14 21:05:17 thorpej Exp $
#
#	LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines
#

include	"arch/acorn32/conf/std.acorn32"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

# estimated number of users

maxusers	2

# 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_SA110	# Support the SA110 core
options 	CPU_ARM6	# Support the ARM6 core
options 	CPU_ARM7	# Support the ARM7 core
#options 	CPU_ARM8	# Support the ARM8 core
#options 	ARM6_LATE_ABORT	# ARM6XX late abort support

# For StrongARM only kernels
#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"

# For small kernels
makeoptions	COPTS="-Os -fno-inline -Dinline= -D__inline__= -D_inline_= "

# 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	FILECORE	# Acorn filecore file system
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union 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 	NFSSERVER
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

# Compatibility options

include 	"conf/compat_netbsd13.config"

# 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=3400	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	IRQSTATS	# manage IRQ statistics
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 	ARM700BUGTRACK	# track the ARM700 swi bug
#options 	PORTMASTER	# Enable PortMaster only options
#options 	DIAGNOSTIC	# internal consistency checks
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	DDB		# in-kernel debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#makeoptions	DEBUG="-g"	# compile full symbol table

config		netbsd	root on wd0a type ?
#config		netbsd	root on ? type ?

# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
# this really be fixed some day
#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600

# The main bus device
mainbus0 at root

# The boot CPU
cpu0 at mainbus?

# The IOMD
iomd0	at mainbus?

# system clock via IOMD
clock*	at iomd?

# IIC bus device
iomdiic* at iomd?
iic0 at iomdiic?

# RTC device via IIC bus
pcfrtc*	at iic0 addr 0x50

# VIDC device
vidc0		at mainbus?

# WSCONS
# ws console uses DUMB, SUN or VT100 terminal emulation
#options 	WSEMUL_NODUMB
#options 	WSEMUL_SUN
options 	WSEMUL_VT100

#options 	WSDISPLAY_COMPAT_RAWKBD
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling

#options 	FONT_BOLD8x16
#options 	FONT_GALLANT12x22	# Very nice font
#options 	FONT_LUCIDA16x29
#options 	FONT_OMRON12x20		# looks funny
#options 	FONT_QVSS8x15		# broken ?
options 	FONT_SONY12x25		# looks like VT220 font
#options 	FONT_SONY8x16		# not tested
#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
#options 	FONT_VT220L8x10		# not tested
#options 	FONT_VT220L8x20		# not tested

vidcvideo0	at vidc?		# wscons driver for VIDC
wsdisplay*	at vidcvideo? console ? # display itself

iomdkbc*	at iomd?		# IOMD keyboard/mouse interface

pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
options 	PCKBD_LAYOUT=KB_UK
wskbd*		at pckbd?

pms*		at iomdkbc? slot ?	# PS/2 mouse
wsmouse*	at pms?

qms*		at iomd?		# ws quadmouse driver
wsmouse*	at qms?			# wsmouse on ws quadmouse

pseudo-device	wsmux


# Peripheral IO Controller
pioc0	at mainbus? base 0x00210000

# IDE disk controller
wdc0	at pioc? offset 0x01f0 irq 9
#wdc*	at pioc? offset 0x0170 irq -1

# ATA (IDE) bus support
atabus* at ata?

wd*	at atabus? drive ?
#atapibus* at atapi?
#cd*	at atapibus? drive ?
#sd*	at atapibus? drive ?

# Floppy disk controller
fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
fdc*	at pioc? offset 0x0370 irq -1 dack 0x2000
fd0	at fdc? drive ?

# Serial ports
com*	at pioc? offset 0x03f8 irq 10
#com*	at pioc? offset 0x02f8 irq -1
#com*	at pioc? offset 0x0338 irq -1
#com*	at pioc? offset 0x0238 irq -1

# Parallel ports
lpt*	at pioc? offset 0x0278 irq 0
#lpt*	at pioc? offset 0x0378 irq -1
#lpt*	at pioc? offset 0x03bc irq -1

# Audio device
vidcaudio0	at vidc?
audio*		at vidcaudio0

spkr*	at audio?			# PC speaker (synthesized)

# Podule bus device
#podulebus0	at root

#sec*	at podulebus?			# Acorn SCSI card
#scsibus* at sec?

#cosc*	at podulebus?			# MCS Connect32 SCSI II card
#scsibus* at cosc?

#ptsc*	at podulebus?			# Power-Tec SCSI II card
#scsibus* at ptsc?

#csc*	at podulebus?			# Cumana SCSI II card
#scsibus* at csc?

#oak*	at podulebus?			# Oak SCSI I card
#scsibus* at oak?

#csa*	at podulebus?			# Cumana SCSI I adapter
#scsibus* at csa?

#hcsc*	at podulebus0 slot ?	# HCCS 8-bit SCSI interface
#scsibus* at hcsc?

#sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI auto-changers
#uk*	at scsibus? target ? lun ?	# SCSI unknown device
#ss*	at scsibus? target ? lun ?	# SCSI scanner

#icside*	at podulebus?			# ICS IDE card

#rapide*	at podulebus?			# Yellowstone RapIDE card

#simide*	at podulebus?			# Simtec IDE card

#amps*	at podulebus?			# Atomwide Multi-Port Serial card
#com*	at amps?

#ei*	at podulebus?			# Ether1 podules
#ea*	at podulebus?			# Ether3 podules
#eb0	at podulebus?			# EtherB network slot cards
#ne*	at podulebus?			# NE2000 clone cards

pseudo-device	loop			# network loopback
#pseudo-device	bpfilter		# packet filter
#pseudo-device	sl			# CSLIP
pseudo-device	ppp			# PPP
#pseudo-device	tun			# network tunneling over tty
#pseudo-device	ipfilter		# ip filter
#pseudo-device	strip			# STRIP
pseudo-device	pty			# pseudo-terminals
pseudo-device	vnd			# disk-like interface to files
#pseudo-device	ccd			# concatenated disk devices
#pseudo-device	fss			# file system snapshot device
pseudo-device	md			# Ramdisk driver
pseudo-device	clockctl		# user control of clock subsystem

# If the standard modes don't work for your monitor, you can specify
# a RISC-OS-format monitor definition file and a list of modes here.

#makeoptions	MONITOR="Taxan875+LR"
#makeoptions	MONITOR="AKF60"
#makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"