SMDK2800 revision 1.16
1# $NetBSD: SMDK2800,v 1.16 2004/09/04 23:29:47 manu Exp $ 2# 3# SMDK2800 -- Samsung's S3C2800 evaluation board. 4# 5 6include "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 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 32options S3C2XX0_XTAL_CLK=6000000 # 6MHz external Xtal 33 34# Architecture options 35 36# File systems 37 38file-system FFS # UFS 39#file-system LFS # log-structured file system 40file-system MFS # memory file system 41file-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 47file-system KERNFS # /kern 48#file-system NULLFS # loopback file system 49#file-system PORTAL # portal filesystem (still experimental) 50file-system PROCFS # /proc 51#file-system UMAPFS # NULLFS + uid and gid remapping 52#file-system UNION # union file system 53 54# File system options 55#options QUOTA # UFS quotas 56#options FFS_EI # FFS Endian Independant support 57#options NFSSERVER 58options SOFTDEP 59 60# Networking options 61 62#options GATEWAY # packet forwarding 63options INET # IP + ICMP + TCP + UDP 64options INET6 # IPV6 65#options IPSEC # IP security 66#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 67#options IPSEC_DEBUG # debug for IP security 68#options MROUTING # IP multicast routing 69#options PIM # Protocol Independent Multicast 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 82options NFS_BOOT_BOOTP 83options NFS_BOOT_DHCP 84options NFS_BOOT_BOOTPARAM 85 86# Compatibility options 87 88#options COMPAT_43 # 4.3BSD compatibility. 89options COMPAT_16 # NetBSD 1.6 compatibility. 90#options COMPAT_15 # NetBSD 1.5 compatibility. 91#options COMPAT_14 # NetBSD 1.4 compatibility. 92#options COMPAT_13 # NetBSD 1.3 compatibility. 93#options COMPAT_12 # NetBSD 1.2 compatibility. 94#options COMPAT_11 # NetBSD 1.1 compatibility. 95#options COMPAT_10 # NetBSD 1.0 compatibility. 96#options COMPAT_09 # NetBSD 0.9 compatibility. 97#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 98 99# Shared memory options 100 101#options SYSVMSG # System V-like message queues 102#options SYSVSEM # System V-like semaphores 103#options SEMMNI=10 # number of semaphore identifiers 104#options SEMMNS=60 # number of semaphores in system 105#options SEMUME=10 # max number of undo entries per process 106#options SEMMNU=30 # number of undo structures in system 107#options SYSVSHM # System V-like memory sharing 108#options SHMMAXPGS=1024 # 1024 pages is the default 109 110# Miscellaneous kernel options 111options KTRACE # system call tracing, a la ktrace(1) 112#XXX: options IRQSTATS # manage IRQ statistics 113#options LKM # loadable kernel modules 114#options KMEMSTATS # kernel memory statistics 115options SCSIVERBOSE # Verbose SCSI errors 116options PCIVERBOSE # Verbose PCI descriptions 117options MIIVERBOSE # Verbose MII autoconfuration messages 118#options PCI_CONFIG_DUMP # verbosely dump PCI config space 119options PCI_NETBSD_CONFIGURE # Do not rely on BIOS/whatever to 120 # configure PCI devices 121#options PCI_CONFIGURE_VERBOSE # Show PCI config information 122#options PCI_DEBUG 123options DDB_KEYCODE=0x1d # Enter ddb on ^] 124options USERCONF # userconf(4) support 125#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 126#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 127 128# Development and Debugging options 129 130#options ARM700BUGTRACK # track the ARM700 swi bug 131#options PORTMASTER # Enable PortMaster only options 132options DIAGNOSTIC # internal consistency checks 133#options PMAP_DEBUG # Enable pmap_debug_level code 134#options VERBOSE_INIT_ARM # verbose bootstraping messages 135#options IPKDB # remote kernel debugging 136#options KGDB 137#options DEBUG_KGDB 138#options DDB # in-kernel debugger 139#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 140#makeoptions DEBUG="-g" # compile full symbol table 141config netbsd root on ? type ? 142 143# The main bus device 144mainbus0 at root 145 146# The boot CPU 147cpu0 at mainbus? 148 149# Core logic on Samsung S3C2800 150ssio0 at mainbus? 151 152# integrated UART 153sscom0 at ssio? index 0 154sscom1 at ssio? index 1 155options SSCOM0CONSOLE 156#options SSCOM1CONSOLE 157options KGDB_DEVNAME="\"sscom1\"" # sscom0 or sscom1 158options KGDB_DEVRATE=57600 159 160# PCI bus via internal PCI controller 161sspci0 at ssio? # PCI bus 162pci0 at sspci0 163 164# PCI IDE Controllers and Devices 165# PCI IDE controllers - see pciide(4) for supported hardware. 166# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 167# how to set up DMA modes for this chip. This may work, or may cause 168# a machine hang with some controllers. 169#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 170#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 171#cmdide* at pci? dev ? function ? # CMD tech IDE controllers 172#hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 173#pdcide* at pci? dev ? function ? # Promise IDE controllers 174#satalink* at pci? dev ? function ? # SiI SATALink controllers 175 176# ATA bus support 177#atabus* at ata? channel ? 178 179# IDE drives 180# Flags are used only with controllers that support DMA operations 181# and mode settings (e.g. some pciide controllers) 182# The lowest order four bits (rightmost digit) of the flags define the PIO 183# mode to use, the next set of four bits the DMA mode and the third set the 184# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 185# to use, and the last bit must be 1 for this setting to be used. 186# For DMA and UDMA, 0xf (1111) means 'disable'. 187# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 188# (0xc=1100, 0xa=1010, 0xf=1111) 189# 0x0000 means "use whatever the drive claims to support". 190#wd* at atabus? drive ? flags 0x0000 # the drives themselves 191 192# PCI SCSI Controllers and Buses 193#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI Controllers 194#scsibus* at ahc? 195 196# SCSI devices 197 198#sd* at scsibus? target ? lun ? # SCSI disk drives 199#st* at scsibus? target ? lun ? # SCSI tape drives 200#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 201#ch* at scsibus? target ? lun ? # SCSI auto-changers drives 202#uk* at scsibus? target ? lun ? # SCSI unknown drives 203#ss* at scsibus? target ? lun ? # SCSI scanner 204 205# PCI network interfaces 206#fxp* at pci? dev ? function ? # I82557/I82558 ethernet cards 207#ne* at pci? dev ? function ? # NE2000 compat ethernet 208#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 209sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 210 211# MII/PHY support 212#inphy* at mii? phy ? # Intel 82555 PHYs 213#lxtphy* at mii? phy ? # Level One LXT-970 PHYs 214ukphy* at mii? phy ? # generic unknown PHYs 215 216# Pseudo-Devices 217 218# disk/mass storage pseudo-devices 219pseudo-device md 1 # memory disk device (ramdisk) 220#pseudo-device vnd 4 # disk-like interface to files 221 222# network pseudo-devices 223#pseudo-device bpfilter 4 # Berkeley packet filter 224#pseudo-device bridge # simple inter-network bridging 225pseudo-device loop # network loopback 226 227# miscellaneous pseudo-devices 228pseudo-device pty # pseudo-terminals 229pseudo-device rnd # /dev/random and in-kernel generator 230pseudo-device clockctl # user control of clock subsystem 231#pseudo-device ksyms # /dev/ksyms 232