MINI2440 revision 1.28
1#	$NetBSD: MINI2440,v 1.28 2020/01/29 18:39:01 maya 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
107include 	"conf/compat_netbsd40.config"
108options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
109
110# Shared memory options
111
112#options 	SYSVMSG		# System V-like message queues
113#options 	SYSVSEM		# System V-like semaphores
114#options 	SYSVSHM		# System V-like memory sharing
115
116# Miscellaneous kernel options
117#options 	KTRACE		# system call tracing, a la ktrace(1)
118#options 	IRQSTATS	# manage IRQ statistics
119#options 	LKM		# loadable kernel modules
120#options 	SCSIVERBOSE	# Verbose SCSI errors
121#options 	PCIVERBOSE	# Verbose PCI descriptions
122#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
123#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
124#options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
125					# configure PCI devices
126#options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
127#options 	PCI_DEBUG
128options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
129#options 	USERCONF	# userconf(4) support
130#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
131#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
132
133# Development and Debugging options
134
135#options 	ARM700BUGTRACK	# track the ARM700 swi bug
136#options 	PORTMASTER	# Enable PortMaster only options
137#options 	DIAGNOSTIC	# internal consistency checks
138#options 	PMAP_DEBUG	# Enable pmap_debug_level code
139#options 	UVMHIST
140#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
141#options 	KGDB
142#options  	DEBUG_KGDB
143#options 	DDB		# in-kernel debugger
144#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
145#makeoptions 	DEBUG="-g3"	# compile full symbol table
146
147config		netbsd	root on ? type ?
148
149# The main bus device
150mainbus0	at root
151
152# The boot CPU
153cpu0		at mainbus?
154
155# Core logic on Samsung S3C2440
156ssio0	at mainbus?
157ssextio0 at ssio0
158
159# integrated UART
160sscom0	at ssio? index 0
161#sscom1	at ssio? index 1
162#sscom2	at ssio? index 2
163options 	SSCOM0CONSOLE
164#options 	SSCOM1CONSOLE
165options CONSPEED=115200
166#options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
167#options KGDB_DEVRATE=115200
168
169# LCD
170#device-major	lcd	char 145
171lcd0		at ssio?
172wsdisplay*	at lcd? console ?
173options 	WSEMUL_VT100		# VT100 / VT220 emulation
174options 	WSDISPLAY_DEFAULTSCREENS=1
175#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
176#options 	FONT_VT220L8x16
177#options 	FONT_VT220L8x10
178#options 	LCD_DEBUG
179
180sstouch0 at ssio?
181wsmouse* at sstouch0 mux 0
182
183ssrtc0 at ssio?
184
185ssiis0 at ssio?
186udassio* at ssiis0
187
188sssdi0 at ssio?
189sdmmc* at sssdi0
190ld*    at sdmmc?
191
192# SPI port
193#ssspi0	at ssio? index 0
194#ssspi1	at ssio? index 1
195
196#vsdsp0 at ssspi0
197
198# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
199#sskbd0	at ssspi1	intr 1
200#wskbd* at sskbd? # console ?
201
202# SCSI bus support
203scsibus* at scsi?
204
205# SCSI devices
206sd*	at scsibus? target ? lun ?	# SCSI disk drives
207#st*	at scsibus? target ? lun ?	# SCSI tape drives
208#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
209#ch*	at scsibus? target ? lun ?	# SCSI autochangers
210#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
211#ss*	at scsibus? target ? lun ?	# SCSI scanners
212#uk*	at scsibus? target ? lun ?	# SCSI unknown
213
214# ATAPI bus support
215#atapibus* at atapi?
216
217# ATAPI devices
218# flags have the same meaning as for IDE drives.
219#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
220#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
221#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
222#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
223
224# MIDI support
225#midi*	at midibus?
226# midi*	at pcppi?		# MIDI interface to the PC speaker
227
228# Audio support
229audio*	at audiobus?
230
231spkr*	at audio?		# PC speaker (synthesized)
232
233dme0     at ssextio? intr 7 addr 0x20000300
234
235#options 	MINI2440_ETHER_ADDR_FIXED="0x08,0x08,0x11,0x18,0x12,0x27"
236
237# built-in OHCI USB controller
238ohci0	at ssio? addr 0x49000000 intr 26
239#options 	OHCI_DEBUG
240#
241usb*	at ohci0
242
243# USB Hubs
244uhub*	at usb?
245uhub*	at uhub? port ?
246
247# USB HID device
248#uhidev*	at uhub? port ? configuration ? interface ?
249
250# USB Mice
251#ums*	at uhidev? reportid ?
252#wsmouse* at ums? mux 0
253
254# USB Keyboards
255#ukbd*	at uhidev? reportid ?
256#wskbd*	at ukbd? console ? mux 1
257
258# USB serial adapter
259#ucycom*	at uhidev? reportid ?
260
261# USB Generic HID devices
262#uhid*	at uhidev? reportid ?
263
264# USB Printer
265#ulpt*	at uhub? port ? configuration ? interface ?
266
267# USB Modem
268#umodem*	at uhub? port ? configuration ?
269#ucom*	at umodem?
270
271# USB Mass Storage
272umass*	at uhub? port ? configuration ? interface ?
273
274# USB audio
275#uaudio*	at uhub? port ? configuration ?
276
277# USB MIDI
278#umidi* at uhub? port ? configuration ?
279
280# USB IrDA
281# USB-IrDA bridge spec
282#uirda* at uhub? port ? configuration ? interface ?
283#irframe* at uirda?
284
285# SigmaTel STIr4200 USB/IrDA Bridge
286#ustir* at uhub? port ?
287#irframe* at ustir?
288
289# MII/PHY support
290#rgephy* at mii? phy ?		# Realtek 8169S/8110S/8211 PHYs
291#rlphy* at mii? phy ?		# Realtek 8139/8201L PHYs
292#ukphy*	at mii? phy ?		# generic unknown PHYs
293#urlphy* at mii? phy ?		# Realtek RTL8150L internal PHYs
294
295# USB Ethernet adapters
296#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
297#axe*	at uhub? port ?		# ASIX AX88172 based adapters
298#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
299#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
300#mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
301#ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
302#url*	at uhub? port ?		# Realtek RTL8150L based adapters
303
304# Prolific PL2301/PL2302 host-to-host adapter
305#upl*	at uhub? port ?
306
307# Serial adapters
308#ubsa*	at uhub? port ?		# Belkin serial adapter
309#ucom*	at ubsa? portno ?
310#
311#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
312#ucom*	at uftdi? portno ?
313#
314#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
315#ucom*	at umct? portno ?
316#
317#uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
318#ucom*	at uplcom? portno ?
319#
320#uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
321#ucom*	at uvscom? portno ?
322
323# USB Handspring Visor
324#uvisor*	at uhub? port ?
325#ucom*	at uvisor?
326
327# Kyocera AIR-EDGE PHONE
328#ukyopon* at uhub? port ?
329#ucom*	at ukyopon? portno ?
330
331# USB scanners
332#uscanner* at uhub? port ?
333
334# USB scanners that use SCSI emulation, e.g., HP5300
335#usscanner* at uhub? port ?
336
337# Y@P firmware loader
338#uyap* at uhub? port ?
339
340# D-Link DSB-R100 USB radio
341#udsbr*	at uhub? port ?
342#radio*	at udsbr?
343
344# USB Generic driver
345#ugen*	at uhub? port ?
346
347# Pseudo-Devices
348
349# disk/mass storage pseudo-devices
350#pseudo-device	md			# memory disk device (ramdisk)
351pseudo-device	vnd			# disk-like interface to files
352#pseudo-device	fss			# file system snapshot device
353#pseudo-device	putter			# for puffs and pud
354
355# network pseudo-devices
356pseudo-device	bpfilter		# Berkeley packet filter
357#pseudo-device	npf			# NPF packet filter
358pseudo-device	loop			# network loopback
359#pseudo-device	ppp			# Point-to-Point Protocol
360#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
361#pseudo-device	sl			# Serial Line IP
362#pseudo-device	irframetty		# IrDA frame line discipline
363#pseudo-device	tun			# network tunneling over tty
364#pseudo-device	tap			# virtual Ethernet
365#pseudo-device	gre			# generic L3 over IP tunnel
366#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
367#pseudo-device	faith			# IPv[46] tcp relay translation i/f
368#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
369#pseudo-device	vlan			# IEEE 802.1q encapsulation
370#pseudo-device	bridge			# simple inter-network bridging
371#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
372
373# miscellaneous pseudo-devices
374pseudo-device	pty			# pseudo-terminals
375#pseudo-device	rnd			# /dev/random and in-kernel generator
376pseudo-device	clockctl		# user control of clock subsystem
377
378# wscons pseudo-devices
379pseudo-device	wsmux			# mouse & keyboard multiplexor
380#pseudo-device	wsfont
381
382pseudo-device	ksyms			# /dev/ksyms
383