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