Home | History | Annotate | Line # | Download | only in conf
KOBO revision 1.2
      1 #	$NetBSD: KOBO,v 1.2 2014/07/27 03:34:41 dholland Exp $
      2 #
      3 #	KOBO -- http://kobo.com
      4 #
      5 
      6 include	"arch/evbarm/conf/std.kobo"
      7 
      8 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
      9 
     10 # estimated number of users
     11 
     12 maxusers	32
     13 
     14 # Standard system options
     15 
     16 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     17 #options 	NTP		# NTP phase/frequency locked loop
     18 
     19 # CPU options
     20 options 	CPU_CORTEXA8	# Support the ARM-v7a core
     21 options 	IMX50
     22 options 	IMX508
     23 options		IMX51
     24 options 	PMAPCOUNTERS
     25 
     26 # Architecture options
     27 
     28 options 	MEMSTART=0x70000000
     29 options 	MEMSIZE=256
     30 options 	IMX51_IPGCLK_FREQ=50000000   # XXX This value is not correct.
     31 
     32 # File systems
     33 
     34 file-system	FFS		# UFS
     35 #file-system	LFS		# log-structured file system
     36 file-system	MFS		# memory file system
     37 file-system	NFS		# Network file system
     38 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     39 file-system 	EXT2FS		# second extended file system (linux)
     40 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     41 file-system	MSDOSFS		# MS-DOS file system
     42 file-system	FDESC		# /dev/fd
     43 file-system	KERNFS		# /kern
     44 file-system	NULLFS		# loopback file system
     45 file-system	PROCFS		# /proc
     46 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     47 file-system	TMPFS		# memory file system
     48 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     49 #file-system	UNION		# union file system
     50 file-system	PTYFS		# /dev/pts/N support
     51 
     52 # File system options
     53 #options 	QUOTA		# legacy UFS quotas
     54 #options 	QUOTA2		# new, in-filesystem UFS quotas
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	NFSSERVER
     57 options 	WAPBL		# File system journaling support
     58 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     59 
     60 # Networking options
     61 
     62 #options 	GATEWAY		# packet forwarding
     63 options 	INET		# IP + ICMP + TCP + UDP
     64 options 	INET6		# IPV6
     65 #options 	IPSEC		# IP security
     66 #options 	IPSEC_DEBUG	# debug for IP security
     67 #options 	MROUTING	# IP multicast routing
     68 #options 	PIM		# Protocol Independent Multicast
     69 #options 	NETATALK	# AppleTalk networking
     70 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     71 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     72 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     73 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     74 
     75 #options 	NFS_BOOT_BOOTP
     76 #options 	NFS_BOOT_DHCP
     77 #options 	NFS_BOOT_BOOTPARAM
     78 #options	DEBUG_NFS_BOOT_DHCP
     79 
     80 # Compatibility options
     81 
     82 #options 	COMPAT_43	# 4.3BSD compatibility.
     83 options 	COMPAT_60	# NetBSD 6.0 compatibility.
     84 #options 	COMPAT_50	# NetBSD 5.0 compatibility.
     85 #options 	COMPAT_40	# NetBSD 4.0 compatibility.
     86 #options 	COMPAT_30	# NetBSD 3.0 compatibility.
     87 #options 	COMPAT_20	# NetBSD 2.0 compatibility.
     88 #options 	COMPAT_16	# NetBSD 1.6 compatibility.
     89 #options 	COMPAT_15	# NetBSD 1.5 compatibility.
     90 #options 	COMPAT_14	# NetBSD 1.4 compatibility.
     91 #options 	COMPAT_13	# NetBSD 1.3 compatibility.
     92 #options 	COMPAT_12	# NetBSD 1.2 compatibility.
     93 #options 	COMPAT_11	# NetBSD 1.1 compatibility.
     94 #options 	COMPAT_10	# NetBSD 1.0 compatibility.
     95 #options 	COMPAT_09	# NetBSD 0.9 compatibility.
     96 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     97 
     98 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
     99 #options 	COMPAT_LINUX	# binary compatibility with Linux
    100 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    101 
    102 # Shared memory options
    103 
    104 options 	SYSVMSG		# System V-like message queues
    105 options 	SYSVSEM		# System V-like semaphores
    106 #options 	SEMMNI=10	# number of semaphore identifiers
    107 #options 	SEMMNS=60	# number of semaphores in system
    108 #options 	SEMUME=10	# max number of undo entries per process
    109 #options 	SEMMNU=30	# number of undo structures in system
    110 options 	SYSVSHM		# System V-like memory sharing
    111 
    112 # Device options
    113 
    114 # Console options.    also need IMXUARTCONSOLE
    115 options 	CONSDEVNAME="\"imxuart\"",CONADDR=0x53fc0000
    116 options 	CONSPEED=115200	# Console speed
    117 
    118 # kgdb
    119 #options	KGDB
    120 #options 	KGDB_DEVNAME="\"imxuart\""
    121 #options 	KGDB_DEVADDR=0x73fbc000
    122 #options 	KGDB_DEVRATE=115200
    123 
    124 # Miscellaneous kernel options
    125 options 	KTRACE		# system call tracing, a la ktrace(1)
    126 options 	IRQSTATS	# manage IRQ statistics
    127 #options 	KMEMSTATS	# kernel memory statistics
    128 options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    129 options 	USBVERBOSE	# verbose USB device autoconfig messages
    130 #options 	SCSIVERBOSE	# Verbose SCSI errors
    131 options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    132 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    133 #options 	DDB_KEYCODE=0x40
    134 options 	USERCONF	# userconf(4) support
    135 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    136 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
    137 options 	NO_POWERSAVE	# uncomment this to run under ICE
    138 
    139 # Development and Debugging options
    140 #options 	PERFCTRS	# performance counters
    141 #options 	DIAGNOSTIC	# internal consistency checks
    142 #options 	DEBUG
    143 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
    144 options 	DDB		# in-kernel debugger
    145 options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
    146 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    147 options 	DDB_VERBOSE_HELP
    148 #options 	LOCKDEBUG
    149 #ptions 	PMAP_DEBUG	# Enable pmap_debug_level code
    150 #options 	IPKDB		# remote kernel debugging
    151 options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    152 makeoptions	DEBUG="-g"	# compile full symbol table
    153 #makeoptions	COPTS="-O2"
    154 #options 	SYSCALL_STATS	# per syscall counts
    155 #options 	SYSCALL_TIMES 	# per syscall times
    156 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
    157 #options 	SCSIPI_DEBUG
    158 #options	SCSIPI_DEBUG_TYPE=SCSIPI_BUSTYPE_SCSI
    159 #options	SCSIPI_DEBUG_TARGET=0
    160 #options	SCSIPI_DEBUG_LUN=0
    161 #options	DEBUG_STARTUP
    162 
    163 ## USB Debugging options
    164 #options	USB_DEBUG
    165 #options	EHCI_DEBUG
    166 #options	OHCI_DEBUG
    167 #options	UHUB_DEBUG
    168 
    169 # Valid options for BOOT_ARGS:
    170 #  single		Boot to single user only
    171 #  kndb			Give control to kernel debugger
    172 #  ask			Ask for file name to reboot from
    173 #  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
    174 #  memorydisk=<n>	Set memorydisk size to <n> KB
    175 #  quiet		Show aprint_naive output
    176 #  verbose		Show aprint_normal and aprint_verbose output
    177 options		BOOT_ARGS="\"verbose\""
    178 
    179 # Kernel root file system and dump configuration.
    180 config		netbsd		root on ? type ?
    181 config		netbsd-ld0	root on ld0 type ffs
    182 
    183 # The main bus device
    184 mainbus0	at root
    185 
    186 # The boot cpu
    187 cpu*		at mainbus?
    188 
    189 # Devices
    190 # On-chip
    191 # On-chip bus
    192 axi0		at mainbus?
    193 
    194 # Interrupt Cotroller
    195 tzic0		at axi? addr 0x0fffc000 size 0x4000 irqbase 0
    196 
    197 # Serial
    198 #imxuart0	at axi? addr 0x53fbc000 irq 31		# UART1
    199 imxuart1	at axi? addr 0x53fc0000 irq 32
    200 #imxuart2	at axi? addr 0x5000c000 irq 33
    201 options		IMXUARTCONSOLE
    202 
    203 # Clock Control
    204 imxccm0		at axi? addr 0x53fd4000
    205 options		IMX51_CKIL_FREQ=32768
    206 
    207 # Enhanced Periodic Interrupt Timer
    208 imxclock0	at axi? addr 0x53fac000 size 0x4000 irq 40
    209 
    210 # IOMUX
    211 imxiomux0	at axi? addr 0x53fa8000
    212 
    213 # WatchDog
    214 imxwdog0	at axi? addr 0x53f98000 irq 58 flags 0
    215 
    216 # GPIO
    217 imxgpio0	at axi? addr 0x53f84000 irqbase 128 irq 50
    218 imxgpio1	at axi? addr 0x53f88000 irqbase 160 irq 52
    219 imxgpio2	at axi? addr 0x53f8c000 irqbase 192 irq 54
    220 imxgpio3	at axi? addr 0x53f90000 irqbase 224 irq 56
    221 imxgpio4	at axi? addr 0x53fdc000 irqbase 256 irq 103
    222 imxgpio5	at axi? addr 0x53fe0000 irqbase 288 irq 105
    223 
    224 # EPDC E-Ink Controller
    225 #epdc0		at axi? addr 0x41010000 size 0x2000 irq 27
    226 #wsdisplay0	at wsemuldisplaydev? console ?
    227 #wsdisplay*	at wsemuldisplaydev?
    228 #options		EPDC_DEBUG=10
    229 #options		EINK_DEBUG
    230 #options		IMXEPDCCONSOLE
    231 
    232 # I2C
    233 imxi2c0		at axi? addr 0x63fc8000 irq 62
    234 imxi2c1		at axi? addr 0x63fc4000 irq 63
    235 #imxi2c2	at axi? addr 0x53fec000 irq 64
    236 
    237 # IIC
    238 iic*		at imxi2c?
    239 
    240 lmtemp*		at iic1 addr 0x48		# LM75 temperature sensor
    241 
    242 # SD/MMC
    243 sdhc0		at axi? addr 0x50004000 irq 1	# eSDHC1
    244 sdhc1		at axi? addr 0x50008000 irq 2	# eSDHC2
    245 sdhc2		at axi? addr 0x50020000 irq 3	# eSDHC3
    246 #sdhc3		at axi? addr 0x50024000 irq 4	# eSDHC4
    247 sdmmc*		at sdhc?
    248 ld*		at sdmmc?		# MMC/SD card
    249 #options 	SDHC_DEBUG
    250 #options 	SDMMC_DEBUG
    251 
    252 # USB
    253 imxusbc0	at axi? addr 0x53f80000
    254 ehci0		at imxusbc0	unit 0	irq 18 # OTG
    255 #ehci1		at imxusbc0	unit 1	irq 14 # Host1
    256 
    257 usb*		at ehci?
    258 
    259 # USB device drivers, just as soon as we have something to attach them to
    260 include "dev/usb/usbdevices.config"
    261 
    262 ukphy*		at mii? phy ?
    263 
    264 # Pseudo-Devices
    265 
    266 pseudo-device	crypto			# /dev/crypto device
    267 pseudo-device	swcrypto		# software crypto implementation
    268 
    269 # disk/mass storage pseudo-devices
    270 #pseudo-device	md			# memory disk device (ramdisk)
    271 #pseudo-device	vnd			# disk-like interface to files
    272 
    273 # network pseudo-devices
    274 pseudo-device	bpfilter		# Berkeley packet filter
    275 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    276 pseudo-device	loop			# network loopback
    277 pseudo-device	ppp			# Point-to-Point Protocol
    278 
    279 # miscellaneous pseudo-devices
    280 pseudo-device	pty			# pseudo-terminals
    281 pseudo-device	ksyms			# /dev/ksyms
    282 pseudo-device	clockctl		# NTP clockctl
    283 
    284 # wscons pseudo-devices
    285 pseudo-device	wsmux			# mouse & keyboard multiplexor
    286 pseudo-device	wsfont
    287 
    288 # local configuration
    289 cinclude "arch/evbarm/conf/KOBO.local"
    290