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