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