summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/conf/RAMDISK-OMAP
blob: f8fb8be2d47161dd869126870b0e954aca3f0856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# $OpenBSD: RAMDISK-OMAP,v 1.8 2014/07/12 21:56:56 tedu Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default OpenBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine	armv7	arm

options	TIMEZONE=0	# time zone to adjust RTC time by
options	DST=0		# daylight saving time used by RTC
options	FFS		# UFS
#options	CD9660		# ISO 9660 + Rock Ridge file system
options	MSDOSFS		# MS-DOS file system
options	INET		# IP + ICMP + TCP + UDP
options	INET6		# IPv6 (needs INET)
options	DDB		# kernel debugger
options	DIAGNOSTIC
options	FIFO		# FIFOs; RECOMMENDED
#options	NFSCLIENT	# NFS 

makeoptions	KERNEL_BASE_PHYS="0x80300000"
makeoptions	KERNEL_BASE_VIRT="0xc0300000"
options	BUILD_STARTUP_PAGETABLE
options	STARTUP_PAGETABLE_ADDR=0x80200000
options	SDRAM_START="0x80000000"

# estimated number of users

maxusers	32

# CPU options
options	CPU_ARMv7	# Support the ARMv7

#option WSDISPLAY_COMPAT_USL		# VT handling
#option WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=1
#option WSDISPLAY_COMPAT_PCVT		# emulate some ioctls

option		USBVERBOSE

config		bsd	root on rd0a swap on rd0b

# The main bus device
mainbus0	at root
cpu0		at mainbus?

# OMAP3xxx/OMAP4xxx SoC
omap0		at mainbus?
omapid*		at omap?

# Cortex-A9 (OMAP4)
cortex0		at mainbus?
ampintc*	at cortex?
amptimer*	at cortex?
#armliicc*	at cortex?		# L2 cache controller

# OMAP3 only
intc*		at omap?			# interrupt controller

# OMAP on-chip devices
prcm*		at omap?			# power/clock controller
sitaracm*	at omap?			# sitara control module
omdog*		at omap?			# watchdog timer
omgpio*		at omap?			# user-visible GPIO pins?
gptimer*	at omap?			# general purpose timers
dmtimer*	at omap?			# am335x dual mode timers
ommmc*		at omap?			# SD/MMC card controller
omusbtll*	at omap?
cpsw*		at omap?

#omkbd0		at omap?
#wskbd*		at omkbd? mux 1

ehci*		at omap?			# EHCI (shim)
usb*		at ehci?

#mcspi0		at omap? addr 0x48098000 intr 65
#mcspi1		at omap? addr 0x4809A000 intr 66

#atlas0		at omap? intr 85	# really a spi device, not omap
#wskbd*		at atlas? mux 1 

#usbotg0	at omap?
#usb*		at ohci?

## USB bus support
usb*		at ehci?	flags 0x1
uhub*		at usb?
uhub*		at uhub?

uhub*		at usb?			# USB Hubs
# uhub*		at uhub?		# USB Hubs
# umodem*		at uhub?		# USB Modems/Serial
# ucom*		at umodem?
# uvisor*		at uhub?		# Handspring Visor
# ucom*		at uvisor?
# uvscom*		at uhub?		# SUNTAC Slipper U VS-10U serial
# ucom*		at uvscom?
# ubsa*		at uhub?		# Belkin serial adapter
# ucom*		at ubsa?
# uftdi*		at uhub?		# FTDI FT8U100AX serial adapter
# ucom*		at uftdi?
# uplcom* 	at uhub?		# I/O DATA USB-RSAQ2 serial adapter
# ucom*		at uplcom?
# umct*		at uhub?		# MCT USB-RS232 serial adapter
# ucom*		at umct?
# uaudio* 	at uhub?		# USB Audio
# audio*		at uaudio?
# umidi*		at uhub?		# USB MIDI
# midi*		at umidi?
# ulpt*		at uhub?		# USB Printers
umass*		at uhub?		# USB Mass Storage devices
scsibus*	at umass?
uhidev*		at uhub?		# Human Interface Devices
ums*		at uhidev?		# USB mouse
wsmouse*	at ums? mux 0
ukbd*		at uhidev?		# USB keyboard
wskbd*		at ukbd? mux 1
uhid*		at uhidev?		# USB generic HID support
# aue*		at uhub?		# ADMtek AN986 Pegasus Ethernet
# atu*		at uhub?		# Atmel AT76c50x based 802.11b
# axe*		at uhub?		# ASIX Electronics AX88172 USB Ethernet
# axen*		at uhub?		# ASIX Electronics AX88179 USB Ethernet
# cue*		at uhub?		# CATC USB-EL1201A based Ethernet
# kue*		at uhub?		# Kawasaki KL5KUSB101B based Ethernet
smsc*		at uhub?		# SMSC LAN95xx Ethernet
# cdce*		at uhub?		# CDC Ethernet
# upl*		at uhub?		# Prolific PL2301/PL2302 host-to-host `network'
# ugl*		at uhub?		# Genesys Logic GL620USB-A host-to-host `network'
# udav*		at uhub?		# Davicom DM9601 based Ethernet
# url*		at uhub?		# Realtek RTL8150L based adapters
# wi*		at uhub?		# WaveLAN IEEE 802.11DS
# urio*		at uhub?		# Diamond Multimedia Rio 500
# udsbr*		at uhub?		# D-Link DSB-R100 radio
# radio*		at udsbr?		# USB radio
# #ubt*		at uhub? disable	# USB Bluetooth
ugen*		at uhub?		# USB Generic driver
rum*		at uhub?		# Ralink RT2501USB/RT2601USB
# 
ukphy*	at mii?				# "unknown" PHYs

scsibus*	at scsi?
sd*		at scsibus?
st*		at scsibus?
cd*		at scsibus?
ch*		at scsibus?
uk*		at scsibus?


# onboard uarts
com*		at omap?

# LCD
#omdisplay0	at omap?
#wsdisplay*	at omdisplay? console ?

sdmmc*	at ommmc?		# SD/MMC bus

# Bluetooth controllers
#sbt*	at sdmmc? disable	# SDIO Bluetooth

# APM emulation
#apm0		at pxaip?

# Pseudo-Devices
#pseudo-device	wsmux		2	# mouse & keyboard multiplexor
#pseudo-device	crypto		1
pseudo-device	loop		1	# network loopback
pseudo-device   bpfilter        1       # packet filter
pseudo-device   rd              1       # ram disk
pseudo-device	hotplug		1	# devices hot plugging

# RAMDISK stuff
options	MINIROOTSIZE=10240
options	RAMDISK_HOOKS