SMDK2410 revision 1.79 1 # $NetBSD: SMDK2410,v 1.79 2022/08/07 02:52:25 simonb 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 FFS_EI # FFS Endian Independent support
61 #options FFS_NO_SNAPSHOT # No FFS snapshot support
62 #options QUOTA # legacy UFS quotas
63 #options QUOTA2 # new, in-filesystem UFS quotas
64 #options UFS_DIRHASH # UFS Large Directory Hashing
65 #options UFS_EXTATTR # Extended attribute support for UFS1
66 options WAPBL # File system journaling support
67 #options DISKLABEL_EI # disklabel Endian Independent support
68 #options NFSSERVER # Network File System server
69
70 # Networking options
71
72 options GATEWAY # packet forwarding
73 options INET # IP + ICMP + TCP + UDP
74 options INET6 # IPV6
75 #options IPSEC # IP security
76 #options IPSEC_DEBUG # debug for IP security
77 #options MROUTING # IP multicast routing
78 #options PIM # Protocol Independent Multicast
79 #options NETATALK # AppleTalk networking
80 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
81 #options PPP_DEFLATE # Deflate compression support for PPP
82 #options PPP_FILTER # Active filter support for PPP (requires bpf)
83 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
84
85 # These options enable verbose messages for several subsystems.
86 # Warning, these may compile large string tables into the kernel!
87 #options MIIVERBOSE # verbose PHY autoconfig messages
88 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
89 #options SCSIVERBOSE # human readable SCSI error messages
90 options USBVERBOSE # verbose USB device autoconfig messages
91
92 options NFS_BOOT_BOOTP
93 options NFS_BOOT_DHCP
94 options NFS_BOOT_BOOTPARAM
95
96 # Compatibility options
97
98 include "conf/compat_netbsd16.config"
99 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
100
101 # Shared memory options
102
103 options SYSVMSG # System V-like message queues
104 options SYSVSEM # System V-like semaphores
105 options SYSVSHM # System V-like memory sharing
106
107 # Miscellaneous kernel options
108 options KTRACE # system call tracing, a la ktrace(1)
109 #XXX: options IRQSTATS # manage IRQ statistics
110 options SCSIVERBOSE # Verbose SCSI errors
111 options PCIVERBOSE # Verbose PCI descriptions
112 options MIIVERBOSE # Verbose MII autoconfuration messages
113 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
114 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
115 # configure PCI devices
116 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
117 #options PCI_DEBUG
118 options DDB_KEYCODE=0x1d # Enter ddb on ^]
119 options USERCONF # userconf(4) support
120 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
121 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
122
123 # Development and Debugging options
124
125 #options ARM700BUGTRACK # track the ARM700 swi bug
126 #options PORTMASTER # Enable PortMaster only options
127 #options DIAGNOSTIC # internal consistency checks
128 #options UVMHIST # kernhist for uvm/pmap subsystems
129 #options VERBOSE_INIT_ARM # verbose bootstraping messages
130 #options KGDB
131 #options DEBUG_KGDB
132 #options DDB # in-kernel debugger
133 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
134 #makeoptions DEBUG="-g" # compile full symbol table
135 config netbsd root on ? type ?
136
137 # The main bus device
138 mainbus0 at root
139
140 # The boot CPU
141 cpu0 at mainbus?
142
143 # Core logic on Samsung S3C2410
144 ssio0 at mainbus?
145 ssextio0 at ssio0
146
147 # integrated UART
148 sscom0 at ssio? index 0
149 sscom1 at ssio? index 1
150 #sscom2 at ssio? index 2
151 options SSCOM0CONSOLE
152 #options SSCOM1CONSOLE
153 options CONSPEED=115200
154 options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1
155 options KGDB_DEVRATE=115200
156
157 # LCD
158 #device-major lcd char 145
159 lcd0 at ssio?
160 wsdisplay* at lcd? console ?
161 options WSEMUL_VT100 # VT100 / VT220 emulation
162 options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
163 options FONT_VT220L8x16
164 options FONT_VT220L8x10
165 #options LCD_DEBUG
166
167 # SPI port
168 #ssspi0 at ssio? index 0
169 ssspi1 at ssio? index 1
170
171 # on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
172 sskbd0 at ssspi1 intr 1
173 wskbd* at sskbd? # console ?
174
175 # SCSI bus support
176 scsibus* at scsi?
177
178 # SCSI devices
179 sd* at scsibus? target ? lun ? # SCSI disk drives
180 st* at scsibus? target ? lun ? # SCSI tape drives
181 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
182 ch* at scsibus? target ? lun ? # SCSI autochangers
183 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
184 ss* at scsibus? target ? lun ? # SCSI scanners
185 uk* at scsibus? target ? lun ? # SCSI unknown
186
187 # ATAPI bus support
188 atapibus* at atapi?
189
190 # ATAPI devices
191 # flags have the same meaning as for IDE drives.
192 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
193 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
194 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
195 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
196
197 # MIDI support
198 midi* at midibus?
199 # midi* at pcppi? # MIDI interface to the PC speaker
200
201 # Audio support
202 audio* at audiobus?
203
204 spkr* at audio? # PC speaker (synthesized)
205
206 # on-board CS8900A Ethernet
207 cs* at ssextio? intr 9 addr 0x18000000
208 # set MAC address to on-board CS8900A.
209 options SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
210
211 # built-in OHCI USB controller
212 ohci0 at ssio? addr 0x49000000 intr 26
213 options OHCI_DEBUG
214
215 usb* at ohci0
216
217 # USB Hubs
218 uhub* at usb?
219 uhub* at uhub? port ?
220
221 # USB HID device
222 uhidev* at uhub? port ? configuration ? interface ?
223
224 # USB Mice
225 ums* at uhidev? reportid ?
226 wsmouse* at ums? mux 0
227
228 # USB Keyboards
229 ukbd* at uhidev? reportid ?
230 wskbd* at ukbd? console ? mux 1
231
232 # USB serial adapter
233 ucycom* at uhidev? reportid ?
234
235 # USB Generic HID devices
236 uhid* at uhidev? reportid ?
237
238 # USB Printer
239 ulpt* at uhub? port ? configuration ? interface ?
240
241 # USB Modem
242 umodem* at uhub? port ? configuration ?
243 ucom* at umodem?
244
245 # Option N.V. Wireless WAN modems
246 uhso* at uhub? port ? configuration ?
247
248 # USB Mass Storage
249 umass* at uhub? port ? configuration ? interface ?
250
251 # USB audio
252 uaudio* at uhub? port ? configuration ?
253
254 # USB MIDI
255 umidi* at uhub? port ? configuration ?
256
257 # USB IrDA
258 # USB-IrDA bridge spec
259 uirda* at uhub? port ? configuration ? interface ?
260 irframe* at uirda?
261
262 # SigmaTel STIr4200 USB/IrDA Bridge
263 ustir* at uhub? port ?
264 irframe* at ustir?
265
266 # MII/PHY support
267 rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
268 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
269 ukphy* at mii? phy ? # generic unknown PHYs
270 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
271
272 # USB Ethernet adapters
273 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
274 axe* at uhub? port ? # ASIX AX88172 based adapters
275 cue* at uhub? port ? # CATC USB-EL1201A based adapters
276 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
277 mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters
278 ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters
279 url* at uhub? port ? # Realtek RTL8150L based adapters
280
281 # Prolific PL2301/PL2302 host-to-host adapter
282 upl* at uhub? port ?
283
284 # Serial adapters
285 ubsa* at uhub? port ? # Belkin serial adapter
286 ucom* at ubsa? portno ?
287
288 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
289 ucom* at uftdi? portno ?
290
291 umct* at uhub? port ? # MCT USB-RS232 serial adapter
292 ucom* at umct? portno ?
293
294 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
295 ucom* at uplcom? portno ?
296
297 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
298 ucom* at uvscom? portno ?
299
300 # USB Handspring Visor
301 uvisor* at uhub? port ?
302 ucom* at uvisor?
303
304 # Kyocera AIR-EDGE PHONE
305 ukyopon* at uhub? port ?
306 ucom* at ukyopon? portno ?
307
308 # USB scanners that use SCSI emulation, e.g., HP5300
309 usscanner* at uhub? port ?
310
311 # D-Link DSB-R100 USB radio
312 udsbr* at uhub? port ?
313 radio* at udsbr?
314
315 # USB Generic driver
316 ugen* at uhub? port ?
317
318 # Pseudo-Devices
319
320 # disk/mass storage pseudo-devices
321 #pseudo-device md # memory disk device (ramdisk)
322 #pseudo-device vnd # disk-like interface to files
323 #pseudo-device fss # file system snapshot device
324 #pseudo-device putter # for puffs and pud
325
326 # network pseudo-devices
327 pseudo-device bpfilter # Berkeley packet filter
328 pseudo-device npf # NPF packet filter
329 pseudo-device loop # network loopback
330 #pseudo-device ppp # Point-to-Point Protocol
331 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
332 #pseudo-device sl # Serial Line IP
333 #pseudo-device irframetty # IrDA frame line discipline
334 #pseudo-device tun # network tunneling over tty
335 #pseudo-device tap # virtual Ethernet
336 #pseudo-device gre # generic L3 over IP tunnel
337 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
338 #pseudo-device faith # IPv[46] tcp relay translation i/f
339 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
340 #pseudo-device vlan # IEEE 802.1q encapsulation
341 #pseudo-device bridge # simple inter-network bridging
342 #pseudo-device vether # Virtual Ethernet for bridge
343
344 # miscellaneous pseudo-devices
345 pseudo-device pty # pseudo-terminals
346 pseudo-device clockctl # user control of clock subsystem
347 pseudo-device drvctl # user control of drive subsystem
348
349 # wscons pseudo-devices
350 pseudo-device wsmux # mouse & keyboard multiplexor
351 #pseudo-device wsfont
352
353 #pseudo-device ksyms # /dev/ksyms
354