SMDK2800 revision 1.29 1 1.29 tsutsui # $NetBSD: SMDK2800,v 1.29 2005/12/07 09:10:13 tsutsui Exp $
2 1.1 bsh #
3 1.1 bsh # SMDK2800 -- Samsung's S3C2800 evaluation board.
4 1.1 bsh #
5 1.1 bsh
6 1.1 bsh include "arch/evbarm/conf/std.smdk2800"
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.2 bsh #options MEMORY_DISK_HOOKS
12 1.2 bsh #options MEMORY_DISK_DYNAMIC
13 1.2 bsh #options MEMORY_DISK_IS_ROOT # force root on memory disk
14 1.2 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.15 rearnsha makeoptions CPUFLAGS="-march=armv4"
31 1.1 bsh
32 1.2 bsh options S3C2XX0_XTAL_CLK=6000000 # 6MHz external Xtal
33 1.2 bsh
34 1.1 bsh # Architecture options
35 1.1 bsh
36 1.1 bsh # File systems
37 1.1 bsh
38 1.1 bsh file-system FFS # UFS
39 1.1 bsh #file-system LFS # log-structured file system
40 1.1 bsh file-system MFS # memory file system
41 1.1 bsh file-system NFS # Network file system
42 1.1 bsh #file-system ADOSFS # AmigaDOS-compatible file system
43 1.1 bsh #file-system EXT2FS # second extended file system (linux)
44 1.1 bsh #file-system CD9660 # ISO 9660 + Rock Ridge file system
45 1.1 bsh #file-system MSDOSFS # MS-DOS file system
46 1.1 bsh #file-system FDESC # /dev/fd
47 1.1 bsh file-system KERNFS # /kern
48 1.1 bsh #file-system NULLFS # loopback file system
49 1.1 bsh #file-system PORTAL # portal filesystem (still experimental)
50 1.1 bsh file-system PROCFS # /proc
51 1.1 bsh #file-system UMAPFS # NULLFS + uid and gid remapping
52 1.1 bsh #file-system UNION # union file system
53 1.28 christos file-system PTYFS # /dev/pts/N support
54 1.1 bsh
55 1.1 bsh # File system options
56 1.1 bsh #options QUOTA # UFS quotas
57 1.1 bsh #options FFS_EI # FFS Endian Independant support
58 1.1 bsh #options NFSSERVER
59 1.1 bsh options SOFTDEP
60 1.29 tsutsui #options FFS_NO_SNAPSHOT # No FFS snapshot support
61 1.1 bsh
62 1.1 bsh # Networking options
63 1.1 bsh
64 1.1 bsh #options GATEWAY # packet forwarding
65 1.1 bsh options INET # IP + ICMP + TCP + UDP
66 1.1 bsh options INET6 # IPV6
67 1.1 bsh #options IPSEC # IP security
68 1.1 bsh #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
69 1.24 tron #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
70 1.1 bsh #options IPSEC_DEBUG # debug for IP security
71 1.1 bsh #options MROUTING # IP multicast routing
72 1.16 manu #options PIM # Protocol Independent Multicast
73 1.1 bsh #options NS # XNS
74 1.1 bsh #options NSIP # XNS tunneling over IP
75 1.1 bsh #options ISO,TPIP # OSI
76 1.1 bsh #options EON # OSI tunneling over IP
77 1.1 bsh #options CCITT,LLC,HDLC # X.25
78 1.1 bsh #options NETATALK # AppleTalk networking
79 1.1 bsh #options PFIL_HOOKS # pfil(9) packet filter hooks
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.1 bsh options NFS_BOOT_BOOTP
86 1.1 bsh options NFS_BOOT_DHCP
87 1.1 bsh options NFS_BOOT_BOOTPARAM
88 1.1 bsh
89 1.1 bsh # Compatibility options
90 1.1 bsh
91 1.1 bsh #options COMPAT_43 # 4.3BSD compatibility.
92 1.27 christos options COMPAT_30 # NetBSD 3.0 compatibility.
93 1.22 simonb options COMPAT_20 # NetBSD 2.0 compatibility.
94 1.5 chris options COMPAT_16 # NetBSD 1.6 compatibility.
95 1.1 bsh #options COMPAT_15 # NetBSD 1.5 compatibility.
96 1.1 bsh #options COMPAT_14 # NetBSD 1.4 compatibility.
97 1.1 bsh #options COMPAT_13 # NetBSD 1.3 compatibility.
98 1.1 bsh #options COMPAT_12 # NetBSD 1.2 compatibility.
99 1.1 bsh #options COMPAT_11 # NetBSD 1.1 compatibility.
100 1.1 bsh #options COMPAT_10 # NetBSD 1.0 compatibility.
101 1.1 bsh #options COMPAT_09 # NetBSD 0.9 compatibility.
102 1.1 bsh #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
103 1.17 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
104 1.1 bsh
105 1.1 bsh # Shared memory options
106 1.1 bsh
107 1.1 bsh #options SYSVMSG # System V-like message queues
108 1.1 bsh #options SYSVSEM # System V-like semaphores
109 1.1 bsh #options SEMMNI=10 # number of semaphore identifiers
110 1.1 bsh #options SEMMNS=60 # number of semaphores in system
111 1.1 bsh #options SEMUME=10 # max number of undo entries per process
112 1.1 bsh #options SEMMNU=30 # number of undo structures in system
113 1.1 bsh #options SYSVSHM # System V-like memory sharing
114 1.1 bsh #options SHMMAXPGS=1024 # 1024 pages is the default
115 1.1 bsh
116 1.1 bsh # Miscellaneous kernel options
117 1.1 bsh options KTRACE # system call tracing, a la ktrace(1)
118 1.1 bsh #XXX: options IRQSTATS # manage IRQ statistics
119 1.1 bsh #options LKM # loadable kernel modules
120 1.1 bsh #options KMEMSTATS # kernel memory statistics
121 1.1 bsh options SCSIVERBOSE # Verbose SCSI errors
122 1.1 bsh options PCIVERBOSE # Verbose PCI descriptions
123 1.1 bsh options MIIVERBOSE # Verbose MII autoconfuration messages
124 1.2 bsh #options PCI_CONFIG_DUMP # verbosely dump PCI config space
125 1.1 bsh options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
126 1.1 bsh # configure PCI devices
127 1.1 bsh #options PCI_CONFIGURE_VERBOSE # Show PCI config information
128 1.1 bsh #options PCI_DEBUG
129 1.1 bsh options DDB_KEYCODE=0x1d # Enter ddb on ^]
130 1.1 bsh options USERCONF # userconf(4) support
131 1.1 bsh #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
132 1.14 atatat #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
133 1.1 bsh
134 1.1 bsh # Development and Debugging options
135 1.1 bsh
136 1.1 bsh #options ARM700BUGTRACK # track the ARM700 swi bug
137 1.1 bsh #options PORTMASTER # Enable PortMaster only options
138 1.1 bsh options DIAGNOSTIC # internal consistency checks
139 1.1 bsh #options PMAP_DEBUG # Enable pmap_debug_level code
140 1.1 bsh #options VERBOSE_INIT_ARM # verbose bootstraping messages
141 1.1 bsh #options IPKDB # remote kernel debugging
142 1.1 bsh #options KGDB
143 1.1 bsh #options DEBUG_KGDB
144 1.1 bsh #options DDB # in-kernel debugger
145 1.1 bsh #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
146 1.4 rearnsha #makeoptions DEBUG="-g" # compile full symbol table
147 1.1 bsh config netbsd root on ? type ?
148 1.1 bsh
149 1.1 bsh # The main bus device
150 1.1 bsh mainbus0 at root
151 1.1 bsh
152 1.13 wiz # The boot CPU
153 1.1 bsh cpu0 at mainbus?
154 1.1 bsh
155 1.1 bsh # Core logic on Samsung S3C2800
156 1.1 bsh ssio0 at mainbus?
157 1.1 bsh
158 1.1 bsh # integrated UART
159 1.1 bsh sscom0 at ssio? index 0
160 1.1 bsh sscom1 at ssio? index 1
161 1.1 bsh options SSCOM0CONSOLE
162 1.1 bsh #options SSCOM1CONSOLE
163 1.1 bsh options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1
164 1.1 bsh options KGDB_DEVRATE=57600
165 1.1 bsh
166 1.1 bsh # PCI bus via internal PCI controller
167 1.1 bsh sspci0 at ssio? # PCI bus
168 1.1 bsh pci0 at sspci0
169 1.1 bsh
170 1.1 bsh # PCI IDE Controllers and Devices
171 1.1 bsh # PCI IDE controllers - see pciide(4) for supported hardware.
172 1.1 bsh # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
173 1.1 bsh # how to set up DMA modes for this chip. This may work, or may cause
174 1.1 bsh # a machine hang with some controllers.
175 1.7 bouyer #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
176 1.11 thorpej #artsata* at pci? dev ? function ? # Intel i31244 SATA controller
177 1.7 bouyer #cmdide* at pci? dev ? function ? # CMD tech IDE controllers
178 1.7 bouyer #hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
179 1.7 bouyer #pdcide* at pci? dev ? function ? # Promise IDE controllers
180 1.18 bouyer #pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
181 1.8 thorpej #satalink* at pci? dev ? function ? # SiI SATALink controllers
182 1.7 bouyer
183 1.7 bouyer # ATA bus support
184 1.9 thorpej #atabus* at ata? channel ?
185 1.6 bouyer
186 1.1 bsh # IDE drives
187 1.1 bsh # Flags are used only with controllers that support DMA operations
188 1.1 bsh # and mode settings (e.g. some pciide controllers)
189 1.1 bsh # The lowest order four bits (rightmost digit) of the flags define the PIO
190 1.1 bsh # mode to use, the next set of four bits the DMA mode and the third set the
191 1.1 bsh # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
192 1.1 bsh # to use, and the last bit must be 1 for this setting to be used.
193 1.1 bsh # For DMA and UDMA, 0xf (1111) means 'disable'.
194 1.1 bsh # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
195 1.1 bsh # (0xc=1100, 0xa=1010, 0xf=1111)
196 1.1 bsh # 0x0000 means "use whatever the drive claims to support".
197 1.6 bouyer #wd* at atabus? drive ? flags 0x0000 # the drives themselves
198 1.1 bsh
199 1.1 bsh # PCI SCSI Controllers and Buses
200 1.1 bsh #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers
201 1.1 bsh #scsibus* at ahc?
202 1.1 bsh
203 1.1 bsh # SCSI devices
204 1.1 bsh
205 1.1 bsh #sd* at scsibus? target ? lun ? # SCSI disk drives
206 1.1 bsh #st* at scsibus? target ? lun ? # SCSI tape drives
207 1.1 bsh #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
208 1.1 bsh #ch* at scsibus? target ? lun ? # SCSI auto-changers drives
209 1.1 bsh #uk* at scsibus? target ? lun ? # SCSI unknown drives
210 1.1 bsh #ss* at scsibus? target ? lun ? # SCSI scanner
211 1.1 bsh
212 1.1 bsh # PCI network interfaces
213 1.1 bsh #fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards
214 1.1 bsh #ne* at pci? dev ? function ? # NE2000 compat ethernet
215 1.1 bsh #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
216 1.1 bsh sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
217 1.1 bsh
218 1.1 bsh # MII/PHY support
219 1.1 bsh #inphy* at mii? phy ? # Intel 82555 PHYs
220 1.1 bsh #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
221 1.1 bsh ukphy* at mii? phy ? # generic unknown PHYs
222 1.1 bsh
223 1.1 bsh # Pseudo-Devices
224 1.1 bsh
225 1.1 bsh # disk/mass storage pseudo-devices
226 1.23 bsh #pseudo-device md 1 # memory disk device (ramdisk)
227 1.1 bsh #pseudo-device vnd 4 # disk-like interface to files
228 1.19 hannken #pseudo-device fss 4 # file system snapshot device
229 1.1 bsh
230 1.1 bsh # network pseudo-devices
231 1.23 bsh pseudo-device bpfilter 4 # Berkeley packet filter
232 1.23 bsh pseudo-device ipfilter # IP filter (firewall) and NAT
233 1.23 bsh pseudo-device loop # network loopback
234 1.23 bsh #pseudo-device kttcp # network loopback
235 1.23 bsh #pseudo-device ppp 2 # Point-to-Point Protocol
236 1.23 bsh #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
237 1.23 bsh #pseudo-device sl 2 # Serial Line IP
238 1.23 bsh #pseudo-device strip 2 # Starmode Radio IP (Metricom)
239 1.23 bsh #pseudo-device irframetty # IrDA frame line discipline
240 1.23 bsh #pseudo-device tap # virtual Ethernet
241 1.23 bsh #pseudo-device tun 2 # network tunneling over tty
242 1.23 bsh #pseudo-device gre 2 # generic L3 over IP tunnel
243 1.23 bsh #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
244 1.23 bsh #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
245 1.23 bsh #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
246 1.23 bsh #pseudo-device vlan # IEEE 802.1q encapsulation
247 1.1 bsh #pseudo-device bridge # simple inter-network bridging
248 1.23 bsh #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
249 1.23 bsh #pseudo-device pf # PF packet filter
250 1.23 bsh #pseudo-device pflog # PF log if
251 1.1 bsh
252 1.1 bsh # miscellaneous pseudo-devices
253 1.1 bsh pseudo-device pty # pseudo-terminals
254 1.1 bsh pseudo-device rnd # /dev/random and in-kernel generator
255 1.1 bsh pseudo-device clockctl # user control of clock subsystem
256 1.23 bsh
257 1.23 bsh # wscons pseudo-devices
258 1.23 bsh #pseudo-device wsmux # mouse & keyboard multiplexor
259 1.23 bsh #pseudo-device wsfont
260 1.23 bsh pseudo-device ksyms # /dev/ksyms
261