Home | History | Annotate | Line # | Download | only in conf
SMDK2410 revision 1.63
      1 #	$NetBSD: SMDK2410,v 1.63 2017/02/19 07:47:00 rin 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	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
     57 file-system	PTYFS		# /dev/pts/N support
     58 
     59 # File system options
     60 #options 	QUOTA		# legacy UFS quotas
     61 #options 	QUOTA2		# new, in-filesystem UFS quotas
     62 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     63 #options 	FFS_EI		# FFS Endian Independent support
     64 #options 	NFSSERVER
     65 options 	WAPBL		# File system journaling support
     66 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     67 
     68 # Networking options
     69 
     70 options 	GATEWAY		# packet forwarding
     71 options 	INET		# IP + ICMP + TCP + UDP
     72 options 	INET6		# IPV6
     73 #options 	IPSEC		# IP security
     74 #options 	IPSEC_DEBUG	# debug for IP security
     75 #options 	MROUTING	# IP multicast routing
     76 #options 	PIM		# Protocol Independent Multicast
     77 #options 	NETATALK	# AppleTalk networking
     78 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     79 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     80 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     81 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     82 
     83 # These options enable verbose messages for several subsystems.
     84 # Warning, these may compile large string tables into the kernel!
     85 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
     86 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
     87 #options 	SCSIVERBOSE	# human readable SCSI error messages
     88 options 	USBVERBOSE	# verbose USB device autoconfig messages
     89 
     90 options 	NFS_BOOT_BOOTP
     91 options 	NFS_BOOT_DHCP
     92 options 	NFS_BOOT_BOOTPARAM
     93 
     94 # Compatibility options
     95 
     96 options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     97 #options 	COMPAT_43	# 4.3BSD compatibility.
     98 #options 	COMPAT_09	# NetBSD 0.9,
     99 #options 	COMPAT_10	# NetBSD 1.0,
    100 #options 	COMPAT_11	# NetBSD 1.1,
    101 #options 	COMPAT_12	# NetBSD 1.2,
    102 #options 	COMPAT_13	# NetBSD 1.3,
    103 #options 	COMPAT_14	# NetBSD 1.4,
    104 #options 	COMPAT_15	# NetBSD 1.5,
    105 options 	COMPAT_16	# NetBSD 1.6,
    106 options 	COMPAT_20	# NetBSD 2.0,
    107 options 	COMPAT_30	# NetBSD 3.0,
    108 options 	COMPAT_40	# NetBSD 4.0,
    109 options 	COMPAT_50	# NetBSD 5.0,
    110 options 	COMPAT_60	# NetBSD 6.0, and
    111 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
    112 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    113 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    114 
    115 # Shared memory options
    116 
    117 options 	SYSVMSG		# System V-like message queues
    118 options 	SYSVSEM		# System V-like semaphores
    119 options 	SYSVSHM		# System V-like memory sharing
    120 
    121 # Miscellaneous kernel options
    122 options 	KTRACE		# system call tracing, a la ktrace(1)
    123 #XXX: options 	IRQSTATS	# manage IRQ statistics
    124 options 	SCSIVERBOSE	# Verbose SCSI errors
    125 options 	PCIVERBOSE	# Verbose PCI descriptions
    126 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    127 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    128 options 	PCI_NETBSD_CONFIGURE	# Do not rely on BIOS/whatever to
    129 					# configure PCI devices
    130 #options 	PCI_CONFIGURE_VERBOSE	# Show PCI config information
    131 #options 	PCI_DEBUG
    132 options 	DDB_KEYCODE=0x1d	# Enter ddb on ^]
    133 options 	USERCONF	# userconf(4) support
    134 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    135 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    136 
    137 # Development and Debugging options
    138 
    139 #options 	ARM700BUGTRACK	# track the ARM700 swi bug
    140 #options 	PORTMASTER	# Enable PortMaster only options
    141 #options 	DIAGNOSTIC	# internal consistency checks
    142 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
    143 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    144 #options 	KGDB
    145 #options  	DEBUG_KGDB
    146 #options 	DDB		# in-kernel debugger
    147 #options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    148 #makeoptions	DEBUG="-g"	# compile full symbol table
    149 config		netbsd	root on ? type ?
    150 
    151 # The main bus device
    152 mainbus0	at root
    153 
    154 # The boot CPU
    155 cpu0		at mainbus?
    156 
    157 # Core logic on Samsung S3C2410
    158 ssio0	at mainbus?
    159 ssextio0 at ssio0
    160 
    161 # integrated UART
    162 sscom0	at ssio? index 0
    163 sscom1	at ssio? index 1
    164 #sscom2	at ssio? index 2
    165 options 	SSCOM0CONSOLE
    166 #options 	SSCOM1CONSOLE
    167 options CONSPEED=115200
    168 options KGDB_DEVNAME="\"sscom1\""   # sscom0 or sscom1
    169 options KGDB_DEVRATE=115200
    170 
    171 # LCD
    172 #device-major	lcd	char 145
    173 lcd0		at ssio?
    174 wsdisplay*	at lcd? console ?
    175 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    176 options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    177 options 	FONT_VT220L8x16
    178 options 	FONT_VT220L8x10
    179 #options 	LCD_DEBUG
    180 
    181 # SPI port
    182 #ssspi0	at ssio? index 0
    183 ssspi1	at ssio? index 1
    184 
    185 # on-board keyboard controller (Semtech SPICoder-SA01) via SPI1
    186 sskbd0	at ssspi1	intr 1
    187 wskbd* at sskbd? # console ?
    188 
    189 # SCSI bus support
    190 scsibus* at scsi?
    191 
    192 # SCSI devices
    193 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    194 st*	at scsibus? target ? lun ?	# SCSI tape drives
    195 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    196 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    197 ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    198 ss*	at scsibus? target ? lun ?	# SCSI scanners
    199 uk*	at scsibus? target ? lun ?	# SCSI unknown
    200 
    201 # ATAPI bus support
    202 atapibus* at atapi?
    203 
    204 # ATAPI devices
    205 # flags have the same meaning as for IDE drives.
    206 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    207 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    208 st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    209 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    210 
    211 # MIDI support
    212 midi*	at midibus?
    213 # midi*	at pcppi?		# MIDI interface to the PC speaker
    214 
    215 # Audio support
    216 audio*	at audiobus?
    217 
    218 spkr*	at audio?		# PC speaker (synthesized)
    219 
    220 # on-board CS8900A Ethernet
    221 cs*	at ssextio? intr 9 addr 0x18000000
    222 # set MAC address to on-board CS8900A.
    223 options	SMDK24X0_ETHER_ADDR_FIXED="0,0x0a,0xb1,0,1,0xff"
    224 
    225 # built-in OHCI USB controller
    226 ohci0	at ssio? addr 0x49000000 intr 26
    227 options 	OHCI_DEBUG
    228 
    229 usb*	at ohci0
    230 
    231 # USB Hubs
    232 uhub*	at usb?
    233 uhub*	at uhub? port ?
    234 
    235 # USB HID device
    236 uhidev*	at uhub? port ? configuration ? interface ?
    237 
    238 # USB Mice
    239 ums*	at uhidev? reportid ?
    240 wsmouse* at ums? mux 0
    241 
    242 # USB Keyboards
    243 ukbd*	at uhidev? reportid ?
    244 wskbd*	at ukbd? console ? mux 1
    245 
    246 # USB serial adapter
    247 ucycom*	at uhidev? reportid ?
    248 
    249 # USB Generic HID devices
    250 uhid*	at uhidev? reportid ?
    251 
    252 # USB Printer
    253 ulpt*	at uhub? port ? configuration ? interface ?
    254 
    255 # USB Modem
    256 umodem*	at uhub? port ? configuration ?
    257 ucom*	at umodem?
    258 
    259 # Option N.V. Wireless WAN modems
    260 uhso*	at uhub? port ? configuration ?
    261 
    262 # USB Mass Storage
    263 umass*	at uhub? port ? configuration ? interface ?
    264 wd* at umass?
    265 
    266 # USB audio
    267 uaudio*	at uhub? port ? configuration ?
    268 
    269 # USB MIDI
    270 umidi* at uhub? port ? configuration ?
    271 
    272 # USB IrDA
    273 # USB-IrDA bridge spec
    274 uirda* at uhub? port ? configuration ? interface ?
    275 irframe* at uirda?
    276 
    277 # SigmaTel STIr4200 USB/IrDA Bridge
    278 ustir* at uhub? port ?
    279 irframe* at ustir?
    280 
    281 # USB Ethernet adapters
    282 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    283 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    284 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    285 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    286 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    287 
    288 # Prolific PL2301/PL2302 host-to-host adapter
    289 upl*	at uhub? port ?
    290 
    291 # Serial adapters
    292 ubsa*	at uhub? port ?		# Belkin serial adapter
    293 ucom*	at ubsa? portno ?
    294 
    295 uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    296 ucom*	at uftdi? portno ?
    297 
    298 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    299 ucom*	at umct? portno ?
    300 
    301 uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
    302 ucom*	at uplcom? portno ?
    303 
    304 uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
    305 ucom*	at uvscom? portno ?
    306 
    307 # Diamond Multimedia Rio 500
    308 urio*	at uhub? port ?
    309 
    310 # USB Handspring Visor
    311 uvisor*	at uhub? port ?
    312 ucom*	at uvisor?
    313 
    314 # Kyocera AIR-EDGE PHONE
    315 ukyopon* at uhub? port ?
    316 ucom*	at ukyopon? portno ?
    317 
    318 # USB scanners
    319 #uscanner* at uhub? port ?
    320 
    321 # USB scanners that use SCSI emulation, e.g., HP5300
    322 usscanner* at uhub? port ?
    323 
    324 # Y@P firmware loader
    325 uyap* at uhub? port ?
    326 
    327 # D-Link DSB-R100 USB radio
    328 udsbr*	at uhub? port ?
    329 radio*	at udsbr?
    330 
    331 # USB Generic driver
    332 ugen*	at uhub? port ?
    333 
    334 # Pseudo-Devices
    335 
    336 # disk/mass storage pseudo-devices
    337 #pseudo-device	md			# memory disk device (ramdisk)
    338 #pseudo-device	vnd			# disk-like interface to files
    339 #pseudo-device	fss			# file system snapshot device
    340 #pseudo-device	putter			# for puffs and pud
    341 
    342 # network pseudo-devices
    343 #pseudo-device	bpfilter		# Berkeley packet filter
    344 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    345 pseudo-device	loop			# network loopback
    346 #pseudo-device	ppp			# Point-to-Point Protocol
    347 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    348 #pseudo-device	sl			# Serial Line IP
    349 #pseudo-device	strip			# Starmode Radio IP (Metricom)
    350 #pseudo-device	irframetty		# IrDA frame line discipline
    351 #pseudo-device	tun			# network tunneling over tty
    352 #pseudo-device	tap			# virtual Ethernet
    353 #pseudo-device	gre			# generic L3 over IP tunnel
    354 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    355 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    356 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    357 #pseudo-device	vlan			# IEEE 802.1q encapsulation
    358 #pseudo-device	bridge			# simple inter-network bridging
    359 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    360 
    361 # miscellaneous pseudo-devices
    362 pseudo-device	pty			# pseudo-terminals
    363 pseudo-device	clockctl		# user control of clock subsystem
    364 
    365 # wscons pseudo-devices
    366 pseudo-device	wsmux			# mouse & keyboard multiplexor
    367 #pseudo-device	wsfont
    368 
    369 #pseudo-device	ksyms			# /dev/ksyms
    370