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