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