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