mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
[mips] default AR933x/AR934x to include mips24k hwpmc and limit umtx chain memory wastage.
Tested: * AR933x SoC (Carambola2) * AR934x SoC (TP-Link WDR3600)
This commit is contained in:
parent
da0d7209e0
commit
b0168423b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317727
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user