SMDK2800 revision 1.66 1 # $NetBSD: SMDK2800,v 1.66 2022/08/07 02:52:25 simonb 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 PROCFS # /proc
50 #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
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 FFS_EI # FFS Endian Independent support
57 #options FFS_NO_SNAPSHOT # No FFS snapshot support
58 #options QUOTA # legacy UFS quotas
59 #options QUOTA2 # new, in-filesystem UFS quotas
60 #options UFS_DIRHASH # UFS Large Directory Hashing
61 #options UFS_EXTATTR # Extended attribute support for UFS1
62 options WAPBL # File system journaling support
63 #options DISKLABEL_EI # disklabel Endian Independent support
64 #options NFSSERVER # Network File System server
65
66 # Networking options
67
68 #options GATEWAY # packet forwarding
69 options INET # IP + ICMP + TCP + UDP
70 options INET6 # IPV6
71 #options IPSEC # IP security
72 #options IPSEC_DEBUG # debug for IP security
73 #options MROUTING # IP multicast routing
74 #options PIM # Protocol Independent Multicast
75 #options NETATALK # AppleTalk networking
76 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
77 #options PPP_DEFLATE # Deflate compression support for PPP
78 #options PPP_FILTER # Active filter support for PPP (requires bpf)
79 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
80
81 options NFS_BOOT_BOOTP
82 options NFS_BOOT_DHCP
83 options NFS_BOOT_BOOTPARAM
84
85 # Compatibility options
86
87 include "conf/compat_netbsd16.config"
88 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
89
90 # Shared memory options
91
92 #options SYSVMSG # System V-like message queues
93 #options SYSVSEM # System V-like semaphores
94 #options SYSVSHM # System V-like memory sharing
95
96 # Miscellaneous kernel options
97 options KTRACE # system call tracing, a la ktrace(1)
98 #XXX: options IRQSTATS # manage IRQ statistics
99 options SCSIVERBOSE # Verbose SCSI errors
100 options PCIVERBOSE # Verbose PCI descriptions
101 options MIIVERBOSE # Verbose MII autoconfuration messages
102 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
103 options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to
104 # configure PCI devices
105 #options PCI_CONFIGURE_VERBOSE # Show PCI config information
106 #options PCI_DEBUG
107 options DDB_KEYCODE=0x1d # Enter ddb on ^]
108 options USERCONF # userconf(4) support
109 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
110 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
111
112 # Development and Debugging options
113
114 #options ARM700BUGTRACK # track the ARM700 swi bug
115 #options PORTMASTER # Enable PortMaster only options
116 options DIAGNOSTIC # internal consistency checks
117 #options UVMHIST # kernhist for uvm/pmap subsystems
118 #options VERBOSE_INIT_ARM # verbose bootstraping messages
119 #options KGDB
120 #options DEBUG_KGDB
121 #options DDB # in-kernel debugger
122 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
123 #makeoptions DEBUG="-g" # compile full symbol table
124 config netbsd root on ? type ?
125
126 # The main bus device
127 mainbus0 at root
128
129 # The boot CPU
130 cpu0 at mainbus?
131
132 # Core logic on Samsung S3C2800
133 ssio0 at mainbus?
134
135 # integrated UART
136 sscom0 at ssio? index 0
137 sscom1 at ssio? index 1
138 options SSCOM0CONSOLE
139 #options SSCOM1CONSOLE
140 options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1
141 options KGDB_DEVRATE=57600
142
143 # PCI bus via internal PCI controller
144 sspci0 at ssio? # PCI bus
145 pci0 at sspci0
146
147 # PCI IDE Controllers and Devices
148 # PCI IDE controllers - see pciide(4) for supported hardware.
149 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
150 # how to set up DMA modes for this chip. This may work, or may cause
151 # a machine hang with some controllers.
152 #pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
153 #artsata* at pci? dev ? function ? # Intel i31244 SATA controller
154 #cmdide* at pci? dev ? function ? # CMD tech IDE controllers
155 #hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
156 #pdcide* at pci? dev ? function ? # Promise IDE controllers
157 #pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
158 #satalink* at pci? dev ? function ? # SiI SATALink controllers
159
160 # ATA bus support
161 #atabus* at ata? channel ?
162
163 # IDE drives
164 # Flags are used only with controllers that support DMA operations
165 # and mode settings (e.g. some pciide controllers)
166 # The lowest order four bits (rightmost digit) of the flags define the PIO
167 # mode to use, the next set of four bits the DMA mode and the third set the
168 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
169 # to use, and the last bit must be 1 for this setting to be used.
170 # For DMA and UDMA, 0xf (1111) means 'disable'.
171 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
172 # (0xc=1100, 0xa=1010, 0xf=1111)
173 # 0x0000 means "use whatever the drive claims to support".
174 #wd* at atabus? drive ? flags 0x0000 # the drives themselves
175
176 # PCI SCSI Controllers and Buses
177 #ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers
178 #scsibus* at ahc?
179
180 # SCSI devices
181
182 #sd* at scsibus? target ? lun ? # SCSI disk drives
183 #st* at scsibus? target ? lun ? # SCSI tape drives
184 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
185 #ch* at scsibus? target ? lun ? # SCSI auto-changers drives
186 #uk* at scsibus? target ? lun ? # SCSI unknown drives
187 #ss* at scsibus? target ? lun ? # SCSI scanner
188
189 # PCI network interfaces
190 #fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards
191 #ne* at pci? dev ? function ? # NE2000 compat ethernet
192 #tlp* at pci? dev ? function ? # DECchip 21x4x and clones
193 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
194
195 # MII/PHY support
196 #inphy* at mii? phy ? # Intel 82555 PHYs
197 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
198 ukphy* at mii? phy ? # generic unknown PHYs
199
200 # Pseudo-Devices
201
202 # disk/mass storage pseudo-devices
203 #pseudo-device md # memory disk device (ramdisk)
204 #pseudo-device vnd # disk-like interface to files
205 #pseudo-device fss # file system snapshot device
206 #pseudo-device putter # for puffs and pud
207
208 # network pseudo-devices
209 pseudo-device bpfilter # Berkeley packet filter
210 pseudo-device npf # NPF packet filter
211 pseudo-device loop # network loopback
212 #pseudo-device kttcp # network loopback
213 #pseudo-device ppp # Point-to-Point Protocol
214 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
215 #pseudo-device sl # Serial Line IP
216 #pseudo-device irframetty # IrDA frame line discipline
217 #pseudo-device tap # virtual Ethernet
218 #pseudo-device tun # network tunneling over tty
219 #pseudo-device gre # generic L3 over IP tunnel
220 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
221 #pseudo-device faith # IPv[46] tcp relay translation i/f
222 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
223 #pseudo-device vlan # IEEE 802.1q encapsulation
224 #pseudo-device bridge # simple inter-network bridging
225 #pseudo-device vether # Virtual Ethernet for bridge
226
227 # miscellaneous pseudo-devices
228 pseudo-device pty # pseudo-terminals
229 pseudo-device clockctl # user control of clock subsystem
230
231 # wscons pseudo-devices
232 #pseudo-device wsmux # mouse & keyboard multiplexor
233 #pseudo-device wsfont
234 pseudo-device ksyms # /dev/ksyms
235