MINI2440 revision 1.21
1#	$NetBSD: MINI2440,v 1.21 2017/07/29 18:08:57 maxv Exp $
2#
3#	MINI2440 -- Friendly ARM evaluation board based on Samsung S3C2440
4#
5
6include	"arch/evbarm/conf/std.mini2440"
7
8#options 	DEBUG
9#options 	LOCKDEBUG
10#options 	DIAGNOSTIC	# internal consistency checks
11#makeoptions 	DEBUG="-g3"	# compile full symbol table
12#makeoptions 	PROF="-pg"
13#options 	GPROF
14options 	DDB
15
16#options 	DEBUG_DMA
17#options 	SSSDI_DEBUG
18#options 	SDMMC_DEBUG
19#options 	SDMMC_DUMP_CSD
20#options 	MSDOSFS_DEBUG
21
22#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
23
24# Enable the hooks used for initializing the root memory-disk.
25#options 	MEMORY_DISK_HOOKS
26#options 	MEMORY_DISK_DYNAMIC
27#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
28#options 	MEMORY_DISK_SERVER=1	# no userspace memory disk support
29#options 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
30#options 	MEMORY_DISK_ROOT_SIZE=2880	# 1.44M, same as a floppy
31#
32options 	NFS_BOOT_BOOTP
33options 	NFS_BOOT_DHCP
34
35# estimated number of users
36
37maxusers	32
38
39# Standard system options
40
41options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
42options 	NTP		# NTP phase/frequency locked loop
43
44# CPU options
45
46options 	CPU_ARM9	# Support the ARM9TDMI core
47makeoptions 	CPUFLAGS="-march=armv4"
48#options 	ARM9_CACHE_WRITE_THROUGH
49
50# Architecture options
51
52options 	S3C2XX0_XTAL_CLK=12000000     # 12MHz Xtal
53
54# File systems
55
56file-system	FFS		# UFS
57#file-system	LFS		# log-structured file system
58#file-system	MFS		# memory file system
59file-system	NFS		# Network file system
60#file-system 	ADOSFS		# AmigaDOS-compatible file system
61#file-system 	EXT2FS		# second extended file system (linux)
62#file-system	CD9660		# ISO 9660 + Rock Ridge file system
63file-system	MSDOSFS		# MS-DOS file system
64file-system	FDESC		# /dev/fd
65file-system	KERNFS		# /kern
66#file-system	NULLFS		# loopback file system
67file-system	PROCFS		# /proc
68#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
69#file-system	UMAPFS		# NULLFS + uid and gid remapping
70#file-system	UNION		# union file system
71file-system	PTYFS		# /dev/pts/N support
72
73# File system options
74#options 	QUOTA		# UFS quotas
75#options 	DISKLABEL_EI	# disklabel Endian Independent support
76#options 	FFS_EI		# FFS Endian Independent support
77#options 	NFSSERVER
78#options 	SOFTDEP
79options 	WAPBL		# File system journaling support - Experimental
80#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
81
82# Networking options
83
84#options 	GATEWAY		# packet forwarding
85options 	INET		# IP + ICMP + TCP + UDP
86#options 	INET6		# IPV6
87#options 	IPSEC		# IP security
88#options 	IPSEC_DEBUG	# debug for IP security
89#options 	MROUTING	# IP multicast routing
90#options 	PIM		# Protocol Independent Multicast
91#options 	NETATALK	# AppleTalk networking
92#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
93#options 	PPP_DEFLATE	# Deflate compression support for PPP
94#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
95#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
96
97# These options enable verbose messages for several subsystems.
98# Warning, these may compile large string tables into the kernel!
99#options 	MIIVERBOSE	# verbose PHY autoconfig messages
100#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
101#options 	SCSIVERBOSE	# human readable SCSI error messages
102#options 	USBVERBOSE	# verbose USB device autoconfig messages
103
104
105# Compatibility options
106
107options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
108#options 	COMPAT_43	# 4.3BSD compatibility.
109#options 	COMPAT_09	# NetBSD 0.9,
110#options 	COMPAT_10	# NetBSD 1.0,
111#options 	COMPAT_11	# NetBSD 1.1,
112#options 	COMPAT_12	# NetBSD 1.2,
113#options 	COMPAT_13	# NetBSD 1.3,
114#options 	COMPAT_14	# NetBSD 1.4,
115#options 	COMPAT_15	# NetBSD 1.5,
116#options 	COMPAT_16	# NetBSD 1.6,
117#options 	COMPAT_20	# NetBSD 2.0,
118#options 	COMPAT_30	# NetBSD 3.0, and
119options 	COMPAT_40	# NetBSD 4.0 binary compatibility.
120options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
121
122# Shared memory options
123
124#options 	SYSVMSG		# System V-like message queues
125#options 	SYSVSEM		# System V-like semaphores
126#options 	SYSVSHM		# System V-like memory sharing
127
128# Miscellaneous kernel options
129#options 	KTRACE		# system call tracing, a la ktrace(1)
130#options 	IRQSTATS	# manage IRQ statistics
131#options 	LKM		# loadable kernel modules
132#options 	SCSIVERBOSE	# Verbose SCSI errors
133#options 	PCIVERBOSE	# Verbose PCI descriptions
134#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
135#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
136#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
137					# configure PCI devices
138#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
139#options 	PCI_DEBUG
140options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
141#options 	USERCONF	# userconf(4) support
142#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
143#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
144
145# Development and Debugging options
146
147#options 	ARM700BUGTRACK	# track the ARM700 swi bug
148#options 	PORTMASTER	# Enable PortMaster only options
149#options 	DIAGNOSTIC	# internal consistency checks
150#options 	PMAP_DEBUG	# Enable pmap_debug_level code
151#options 	UVMHIST
152#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
153#options 	KGDB
154#options  	DEBUG_KGDB
155#options 	DDB		# in-kernel debugger
156#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
157#makeoptions 	DEBUG="-g3"	# compile full symbol table
158
159config		netbsd	root on ? type ?
160
161# The main bus device
162mainbus0	at root
163
164# The boot CPU
165cpu0		at mainbus?
166
167# Core logic on Samsung S3C2440
168ssio0	at mainbus?
169ssextio0 at ssio0
170
171# integrated UART
172sscom0	at ssio? index 0
173#sscom1	at ssio? index 1
174#sscom2	at ssio? index 2
175options 	SSCOM0CONSOLE
176#options 	SSCOM1CONSOLE
177options CONSPEED=115200
178#options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
179#options KGDB_DEVRATE=115200
180
181# LCD
182#device-major	lcd	char 145
183lcd0		at ssio?
184wsdisplay*	at lcd? console ?
185options 	WSEMUL_VT100		# VT100 / VT220 emulation
186options 	WSDISPLAY_DEFAULTSCREENS=1
187#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
188#options 	FONT_VT220L8x16
189#options 	FONT_VT220L8x10
190#options 	LCD_DEBUG
191
192sstouch0 at ssio?
193wsmouse* at sstouch0 mux 0
194
195ssrtc0 at ssio?
196
197ssiis0 at ssio?
198udassio* at ssiis0
199
200sssdi0 at ssio?
201sdmmc* at sssdi0
202ld*    at sdmmc?
203
204# SPI port
205#ssspi0	at ssio? index 0
206#ssspi1	at ssio? index 1
207
208#vsdsp0 at ssspi0
209
210# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
211#sskbd0	at ssspi1	intr 1
212#wskbd* at sskbd? # console ?
213
214# SCSI bus support
215scsibus* at scsi?
216
217# SCSI devices
218sd*	at scsibus? target ? lun ?	# SCSI disk drives
219#st*	at scsibus? target ? lun ?	# SCSI tape drives
220#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
221#ch*	at scsibus? target ? lun ?	# SCSI autochangers
222#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
223#ss*	at scsibus? target ? lun ?	# SCSI scanners
224#uk*	at scsibus? target ? lun ?	# SCSI unknown
225
226# ATAPI bus support
227#atapibus* at atapi?
228
229# ATAPI devices
230# flags have the same meaning as for IDE drives.
231#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
232#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
233#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
234#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
235
236# MIDI support
237#midi*	at midibus?
238# midi*	at pcppi?		# MIDI interface to the PC speaker
239
240# Audio support
241audio*	at audiobus?
242
243spkr*	at audio?		# PC speaker (synthesized)
244
245dme0     at ssextio? intr 7 addr 0x20000300
246
247#options 	MINI2440_ETHER_ADDR_FIXED="0x08,0x08,0x11,0x18,0x12,0x27"
248
249# built-in OHCI USB controller
250ohci0	at ssio? addr 0x49000000 intr 26
251#options 	OHCI_DEBUG
252#
253usb*	at ohci0
254
255# USB Hubs
256uhub*	at usb?
257uhub*	at uhub? port ?
258
259# USB HID device
260#uhidev*	at uhub? port ? configuration ? interface ?
261
262# USB Mice
263#ums*	at uhidev? reportid ?
264#wsmouse* at ums? mux 0
265
266# USB Keyboards
267#ukbd*	at uhidev? reportid ?
268#wskbd*	at ukbd? console ? mux 1
269
270# USB serial adapter
271#ucycom*	at uhidev? reportid ?
272
273# USB Generic HID devices
274#uhid*	at uhidev? reportid ?
275
276# USB Printer
277#ulpt*	at uhub? port ? configuration ? interface ?
278
279# USB Modem
280#umodem*	at uhub? port ? configuration ?
281#ucom*	at umodem?
282
283# USB Mass Storage
284umass*	at uhub? port ? configuration ? interface ?
285wd* at umass?
286
287# USB audio
288#uaudio*	at uhub? port ? configuration ?
289
290# USB MIDI
291#umidi* at uhub? port ? configuration ?
292
293# USB IrDA
294# USB-IrDA bridge spec
295#uirda* at uhub? port ? configuration ? interface ?
296#irframe* at uirda?
297
298# SigmaTel STIr4200 USB/IrDA Bridge
299#ustir* at uhub? port ?
300#irframe* at ustir?
301
302# USB Ethernet adapters
303#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
304#axe*	at uhub? port ?		# ASIX AX88172 based adapters
305#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
306#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
307#url*	at uhub? port ?		# Realtek RTL8150L based adapters
308
309# Prolific PL2301/PL2302 host-to-host adapter
310#upl*	at uhub? port ?
311
312# Serial adapters
313#ubsa*	at uhub? port ?		# Belkin serial adapter
314#ucom*	at ubsa? portno ?
315#
316#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
317#ucom*	at uftdi? portno ?
318#
319#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
320#ucom*	at umct? portno ?
321#
322#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
323#ucom*	at uplcom? portno ?
324#
325#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
326#ucom*	at uvscom? portno ?
327
328# Diamond Multimedia Rio 500
329#urio*	at uhub? port ?
330
331# USB Handspring Visor
332#uvisor*	at uhub? port ?
333#ucom*	at uvisor?
334
335# Kyocera AIR-EDGE PHONE
336#ukyopon* at uhub? port ?
337#ucom*	at ukyopon? portno ?
338
339# USB scanners
340#uscanner* at uhub? port ?
341
342# USB scanners that use SCSI emulation, e.g., HP5300
343#usscanner* at uhub? port ?
344
345# Y@P firmware loader
346#uyap* at uhub? port ?
347
348# D-Link DSB-R100 USB radio
349#udsbr*	at uhub? port ?
350#radio*	at udsbr?
351
352# USB Generic driver
353#ugen*	at uhub? port ?
354
355# Pseudo-Devices
356
357# disk/mass storage pseudo-devices
358#pseudo-device	md			# memory disk device (ramdisk)
359pseudo-device	vnd			# disk-like interface to files
360#pseudo-device	fss			# file system snapshot device
361#pseudo-device	putter			# for puffs and pud
362
363# network pseudo-devices
364pseudo-device	bpfilter		# Berkeley packet filter
365#pseudo-device	ipfilter		# IP filter (firewall) and NAT
366pseudo-device	loop			# network loopback
367#pseudo-device	ppp			# Point-to-Point Protocol
368#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
369#pseudo-device	sl			# Serial Line IP
370#pseudo-device	strip			# Starmode Radio IP (Metricom)
371#pseudo-device	irframetty		# IrDA frame line discipline
372#pseudo-device	tun			# network tunneling over tty
373#pseudo-device	tap			# virtual Ethernet
374#pseudo-device	gre			# generic L3 over IP tunnel
375#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
376#pseudo-device	faith			# IPv[46] tcp relay translation i/f
377#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
378#pseudo-device	vlan			# IEEE 802.1q encapsulation
379#pseudo-device	bridge			# simple inter-network bridging
380#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
381
382# miscellaneous pseudo-devices
383pseudo-device	pty			# pseudo-terminals
384#pseudo-device	rnd			# /dev/random and in-kernel generator
385pseudo-device	clockctl		# user control of clock subsystem
386
387# wscons pseudo-devices
388pseudo-device	wsmux			# mouse & keyboard multiplexor
389#pseudo-device	wsfont
390
391pseudo-device	ksyms			# /dev/ksyms
392