1# $NetBSD: SMDK2410,v 1.79 2022/08/07 02:52:25 simonb 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 FFS_EI # FFS Endian Independent support 61#options FFS_NO_SNAPSHOT # No FFS snapshot support 62#options QUOTA # legacy UFS quotas 63#options QUOTA2 # new, in-filesystem UFS quotas 64#options UFS_DIRHASH # UFS Large Directory Hashing 65#options UFS_EXTATTR # Extended attribute support for UFS1 66options WAPBL # File system journaling support 67#options DISKLABEL_EI # disklabel Endian Independent support 68#options NFSSERVER # Network File System server 69 70# Networking options 71 72options GATEWAY # packet forwarding 73options INET # IP + ICMP + TCP + UDP 74options INET6 # IPV6 75#options IPSEC # IP security 76#options IPSEC_DEBUG # debug for IP security 77#options MROUTING # IP multicast routing 78#options PIM # Protocol Independent Multicast 79#options NETATALK # AppleTalk networking 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# These options enable verbose messages for several subsystems. 86# Warning, these may compile large string tables into the kernel! 87#options MIIVERBOSE # verbose PHY autoconfig messages 88#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 89#options SCSIVERBOSE # human readable SCSI error messages 90options USBVERBOSE # verbose USB device autoconfig messages 91 92options NFS_BOOT_BOOTP 93options NFS_BOOT_DHCP 94options NFS_BOOT_BOOTPARAM 95 96# Compatibility options 97 98include "conf/compat_netbsd16.config" 99options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 100 101# Shared memory options 102 103options SYSVMSG # System V-like message queues 104options SYSVSEM # System V-like semaphores 105options SYSVSHM # System V-like memory sharing 106 107# Miscellaneous kernel options 108options KTRACE # system call tracing, a la ktrace(1) 109#XXX: options IRQSTATS # manage IRQ statistics 110options SCSIVERBOSE # Verbose SCSI errors 111options PCIVERBOSE # Verbose PCI descriptions 112options MIIVERBOSE # Verbose MII autoconfuration messages 113#options PCI_CONFIG_DUMP # verbosely dump PCI config space 114options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to 115 # configure PCI devices 116#options PCI_CONFIGURE_VERBOSE # Show PCI config information 117#options PCI_DEBUG 118options DDB_KEYCODE=0x1d # Enter ddb on ^] 119options USERCONF # userconf(4) support 120#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 121#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 122 123# Development and Debugging options 124 125#options ARM700BUGTRACK # track the ARM700 swi bug 126#options PORTMASTER # Enable PortMaster only options 127#options DIAGNOSTIC # internal consistency checks 128#options UVMHIST # kernhist for uvm/pmap subsystems 129#options VERBOSE_INIT_ARM # verbose bootstraping messages 130#options KGDB 131#options DEBUG_KGDB 132#options DDB # in-kernel debugger 133#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 134#makeoptions DEBUG="-g" # compile full symbol table 135config netbsd root on ? type ? 136 137# The main bus device 138mainbus0 at root 139 140# The boot CPU 141cpu0 at mainbus? 142 143# Core logic on Samsung S3C2410 144ssio0 at mainbus? 145ssextio0 at ssio0 146 147# integrated UART 148sscom0 at ssio? index 0 149sscom1 at ssio? index 1 150#sscom2 at ssio? index 2 151options SSCOM0CONSOLE 152#options SSCOM1CONSOLE 153options CONSPEED=115200 154options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1 155options KGDB_DEVRATE=115200 156 157# LCD 158#device-major lcd char 145 159lcd0 at ssio? 160wsdisplay* at lcd? console ? 161options WSEMUL_VT100 # VT100 / VT220 emulation 162options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 163options FONT_VT220L8x16 164options FONT_VT220L8x10 165#options LCD_DEBUG 166 167# SPI port 168#ssspi0 at ssio? index 0 169ssspi1 at ssio? index 1 170 171# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1 172sskbd0 at ssspi1 intr 1 173wskbd* at sskbd? # console ? 174 175# SCSI bus support 176scsibus* at scsi? 177 178# SCSI devices 179sd* at scsibus? target ? lun ? # SCSI disk drives 180st* at scsibus? target ? lun ? # SCSI tape drives 181cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 182ch* at scsibus? target ? lun ? # SCSI autochangers 183ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 184ss* at scsibus? target ? lun ? # SCSI scanners 185uk* at scsibus? target ? lun ? # SCSI unknown 186 187# ATAPI bus support 188atapibus* at atapi? 189 190# ATAPI devices 191# flags have the same meaning as for IDE drives. 192cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 193sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 194st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 195uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 196 197# MIDI support 198midi* at midibus? 199# midi* at pcppi? # MIDI interface to the PC speaker 200 201# Audio support 202audio* at audiobus? 203 204spkr* at audio? # PC speaker (synthesized) 205 206# on-board CS8900A Ethernet 207cs* at ssextio? intr 9 addr 0x18000000 208# set MAC address to on-board CS8900A. 209options SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff" 210 211# built-in OHCI USB controller 212ohci0 at ssio? addr 0x49000000 intr 26 213options OHCI_DEBUG 214 215usb* at ohci0 216 217# USB Hubs 218uhub* at usb? 219uhub* at uhub? port ? 220 221# USB HID device 222uhidev* at uhub? port ? configuration ? interface ? 223 224# USB Mice 225ums* at uhidev? reportid ? 226wsmouse* at ums? mux 0 227 228# USB Keyboards 229ukbd* at uhidev? reportid ? 230wskbd* at ukbd? console ? mux 1 231 232# USB serial adapter 233ucycom* at uhidev? reportid ? 234 235# USB Generic HID devices 236uhid* at uhidev? reportid ? 237 238# USB Printer 239ulpt* at uhub? port ? configuration ? interface ? 240 241# USB Modem 242umodem* at uhub? port ? configuration ? 243ucom* at umodem? 244 245# Option N.V. Wireless WAN modems 246uhso* at uhub? port ? configuration ? 247 248# USB Mass Storage 249umass* at uhub? port ? configuration ? interface ? 250 251# USB audio 252uaudio* at uhub? port ? configuration ? 253 254# USB MIDI 255umidi* at uhub? port ? configuration ? 256 257# USB IrDA 258# USB-IrDA bridge spec 259uirda* at uhub? port ? configuration ? interface ? 260irframe* at uirda? 261 262# SigmaTel STIr4200 USB/IrDA Bridge 263ustir* at uhub? port ? 264irframe* at ustir? 265 266# MII/PHY support 267rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 268rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 269ukphy* at mii? phy ? # generic unknown PHYs 270urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 271 272# USB Ethernet adapters 273aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 274axe* at uhub? port ? # ASIX AX88172 based adapters 275cue* at uhub? port ? # CATC USB-EL1201A based adapters 276kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 277mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 278ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 279url* at uhub? port ? # Realtek RTL8150L based adapters 280 281# Prolific PL2301/PL2302 host-to-host adapter 282upl* at uhub? port ? 283 284# Serial adapters 285ubsa* at uhub? port ? # Belkin serial adapter 286ucom* at ubsa? portno ? 287 288uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 289ucom* at uftdi? portno ? 290 291umct* at uhub? port ? # MCT USB-RS232 serial adapter 292ucom* at umct? portno ? 293 294uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 295ucom* at uplcom? portno ? 296 297uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 298ucom* at uvscom? portno ? 299 300# USB Handspring Visor 301uvisor* at uhub? port ? 302ucom* at uvisor? 303 304# Kyocera AIR-EDGE PHONE 305ukyopon* at uhub? port ? 306ucom* at ukyopon? portno ? 307 308# USB scanners that use SCSI emulation, e.g., HP5300 309usscanner* 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 327pseudo-device bpfilter # Berkeley packet filter 328pseudo-device npf # NPF packet filter 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 irframetty # IrDA frame line discipline 334#pseudo-device tun # network tunneling over tty 335#pseudo-device tap # virtual Ethernet 336#pseudo-device gre # generic L3 over IP tunnel 337#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 338#pseudo-device faith # IPv[46] tcp relay translation i/f 339#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 340#pseudo-device vlan # IEEE 802.1q encapsulation 341#pseudo-device bridge # simple inter-network bridging 342#pseudo-device vether # Virtual Ethernet for bridge 343 344# miscellaneous pseudo-devices 345pseudo-device pty # pseudo-terminals 346pseudo-device clockctl # user control of clock subsystem 347pseudo-device drvctl # user control of drive subsystem 348 349# wscons pseudo-devices 350pseudo-device wsmux # mouse & keyboard multiplexor 351#pseudo-device wsfont 352 353#pseudo-device ksyms # /dev/ksyms 354