1# $NetBSD: SMDK2410,v 1.2 2003/08/05 11:36:14 bsh Exp $ 2# 3# SMDK2410 -- Samsung's S3C2410 evaluation board. 4# 5 6include "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 20maxusers 32 21 22# Standard system options 23 24options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 25options NTP # NTP phase/frequency locked loop 26 27# CPU options 28 29options CPU_ARM9 # Support the ARM9TDMI core 30makeoptions COPTS="-O2 -march=armv4" 31#options ARM9_CACHE_WRITE_THROUGH 32 33# Architecture options 34 35options S3C2XX0_XTAL_CLK=12000000 # 12MHz Xtal 36 37# File systems 38 39file-system FFS # UFS 40#file-system LFS # log-structured file system 41file-system MFS # memory file system 42file-system NFS # Network file system 43#file-system ADOSFS # AmigaDOS-compatible file system 44#file-system EXT2FS # second extended file system (linux) 45file-system CD9660 # ISO 9660 + Rock Ridge file system 46file-system MSDOSFS # MS-DOS file system 47#file-system FDESC # /dev/fd 48file-system KERNFS # /kern 49#file-system NULLFS # loopback file system 50#file-system PORTAL # portal filesystem (still experimental) 51file-system PROCFS # /proc 52#file-system UMAPFS # NULLFS + uid and gid remapping 53#file-system UNION # union file system 54 55# File system options 56#options QUOTA # UFS quotas 57#options FFS_EI # FFS Endian Independant support 58#options NFSSERVER 59options SOFTDEP 60 61# Networking options 62 63options GATEWAY # packet forwarding 64options INET # IP + ICMP + TCP + UDP 65options INET6 # IPV6 66#options IPSEC # IP security 67#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 68#options IPSEC_DEBUG # debug for IP security 69#options MROUTING # IP multicast routing 70#options NS # XNS 71#options NSIP # XNS tunneling over IP 72#options ISO,TPIP # OSI 73#options EON # OSI tunneling over IP 74#options CCITT,LLC,HDLC # X.25 75#options NETATALK # AppleTalk networking 76#options PFIL_HOOKS # pfil(9) packet filter hooks 77#options PPP_BSDCOMP # BSD-Compress compression support for PPP 78#options PPP_DEFLATE # Deflate compression support for PPP 79#options PPP_FILTER # Active filter support for PPP (requires bpf) 80#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 82# These options enable verbose messages for several subsystems. 83# Warning, these may compile large string tables into the kernel! 84#options MIIVERBOSE # verbose PHY autoconfig messages 85#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 86#options SCSIVERBOSE # human readable SCSI error messages 87options USBVERBOSE # verbose USB device autoconfig messages 88 89#options NFS_BOOT_BOOTP 90#options NFS_BOOT_DHCP 91#options NFS_BOOT_BOOTPARAM 92 93# Compatibility options 94 95#options COMPAT_43 # 4.3BSD compatibility. 96#options COMPAT_15 # NetBSD 1.5 compatibility. 97#options COMPAT_14 # NetBSD 1.4 compatibility. 98#options COMPAT_13 # NetBSD 1.3 compatibility. 99#options COMPAT_12 # NetBSD 1.2 compatibility. 100#options COMPAT_11 # NetBSD 1.1 compatibility. 101#options COMPAT_10 # NetBSD 1.0 compatibility. 102#options COMPAT_09 # NetBSD 0.9 compatibility. 103#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 104 105# Shared memory options 106 107options SYSVMSG # System V-like message queues 108options 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 113options SYSVSHM # System V-like memory sharing 114#options SHMMAXPGS=1024 # 1024 pages is the default 115 116# Miscellaneous kernel options 117options 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 121options SCSIVERBOSE # Verbose SCSI errors 122options PCIVERBOSE # Verbose PCI descriptions 123options MIIVERBOSE # Verbose MII autoconfuration messages 124#options PCI_CONFIG_DUMP # verbosely dump PCI config space 125options 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 129options DDB_KEYCODE=0x1d # Enter ddb on ^] 130options USERCONF # userconf(4) support 131#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 132 133# Development and Debugging options 134 135#options ARM700BUGTRACK # track the ARM700 swi bug 136#options PORTMASTER # Enable PortMaster only options 137#options DIAGNOSTIC # internal consistency checks 138#options PMAP_DEBUG # Enable pmap_debug_level code 139#options VERBOSE_INIT_ARM # verbose bootstraping messages 140#options IPKDB # remote kernel debugging 141#options KGDB 142#options DEBUG_KGDB 143#options DDB # in-kernel debugger 144#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 145makeoptions DEBUG="-g" # compile full symbol table 146config netbsd root on ? type ? 147 148# The main bus device 149mainbus0 at root 150 151# The boot cpu 152cpu0 at mainbus? 153 154# Core logic on Samsung S3C2410 155ssio0 at mainbus? 156 157# integrated UART 158sscom0 at ssio? index 0 159sscom1 at ssio? index 1 160#sscom2 at ssio? index 2 161options SSCOM0CONSOLE 162#options SSCOM1CONSOLE 163options CONSPEED=115200 164options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1 165options KGDB_DEVRATE=115200 166 167# SCSI bus support 168scsibus* at scsi? 169 170# SCSI devices 171sd* at scsibus? target ? lun ? # SCSI disk drives 172st* at scsibus? target ? lun ? # SCSI tape drives 173cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 174ch* at scsibus? target ? lun ? # SCSI autochangers 175ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 176ss* at scsibus? target ? lun ? # SCSI scanners 177uk* at scsibus? target ? lun ? # SCSI unknown 178 179# ATAPI bus support 180atapibus* at atapi? 181 182# ATAPI devices 183# flags have the same meaning as for IDE drives. 184cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 185sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 186st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 187uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 188 189# MIDI support 190midi* at midibus? 191# midi* at pcppi? # MIDI interface to the PC speaker 192 193# Audio support 194audio* at audiobus? 195 196# built-in OHCI USB controller 197ohci0 at ssio? addr 0x49000000 intr 26 198options OHCI_DEBUG 199 200usb* at ohci0 201 202# USB Hubs 203uhub* at usb? 204uhub* at uhub? port ? configuration ? interface ? 205 206# USB HID device 207uhidev* at uhub? port ? configuration ? interface ? 208 209# USB Mice 210ums* at uhidev? reportid ? 211wsmouse* at ums? mux 0 212 213# USB Keyboards 214ukbd* at uhidev? reportid ? 215wskbd* at ukbd? console ? mux 1 216 217# USB Generic HID devices 218uhid* at uhidev? reportid ? 219 220# USB Printer 221ulpt* at uhub? port ? configuration ? interface ? 222 223# USB Modem 224umodem* at uhub? port ? configuration ? 225ucom* at umodem? 226 227# USB Mass Storage 228umass* at uhub? port ? configuration ? interface ? 229wd* at umass? 230 231# USB audio 232uaudio* at uhub? port ? configuration ? 233 234# USB MIDI 235umidi* at uhub? port ? configuration ? 236 237# USB IrDA 238# USB-IrDA bridge spec 239uirda* at uhub? port ? configuration ? interface ? 240irframe* at uirda? 241 242# SigmaTel STIr4200 USB/IrDA Bridge 243ustir* at uhub? port ? 244irframe* at ustir? 245 246# USB Ethernet adapters 247aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 248cue* at uhub? port ? # CATC USB-EL1201A based adapters 249kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 250uax* at uhub? port ? # ASIX AX88172 based adapters 251url* at uhub? port ? # Realtek RTL8150L based adapters 252 253# Prolific PL2301/PL2302 host-to-host adapter 254upl* at uhub? port ? 255 256# Serial adapters 257ubsa* at uhub? port ? # Belkin serial adapter 258ucom* at ubsa? portno ? 259 260uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 261ucom* at uftdi? portno ? 262 263umct* at uhub? port ? # MCT USB-RS232 serial adapter 264ucom* at umct? portno ? 265 266uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 267ucom* at uplcom? portno ? 268 269uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 270ucom* at uvscom? portno ? 271 272# Diamond Multimedia Rio 500 273urio* at uhub? port ? 274 275# USB Handspring Visor 276uvisor* at uhub? port ? 277ucom* at uvisor? 278 279# USB scanners 280uscanner* at uhub? port ? 281 282# USB scanners that use SCSI emulation, e.g., HP5300 283usscanner* at uhub? port ? 284 285# Y@P firmware loader 286uyap* at uhub? port ? 287 288# D-Link DSB-R100 USB radio 289udsbr* at uhub? port ? 290radio* at udsbr? 291 292# USB Generic driver 293ugen* at uhub? port ? 294 295# Pseudo-Devices 296 297# disk/mass storage pseudo-devices 298#pseudo-device md 1 # memory disk device (ramdisk) 299#pseudo-device vnd 4 # disk-like interface to files 300 301# network pseudo-devices 302#pseudo-device bpfilter 8 # Berkeley packet filter 303pseudo-device ipfilter # IP filter (firewall) and NAT 304pseudo-device loop # network loopback 305#pseudo-device ppp 2 # Point-to-Point Protocol 306#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 307#pseudo-device sl 2 # Serial Line IP 308#pseudo-device strip 2 # Starmode Radio IP (Metricom) 309#pseudo-device irframetty # IrDA frame line discipline 310#pseudo-device tun 2 # network tunneling over tty 311#pseudo-device gre 2 # generic L3 over IP tunnel 312#pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 313#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 314#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 315#pseudo-device vlan # IEEE 802.1q encapsulation 316#pseudo-device bridge # simple inter-network bridging 317#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 318 319# miscellaneous pseudo-devices 320pseudo-device pty # pseudo-terminals 321pseudo-device rnd # /dev/random and in-kernel generator 322pseudo-device clockctl # user control of clock subsystem 323