svn commit: r317727 - head/sys/mips/conf
Adrian Chadd
adrian at FreeBSD.org
Wed May 3 05:45:44 UTC 2017
Author: adrian
Date: Wed May 3 05:45:43 2017
New Revision: 317727
URL: https://svnweb.freebsd.org/changeset/base/317727
Log:
[mips] default AR933x/AR934x to include mips24k hwpmc and limit umtx chain memory wastage.
Tested:
* AR933x SoC (Carambola2)
* AR934x SoC (TP-Link WDR3600)
Modified:
head/sys/mips/conf/CARAMBOLA2
head/sys/mips/conf/std.AR933X
head/sys/mips/conf/std.AR934X
Modified: head/sys/mips/conf/CARAMBOLA2
==============================================================================
--- head/sys/mips/conf/CARAMBOLA2 Wed May 3 05:33:15 2017 (r317726)
+++ head/sys/mips/conf/CARAMBOLA2 Wed May 3 05:45:43 2017 (r317727)
@@ -24,6 +24,8 @@ hints "CARAMBOLA2.hints"
# Board memory - 64MB
options AR71XX_REALMEM=(64*1024*1024)
+options EARLY_PRINTF
+
# i2c GPIO bus
#device gpioiic
#device iicbb
Modified: head/sys/mips/conf/std.AR933X
==============================================================================
--- head/sys/mips/conf/std.AR933X Wed May 3 05:33:15 2017 (r317726)
+++ head/sys/mips/conf/std.AR933X Wed May 3 05:45:43 2017 (r317727)
@@ -20,7 +20,7 @@ files "../atheros/files.ar71xx"
hints "AR933X_BASE.hints"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
-makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw"
+makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw hwpmc_mips24k"
options DDB
options KDB
@@ -51,10 +51,10 @@ options VM_KMEM_SIZE_SCALE=1
options NBUF=128
# Limit UMTX hash size
-# options UMTX_NUM_CHAINS=64
+options UMTX_CHAINS=64
# PMC
-#options HWPMC_HOOKS
+options HWPMC_HOOKS
#device hwpmc
#device hwpmc_mips24k
Modified: head/sys/mips/conf/std.AR934X
==============================================================================
--- head/sys/mips/conf/std.AR934X Wed May 3 05:33:15 2017 (r317726)
+++ head/sys/mips/conf/std.AR934X Wed May 3 05:45:43 2017 (r317727)
@@ -20,7 +20,7 @@ files "../atheros/files.ar71xx"
hints "AR934X_BASE.hints"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
-makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw"
+makeoptions MODULES_OVERRIDE="gpio ar71xx if_gif if_vlan if_gre if_tap if_tun if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr hwpmc ipfw ipfw_nat libalias ipfw_nptv6 rtwn rtwn_usb rtwnfw otus otusfw hwpmc_mips24k"
# makeoptions MODULES_OVERRIDE=""
options DDB
@@ -47,10 +47,10 @@ options NO_SYSCTL_DESCR
options NBUF=128
# Limit UMTX hash size
-# options UMTX_NUM_CHAINS=64
+options UMTX_CHAINS=64
# PMC
-#options HWPMC_HOOKS
+options HWPMC_HOOKS
#device hwpmc
#device hwpmc_mips24k
More information about the svn-src-head
mailing list