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