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