gps: Configuration split am: 358a032dcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15786019 Change-Id: I526eda2c56aeb0b96b9fe5b9653eab54b865d881
This commit is contained in:
commit
b70aa1274d
14 changed files with 341 additions and 47 deletions
|
@ -5,9 +5,9 @@
|
||||||
BaudRate="921600"
|
BaudRate="921600"
|
||||||
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
CustGpioDelayMs="250"
|
CustGpioDelayMs="250"
|
||||||
LogEnabled="false"
|
LogEnabled="true"
|
||||||
Log="JAVA"
|
Log="JAVA"
|
||||||
SecondaryConfigPath="/vendor/etc/gnss/gps2.xml"
|
SecondaryConfigPath="/data/vendor/gps/logs/gps2.xml"
|
||||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
AssertEnabled="false"
|
AssertEnabled="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll
|
<gll
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
RfPathLossDb_Cp_L5="3.5"
|
RfPathLossDb_Cp_L5="3.5"
|
||||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll_features
|
<gll_features
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
BaudRate="921600"
|
BaudRate="921600"
|
||||||
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
CustGpioDelayMs="250"
|
CustGpioDelayMs="250"
|
||||||
LogEnabled="false"
|
LogEnabled="true"
|
||||||
Log="JAVA"
|
Log="JAVA"
|
||||||
SecondaryConfigPath="/vendor/etc/gnss/gps2.xml"
|
SecondaryConfigPath="/data/vendor/gps/logs/gps2.xml"
|
||||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
AssertEnabled="false"
|
AssertEnabled="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll
|
<gll
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
RfPathLossDb_Cp_L5="4.1"
|
RfPathLossDb_Cp_L5="4.1"
|
||||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll_features
|
<gll_features
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
BaudRate="921600"
|
BaudRate="921600"
|
||||||
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
CustGpioDelayMs="250"
|
CustGpioDelayMs="250"
|
||||||
LogEnabled="false"
|
LogEnabled="true"
|
||||||
Log="JAVA"
|
Log="JAVA"
|
||||||
SecondaryConfigPath="/vendor/etc/gnss/gps2.xml"
|
SecondaryConfigPath="/data/vendor/gps/logs/gps2.xml"
|
||||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
AssertEnabled="false"
|
AssertEnabled="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll
|
<gll
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
RfPathLossDb_Cp_L5="4"
|
RfPathLossDb_Cp_L5="4"
|
||||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<gll_features
|
<gll_features
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
|
||||||
<hal
|
|
||||||
LogEnabled="true"
|
|
||||||
Log="JAVA"
|
|
||||||
AssertEnabled="true"
|
|
||||||
/>
|
|
||||||
<gll
|
|
||||||
EnableOnChipStopNotification="false"
|
|
||||||
/>
|
|
||||||
</glgps>
|
|
||||||
|
|
87
gnss/47765/config/gps_user.xml
Normal file
87
gnss/47765/config/gps_user.xml
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||||
|
<hal
|
||||||
|
PortName="/dev/ttyBCM"
|
||||||
|
BaudRate="921600"
|
||||||
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
|
CustGpioDelayMs="250"
|
||||||
|
LogEnabled="false"
|
||||||
|
Log="JAVA"
|
||||||
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
|
||||||
|
acSuplServer="supl.google.com"
|
||||||
|
SuplPort="7275"
|
||||||
|
SuplLogEnable="false"
|
||||||
|
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||||
|
tlsEnable="true"
|
||||||
|
|
||||||
|
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||||
|
SuplEnable="true"
|
||||||
|
SuplUseApn="true"
|
||||||
|
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||||
|
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||||
|
SuplUT1Seconds="20"
|
||||||
|
SuplUT2Seconds="20"
|
||||||
|
SuplUT3Seconds="20"
|
||||||
|
TcpConnectionTimeout="20"
|
||||||
|
SuplLppCapable="true"
|
||||||
|
SuplEcidCapable="true"
|
||||||
|
SuplVersion="2"
|
||||||
|
SuplMinorVersion="0"
|
||||||
|
SuplOtdoaCapable="true"
|
||||||
|
SuplGlonassCapable = "true"
|
||||||
|
SuplGalileoCapable = "true"
|
||||||
|
SuplBdsCapable = "true"
|
||||||
|
SuplMgpsCapable = "true"
|
||||||
|
|
||||||
|
RtoEnable="true"
|
||||||
|
RtiEnable="true"
|
||||||
|
HttpSyncLto="true"
|
||||||
|
LtoFileName="lto2.dat"
|
||||||
|
LtoDir="/data/vendor/gps/"
|
||||||
|
LtoSyncThresholdDays="1"
|
||||||
|
|
||||||
|
GnssYearOfHardware="2020"
|
||||||
|
CpGuardTimeSec="1"
|
||||||
|
CpLppGuardTimeSec="1"
|
||||||
|
IgnoreInjectedSystemTime="true"
|
||||||
|
|
||||||
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
|
AssertEnabled="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll
|
||||||
|
LogPriMask="LOG_INFO"
|
||||||
|
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||||
|
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||||
|
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||||
|
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||||
|
RfType="GL_RF_4776_BRCM"
|
||||||
|
ExtL5Bias="13.0"
|
||||||
|
EnableFilteringForLTEB13="true"
|
||||||
|
|
||||||
|
WarmStandbyTimeout1Seconds="10"
|
||||||
|
WarmStandbyTimeout2Seconds="15"
|
||||||
|
|
||||||
|
EnableGnssPropagateInStandby="true"
|
||||||
|
|
||||||
|
RfPathLossDb_Ap="3.5"
|
||||||
|
RfPathLossDb_Cp="3.5"
|
||||||
|
RfPathLossDb_Ap_L5="3.5"
|
||||||
|
RfPathLossDb_Cp_L5="3.5"
|
||||||
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll_features
|
||||||
|
EnableLowPowerPmm="true"
|
||||||
|
EnableNicAutoSwitch="true"
|
||||||
|
EnableNavic="true"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</glgps>
|
||||||
|
|
87
gnss/47765/config/gps_user.xml.oriole
Normal file
87
gnss/47765/config/gps_user.xml.oriole
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||||
|
<hal
|
||||||
|
PortName="/dev/ttyBCM"
|
||||||
|
BaudRate="921600"
|
||||||
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
|
CustGpioDelayMs="250"
|
||||||
|
LogEnabled="false"
|
||||||
|
Log="JAVA"
|
||||||
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
|
||||||
|
acSuplServer="supl.google.com"
|
||||||
|
SuplPort="7275"
|
||||||
|
SuplLogEnable="false"
|
||||||
|
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||||
|
tlsEnable="true"
|
||||||
|
|
||||||
|
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||||
|
SuplEnable="true"
|
||||||
|
SuplUseApn="true"
|
||||||
|
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||||
|
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||||
|
SuplUT1Seconds="20"
|
||||||
|
SuplUT2Seconds="20"
|
||||||
|
SuplUT3Seconds="20"
|
||||||
|
TcpConnectionTimeout="20"
|
||||||
|
SuplLppCapable="true"
|
||||||
|
SuplEcidCapable="true"
|
||||||
|
SuplVersion="2"
|
||||||
|
SuplMinorVersion="0"
|
||||||
|
SuplOtdoaCapable="true"
|
||||||
|
SuplGlonassCapable = "true"
|
||||||
|
SuplGalileoCapable = "true"
|
||||||
|
SuplBdsCapable = "true"
|
||||||
|
SuplMgpsCapable = "true"
|
||||||
|
|
||||||
|
RtoEnable="true"
|
||||||
|
RtiEnable="true"
|
||||||
|
HttpSyncLto="true"
|
||||||
|
LtoFileName="lto2.dat"
|
||||||
|
LtoDir="/data/vendor/gps/"
|
||||||
|
LtoSyncThresholdDays="1"
|
||||||
|
|
||||||
|
GnssYearOfHardware="2020"
|
||||||
|
CpGuardTimeSec="1"
|
||||||
|
CpLppGuardTimeSec="1"
|
||||||
|
IgnoreInjectedSystemTime="true"
|
||||||
|
|
||||||
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
|
AssertEnabled="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll
|
||||||
|
LogPriMask="LOG_INFO"
|
||||||
|
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||||
|
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||||
|
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||||
|
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||||
|
RfType="GL_RF_4776_BRCM"
|
||||||
|
ExtL5Bias="9.3"
|
||||||
|
EnableFilteringForLTEB13="true"
|
||||||
|
|
||||||
|
WarmStandbyTimeout1Seconds="10"
|
||||||
|
WarmStandbyTimeout2Seconds="15"
|
||||||
|
|
||||||
|
EnableGnssPropagateInStandby="true"
|
||||||
|
|
||||||
|
RfPathLossDb_Ap="4.2"
|
||||||
|
RfPathLossDb_Cp="4.2"
|
||||||
|
RfPathLossDb_Ap_L5="4.1"
|
||||||
|
RfPathLossDb_Cp_L5="4.1"
|
||||||
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll_features
|
||||||
|
EnableLowPowerPmm="true"
|
||||||
|
EnableNicAutoSwitch="true"
|
||||||
|
EnableNavic="true"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</glgps>
|
||||||
|
|
87
gnss/47765/config/gps_user.xml.raven
Normal file
87
gnss/47765/config/gps_user.xml.raven
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||||
|
<hal
|
||||||
|
PortName="/dev/ttyBCM"
|
||||||
|
BaudRate="921600"
|
||||||
|
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
|
||||||
|
CustGpioDelayMs="250"
|
||||||
|
LogEnabled="false"
|
||||||
|
Log="JAVA"
|
||||||
|
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||||
|
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||||
|
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||||
|
|
||||||
|
acSuplServer="supl.google.com"
|
||||||
|
SuplPort="7275"
|
||||||
|
SuplLogEnable="false"
|
||||||
|
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||||
|
tlsEnable="true"
|
||||||
|
|
||||||
|
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||||
|
SuplEnable="true"
|
||||||
|
SuplUseApn="true"
|
||||||
|
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||||
|
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||||
|
SuplUT1Seconds="20"
|
||||||
|
SuplUT2Seconds="20"
|
||||||
|
SuplUT3Seconds="20"
|
||||||
|
TcpConnectionTimeout="20"
|
||||||
|
SuplLppCapable="true"
|
||||||
|
SuplEcidCapable="true"
|
||||||
|
SuplVersion="2"
|
||||||
|
SuplMinorVersion="0"
|
||||||
|
SuplOtdoaCapable="true"
|
||||||
|
SuplGlonassCapable = "true"
|
||||||
|
SuplGalileoCapable = "true"
|
||||||
|
SuplBdsCapable = "true"
|
||||||
|
SuplMgpsCapable = "true"
|
||||||
|
|
||||||
|
RtoEnable="true"
|
||||||
|
RtiEnable="true"
|
||||||
|
HttpSyncLto="true"
|
||||||
|
LtoFileName="lto2.dat"
|
||||||
|
LtoDir="/data/vendor/gps/"
|
||||||
|
LtoSyncThresholdDays="1"
|
||||||
|
|
||||||
|
GnssYearOfHardware="2020"
|
||||||
|
CpGuardTimeSec="1"
|
||||||
|
CpLppGuardTimeSec="1"
|
||||||
|
IgnoreInjectedSystemTime="true"
|
||||||
|
|
||||||
|
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||||
|
|
||||||
|
AssertEnabled="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll
|
||||||
|
LogPriMask="LOG_INFO"
|
||||||
|
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||||
|
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||||
|
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||||
|
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||||
|
RfType="GL_RF_4776_BRCM"
|
||||||
|
ExtL5Bias="10.6"
|
||||||
|
EnableFilteringForLTEB13="true"
|
||||||
|
|
||||||
|
WarmStandbyTimeout1Seconds="10"
|
||||||
|
WarmStandbyTimeout2Seconds="15"
|
||||||
|
|
||||||
|
EnableGnssPropagateInStandby="true"
|
||||||
|
|
||||||
|
RfPathLossDb_Ap="4.1"
|
||||||
|
RfPathLossDb_Cp="4.1"
|
||||||
|
RfPathLossDb_Ap_L5="4"
|
||||||
|
RfPathLossDb_Cp_L5="4"
|
||||||
|
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||||
|
|
||||||
|
EnableOnChipStopNotification="false"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<gll_features
|
||||||
|
EnableLowPowerPmm="true"
|
||||||
|
EnableNicAutoSwitch="true"
|
||||||
|
EnableNavic="true"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</glgps>
|
||||||
|
|
|
@ -5,9 +5,9 @@ GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandb
|
||||||
|
|
||||||
LhePatch=/vendor/firmware/SensorHub.patch
|
LhePatch=/vendor/firmware/SensorHub.patch
|
||||||
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||||
# LheConsole=/data/vendor/gps/LheConsole
|
LheConsole=/data/vendor/gps/LheConsole
|
||||||
|
|
||||||
LogEnabled=false
|
LogEnabled=true
|
||||||
Log=JAVA
|
Log=JAVA
|
||||||
LogDirectory=/sdcard/gps/broadcom/storage
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@ LheBbdControl=/dev/bbd_control
|
||||||
|
|
||||||
# LheBbdSensor=/dev/bbd_sensor
|
# LheBbdSensor=/dev/bbd_sensor
|
||||||
|
|
||||||
# LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
|
LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
|
||||||
|
LogLevel=*:I
|
||||||
|
|
||||||
NvStorageDir=/data/vendor/gps/
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
|
||||||
|
@ -26,7 +27,7 @@ NvStorageDir=/data/vendor/gps/
|
||||||
|
|
||||||
LheAutoBaudDelayMS=10
|
LheAutoBaudDelayMS=10
|
||||||
TrafficLogEnabled=false
|
TrafficLogEnabled=false
|
||||||
SecondaryConfigPath=/vendor/etc/gnss/lhd2.conf
|
SecondaryConfigPath=/data/vendor/gps/logs/lhd2.conf
|
||||||
|
|
||||||
SkipSensorWakeLock=true
|
SkipSensorWakeLock=true
|
||||||
LoggerWakeLockEnable=false
|
LoggerWakeLockEnable=false
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
LheConsole=/data/vendor/gps/LheConsole
|
|
||||||
LogEnabled=true
|
|
||||||
Log=JAVA
|
|
||||||
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
|
|
||||||
LogLevel=*:I
|
|
31
gnss/47765/config/lhd_user.conf
Normal file
31
gnss/47765/config/lhd_user.conf
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
LheName=bbd
|
||||||
|
|
||||||
|
LheRsmResetTimeoutMS=10000
|
||||||
|
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
|
||||||
|
|
||||||
|
LhePatch=/vendor/firmware/SensorHub.patch
|
||||||
|
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||||
|
# LheConsole=/data/vendor/gps/LheConsole
|
||||||
|
|
||||||
|
LogEnabled=false
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
|
||||||
|
LheBbdPacket=/dev/ttyBCM
|
||||||
|
|
||||||
|
LheBbdControl=/dev/bbd_control
|
||||||
|
|
||||||
|
# LheBbdSensor=/dev/bbd_sensor
|
||||||
|
|
||||||
|
# LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
|
||||||
|
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
|
||||||
|
# Enable BBD debugging at these stages:
|
||||||
|
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
|
||||||
|
|
||||||
|
LheAutoBaudDelayMS=10
|
||||||
|
TrafficLogEnabled=false
|
||||||
|
|
||||||
|
SkipSensorWakeLock=true
|
||||||
|
LoggerWakeLockEnable=false
|
|
@ -1,6 +1,6 @@
|
||||||
LogEnabled=false
|
LogEnabled=true
|
||||||
Log=JAVA
|
Log=JAVA
|
||||||
LogDirectory=/sdcard/gps/broadcom/storage
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
NvStorageDir=/data/vendor/gps/
|
NvStorageDir=/data/vendor/gps/
|
||||||
TcpConnectionTimeout=20
|
TcpConnectionTimeout=20
|
||||||
SecondaryConfigPath=/vendor/etc/gnss/scd2.conf
|
SecondaryConfigPath=/data/vendor/gps/logs/scd2.conf
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
LogEnabled=true
|
|
||||||
Log=JAVA
|
|
5
gnss/47765/config/scd_user.conf
Normal file
5
gnss/47765/config/scd_user.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
LogEnabled=false
|
||||||
|
Log=JAVA
|
||||||
|
LogDirectory=/sdcard/gps/broadcom/storage
|
||||||
|
NvStorageDir=/data/vendor/gps/
|
||||||
|
TcpConnectionTimeout=20
|
|
@ -1,24 +1,36 @@
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
|
||||||
device/google/gs101/gnss/47765/config/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
|
||||||
device/google/gs101/gnss/47765/config/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
|
|
||||||
device/google/gs101/gnss/47765/config/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer \
|
device/google/gs101/gnss/47765/config/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer \
|
||||||
device/google/gs101/gnss/47765/firmware/SensorHub.patch:$(TARGET_COPY_OUT_VENDOR)/firmware/SensorHub.patch
|
device/google/gs101/gnss/47765/firmware/SensorHub.patch:$(TARGET_COPY_OUT_VENDOR)/firmware/SensorHub.patch
|
||||||
|
|
||||||
ifneq (,$(filter raven, $(TARGET_PRODUCT)))
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
PRODUCT_COPY_FILES += \
|
||||||
else ifneq (,$(filter oriole, $(TARGET_PRODUCT)))
|
device/google/gs101/gnss/47765/config/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||||
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
device/google/gs101/gnss/47765/config/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
|
||||||
else
|
else
|
||||||
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
PRODUCT_COPY_FILES += \
|
||||||
|
device/google/gs101/gnss/47765/config/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||||
|
device/google/gs101/gnss/47765/config/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter raven, $(subst _, ,$(TARGET_PRODUCT))))
|
||||||
# userdebug specific
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
device/google/gs101/gnss/47765/config/lhd2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd2.conf \
|
else
|
||||||
device/google/gs101/gnss/47765/config/scd2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd2.conf \
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.raven:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
device/google/gs101/gnss/47765/config/gps2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps2.xml
|
endif
|
||||||
|
else ifneq (,$(filter oriole, $(subst _, ,$(TARGET_PRODUCT))))
|
||||||
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
|
else
|
||||||
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml.oriole:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
|
else
|
||||||
|
PRODUCT_COPY_FILES += device/google/gs101/gnss/47765/config/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PRODUCT_SOONG_NAMESPACES += \
|
PRODUCT_SOONG_NAMESPACES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue