Module Name: src
Committed By: jmcneill
Date: Sat Dec 27 20:28:09 UTC 2014
Modified Files:
src/sys/arch/evbarm/conf: ROCKCHIP
Log Message:
Bring this closer to Allwinner / RPI configs:
Add MSDOSFS, KERNFS, PROCFS, INET6, SYSVMSG, SYSVSEM, SYSVSHM, BUFQ_PRIOCSCAN.
Remove DEBUG, LOCKDEBUG, VERBOSE_INIT_ARM.
Change DDB_ONPANIC from 2 to 1.
Cinclude ROCKCHIP.local
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbarm/conf/ROCKCHIP
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/conf/ROCKCHIP
diff -u src/sys/arch/evbarm/conf/ROCKCHIP:1.2 src/sys/arch/evbarm/conf/ROCKCHIP:1.3
--- src/sys/arch/evbarm/conf/ROCKCHIP:1.2 Sat Dec 27 01:29:13 2014
+++ src/sys/arch/evbarm/conf/ROCKCHIP Sat Dec 27 20:28:09 2014
@@ -1,5 +1,5 @@
#
-# $NetBSD: ROCKCHIP,v 1.2 2014/12/27 01:29:13 jmcneill Exp $
+# $NetBSD: ROCKCHIP,v 1.3 2014/12/27 20:28:09 jmcneill Exp $
#
# Rockchip RK3066/RK3188 based SBC (Single Board Computer)
#
@@ -31,11 +31,11 @@ file-system NFS # Network file system
#file-system ADOSFS # AmigaDOS-compatible file system
#file-system EXT2FS # second extended file system (linux)
#file-system CD9660 # ISO 9660 + Rock Ridge file system
-#file-system MSDOSFS # MS-DOS file system
+file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
-#file-system KERNFS # /kern
+file-system KERNFS # /kern
#file-system NULLFS # loopback file system
-#file-system PROCFS # /proc
+file-system PROCFS # /proc
#file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION # union file system
@@ -54,7 +54,7 @@ file-system PTYFS # /dev/pts/N support
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
-#options INET6 # IPV6
+options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
@@ -99,13 +99,13 @@ options COMPAT_70 # NetBSD 7.0 binary c
# Shared memory options
-#options SYSVMSG # System V-like message queues
-#options SYSVSEM # System V-like semaphores
+options SYSVMSG # System V-like message queues
+options SYSVSEM # System V-like semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
-#options SYSVSHM # System V-like memory sharing
+options SYSVSHM # System V-like memory sharing
# Device options
@@ -125,30 +125,38 @@ options KTRACE # system call tracing,
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options BUFQ_READPRIO
+options BUFQ_PRIOCSCAN
+
# Development and Debugging options
#options PERFCTRS # performance counters
options DIAGNOSTIC # internal consistency checks
-options DEBUG
-options LOCKDEBUG
+#options DEBUG
+#options LOCKDEBUG
#options PMAP_DEBUG # Enable pmap_debug_level code
#options IPKDB # remote kernel debugging
-options VERBOSE_INIT_ARM # verbose bootstraping messages
+#options VERBOSE_INIT_ARM # verbose bootstraping messages
options DDB # in-kernel debugger
-options DDB_ONPANIC=2
+options DDB_ONPANIC=1
options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
options DDB_COMMANDONENTER="bt"
#options KGDB
makeoptions DEBUG="-g" # compile full symbol table
makeoptions COPY_SYMTAB=1
+options BOOT_ARGS="\"\""
+
config netbsd root on ? type ?
# The main bus device
mainbus0 at root
# The boot cpu
-cpu0 at mainbus?
+cpu* at mainbus?
+#options MULTIPROCESSOR
# A9 core devices
armperiph0 at mainbus?
@@ -220,3 +228,5 @@ pseudo-device pty # pseudo-terminals
#pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
pseudo-device lockstat # lock profiling
+
+cinclude "arch/evbarm/conf/ROCKCHIP.local"