1# $NetBSD: MINI2440,v 1.34 2022/08/07 02:52:25 simonb Exp $ 2# 3# MINI2440 -- Friendly ARM evaluation board based on Samsung S3C2440 4# 5 6include "arch/evbarm/conf/std.mini2440" 7 8#options DEBUG 9#options LOCKDEBUG 10#options DIAGNOSTIC # internal consistency checks 11#makeoptions DEBUG="-g3" # compile full symbol table 12#makeoptions PROF="-pg" 13#options GPROF 14options DDB 15 16#options DEBUG_DMA 17#options SSSDI_DEBUG 18#options SDMMC_DEBUG 19#options SDMMC_DUMP_CSD 20#options MSDOSFS_DEBUG 21 22#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 23 24# Enable the hooks used for initializing the root memory-disk. 25#options MEMORY_DISK_HOOKS 26#options MEMORY_DISK_DYNAMIC 27#options MEMORY_DISK_IS_ROOT # force root on memory disk 28#options MEMORY_DISK_SERVER=1 # no userspace memory disk support 29#options MEMORY_DISK_ROOT_SIZE=4096 # size of memory disk, in blocks 30#options MEMORY_DISK_ROOT_SIZE=2880 # 1.44M, same as a floppy 31# 32options NFS_BOOT_BOOTP 33options NFS_BOOT_DHCP 34 35# estimated number of users 36 37maxusers 32 38 39# Standard system options 40 41options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 42options NTP # NTP phase/frequency locked loop 43 44# CPU options 45 46options CPU_ARM9 # Support the ARM9TDMI core 47makeoptions CPUFLAGS="-march=armv4" 48#options ARM9_CACHE_WRITE_THROUGH 49 50# Architecture options 51 52options S3C2XX0_XTAL_CLK=12000000 # 12MHz Xtal 53 54# File systems 55 56file-system FFS # UFS 57#file-system LFS # log-structured file system 58#file-system MFS # memory file system 59file-system NFS # Network file system 60#file-system ADOSFS # AmigaDOS-compatible file system 61#file-system EXT2FS # second extended file system (linux) 62#file-system CD9660 # ISO 9660 + Rock Ridge file system 63file-system MSDOSFS # MS-DOS file system 64file-system FDESC # /dev/fd 65file-system KERNFS # /kern 66#file-system NULLFS # loopback file system 67file-system PROCFS # /proc 68#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 69#file-system UMAPFS # NULLFS + uid and gid remapping 70#file-system UNION # union file system 71file-system PTYFS # /dev/pts/N support 72 73# File system options 74#options FFS_EI # FFS Endian Independent support 75#options FFS_NO_SNAPSHOT # No FFS snapshot support 76#options QUOTA # legacy UFS quotas 77#options UFS_DIRHASH # UFS Large Directory Hashing 78#options UFS_EXTATTR # Extended attribute support for UFS1 79options WAPBL # File system journaling support 80#options DISKLABEL_EI # disklabel Endian Independent support 81#options NFSSERVER # Network File System server 82 83# Networking options 84 85#options GATEWAY # packet forwarding 86options INET # IP + ICMP + TCP + UDP 87#options INET6 # IPV6 88#options IPSEC # IP security 89#options IPSEC_DEBUG # debug for IP security 90#options MROUTING # IP multicast routing 91#options PIM # Protocol Independent Multicast 92#options NETATALK # AppleTalk networking 93#options PPP_BSDCOMP # BSD-Compress compression support for PPP 94#options PPP_DEFLATE # Deflate compression support for PPP 95#options PPP_FILTER # Active filter support for PPP (requires bpf) 96#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 97 98# These options enable verbose messages for several subsystems. 99# Warning, these may compile large string tables into the kernel! 100#options MIIVERBOSE # verbose PHY autoconfig messages 101#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 102#options SCSIVERBOSE # human readable SCSI error messages 103#options USBVERBOSE # verbose USB device autoconfig messages 104 105 106# Compatibility options 107 108include "conf/compat_netbsd40.config" 109options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries 110 111# Shared memory options 112 113#options SYSVMSG # System V-like message queues 114#options SYSVSEM # System V-like semaphores 115#options SYSVSHM # System V-like memory sharing 116 117# Miscellaneous kernel options 118#options KTRACE # system call tracing, a la ktrace(1) 119#options IRQSTATS # manage IRQ statistics 120#options LKM # loadable kernel modules 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 129options 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 UVMHIST # kernhist for uvm/pmap subsystems 140#options UVMHIST 141#options VERBOSE_INIT_ARM # verbose bootstraping messages 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="-g3" # compile full symbol table 147 148config netbsd root on ? type ? 149 150# The main bus device 151mainbus0 at root 152 153# The boot CPU 154cpu0 at mainbus? 155 156# Core logic on Samsung S3C2440 157ssio0 at mainbus? 158ssextio0 at ssio0 159 160# integrated UART 161sscom0 at ssio? index 0 162#sscom1 at ssio? index 1 163#sscom2 at ssio? index 2 164options SSCOM0CONSOLE 165#options SSCOM1CONSOLE 166options CONSPEED=115200 167#options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1 168#options KGDB_DEVRATE=115200 169 170# LCD 171#device-major lcd char 145 172lcd0 at ssio? 173wsdisplay* at lcd? console ? 174options WSEMUL_VT100 # VT100 / VT220 emulation 175options WSDISPLAY_DEFAULTSCREENS=1 176#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 177#options FONT_VT220L8x16 178#options FONT_VT220L8x10 179#options LCD_DEBUG 180 181sstouch0 at ssio? 182wsmouse* at sstouch0 mux 0 183 184ssrtc0 at ssio? 185 186ssiis0 at ssio? 187udassio* at ssiis0 188 189sssdi0 at ssio? 190sdmmc* at sssdi0 191ld* at sdmmc? 192 193# SPI port 194#ssspi0 at ssio? index 0 195#ssspi1 at ssio? index 1 196 197#vsdsp0 at ssspi0 198 199# on-board keyboard controller (Semtech SPICoder-SA01) via SPI1 200#sskbd0 at ssspi1 intr 1 201#wskbd* at sskbd? # console ? 202 203# SCSI bus support 204scsibus* at scsi? 205 206# SCSI devices 207sd* at scsibus? target ? lun ? # SCSI disk drives 208#st* at scsibus? target ? lun ? # SCSI tape drives 209#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 210#ch* at scsibus? target ? lun ? # SCSI autochangers 211#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 212#ss* at scsibus? target ? lun ? # SCSI scanners 213#uk* at scsibus? target ? lun ? # SCSI unknown 214 215# ATAPI bus support 216#atapibus* at atapi? 217 218# ATAPI devices 219# flags have the same meaning as for IDE drives. 220#cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 221#sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 222#st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 223#uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 224 225# MIDI support 226#midi* at midibus? 227# midi* at pcppi? # MIDI interface to the PC speaker 228 229# Audio support 230audio* at audiobus? 231 232spkr* at audio? # PC speaker (synthesized) 233 234dme0 at ssextio? intr 7 addr 0x20000300 235 236#options MINI2440_ETHER_ADDR_FIXED="0x08,0x08,0x11,0x18,0x12,0x27" 237 238# built-in OHCI USB controller 239ohci0 at ssio? addr 0x49000000 intr 26 240#options OHCI_DEBUG 241# 242usb* at ohci0 243 244# USB Hubs 245uhub* at usb? 246uhub* at uhub? port ? 247 248# USB HID device 249#uhidev* at uhub? port ? configuration ? interface ? 250 251# USB Mice 252#ums* at uhidev? reportid ? 253#wsmouse* at ums? mux 0 254 255# USB Keyboards 256#ukbd* at uhidev? reportid ? 257#wskbd* at ukbd? console ? mux 1 258 259# USB serial adapter 260#ucycom* at uhidev? reportid ? 261 262# USB Generic HID devices 263#uhid* at uhidev? reportid ? 264 265# USB Printer 266#ulpt* at uhub? port ? configuration ? interface ? 267 268# USB Modem 269#umodem* at uhub? port ? configuration ? 270#ucom* at umodem? 271 272# USB Mass Storage 273umass* at uhub? port ? configuration ? interface ? 274 275# USB audio 276#uaudio* at uhub? port ? configuration ? 277 278# USB MIDI 279#umidi* at uhub? port ? configuration ? 280 281# USB IrDA 282# USB-IrDA bridge spec 283#uirda* at uhub? port ? configuration ? interface ? 284#irframe* at uirda? 285 286# SigmaTel STIr4200 USB/IrDA Bridge 287#ustir* at uhub? port ? 288#irframe* at ustir? 289 290# MII/PHY support 291#rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs 292#rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 293#ukphy* at mii? phy ? # generic unknown PHYs 294#urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 295 296# USB Ethernet adapters 297#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 298#axe* at uhub? port ? # ASIX AX88172 based adapters 299#cue* at uhub? port ? # CATC USB-EL1201A based adapters 300#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 301#mue* at uhub? port ? # Microchip LAN75xx/LAN78xx based adapters 302#ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters 303#url* at uhub? port ? # Realtek RTL8150L based adapters 304 305# Prolific PL2301/PL2302 host-to-host adapter 306#upl* at uhub? port ? 307 308# Serial adapters 309#ubsa* at uhub? port ? # Belkin serial adapter 310#ucom* at ubsa? portno ? 311# 312#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 313#ucom* at uftdi? portno ? 314# 315#umct* at uhub? port ? # MCT USB-RS232 serial adapter 316#ucom* at umct? portno ? 317# 318#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 319#ucom* at uplcom? portno ? 320# 321#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 322#ucom* at uvscom? portno ? 323 324# USB Handspring Visor 325#uvisor* at uhub? port ? 326#ucom* at uvisor? 327 328# Kyocera AIR-EDGE PHONE 329#ukyopon* at uhub? port ? 330#ucom* at ukyopon? portno ? 331 332# USB scanners that use SCSI emulation, e.g., HP5300 333#usscanner* at uhub? port ? 334 335# D-Link DSB-R100 USB radio 336#udsbr* at uhub? port ? 337#radio* at udsbr? 338 339# USB Generic driver 340#ugen* at uhub? port ? 341 342# Pseudo-Devices 343 344# disk/mass storage pseudo-devices 345#pseudo-device md # memory disk device (ramdisk) 346pseudo-device vnd # disk-like interface to files 347#pseudo-device fss # file system snapshot device 348#pseudo-device putter # for puffs and pud 349 350# network pseudo-devices 351pseudo-device bpfilter # Berkeley packet filter 352#pseudo-device npf # NPF packet filter 353pseudo-device loop # network loopback 354#pseudo-device ppp # Point-to-Point Protocol 355#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 356#pseudo-device sl # Serial Line IP 357#pseudo-device irframetty # IrDA frame line discipline 358#pseudo-device tun # network tunneling over tty 359#pseudo-device tap # virtual Ethernet 360#pseudo-device gre # generic L3 over IP tunnel 361#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 362#pseudo-device faith # IPv[46] tcp relay translation i/f 363#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 364#pseudo-device vlan # IEEE 802.1q encapsulation 365#pseudo-device bridge # simple inter-network bridging 366#pseudo-device vether # Virtual Ethernet for bridge 367 368# miscellaneous pseudo-devices 369pseudo-device pty # pseudo-terminals 370#pseudo-device rnd # /dev/random and in-kernel generator 371pseudo-device clockctl # user control of clock subsystem 372 373# wscons pseudo-devices 374pseudo-device wsmux # mouse & keyboard multiplexor 375#pseudo-device wsfont 376 377pseudo-device ksyms # /dev/ksyms 378