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