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