view configs/hybrid-ui-vo @ 660:293c7db5f10f

bmi3: fixed the mysterious "mute on first call" bug When UI-enabled fw boots on a previously blank (no /mmi/* files) FFS for the first time, the output_volume member of the persistent UI settings structure was left uninitialized, corresponding to the earpiece volume being set to mute, which is an invalid setting. Because of other quirks in the far-from-finished UI code, this volume setting takes effect only when the first call is answered, producing the odd behaviour seen at the user level. The current fix is to set the blank-FFS default for output_volume to volume level 4, which is the same -6 dB Iota volume as the ACI default.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 May 2020 02:50:41 +0000
parents 28ed4002131a
children
line wrap: on
line source

# This is the TCS2/TCS3 hybrid config with the UI enabled,
# using the new TCS3 versions of BMI and MFW; data services are disabled,
# leaving only voice and SMS.

GPRS=0
MMI=2
SRVC=0
export GPRS MMI SRVC

ATP_STATE=0
FCHG_STATE=1
LCC_STATE=0
MKS_STATE=0
PWR_STATE=0
R2D_STATE=1
export ATP_STATE FCHG_STATE LCC_STATE MKS_STATE PWR_STATE R2D_STATE

scripts/config-headers-new.sh

CONDAT=condat3
GPF=gpf3
CDGINC=cdg-hybrid/cdginc
CDGPRIM=cdg-hybrid/sap-inline
ACI=g23m-aci
export CONDAT GPF CDGINC CDGPRIM ACI

build_lib ccddata

# ACI libs
build_lib aci tcs3
build_lib aciext tcs3
build_lib aci_dti_mng tcs3
build_lib atiext tcs3
build_lib comlib hybrid
build_lib config_gsm_fl
build_lib config_gsm_ir
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

# UI layers
build_lib bmi tcs3
build_lib icn tcs3
build_lib mfw tcs3

# G23M protocol stack libs
build_lib alr sotovik
build_lib cc
build_lib dl
build_lib dti
build_lib l1_pei
build_lib mm
build_lib rr
build_lib sim_b_lib
build_lib sms
build_lib ss
build_lib uart_b_lib

# Condat drivers
build_lib gdi

# GPF
build_lib ccd_na7_db
build_lib frame_na7_db_fl partial
build_lib frame_na7_db_ir partial
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
build_lib misc_na7_db_fl
build_lib misc_na7_db_ir
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib_gpf osx_na7_db
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
build_lib tif_na7_db_fl
build_lib tif_na7_db_ir
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

# core drivers
build_lib drivers_flash

# Layer 1
build_lib tpudrv
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
build_lib l1_ext
lib_link_magic '(BSS_LIBS (.l1s_global))'
build_lib l1_int
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
build_lib l1_custom_ext
build_lib l1_custom_int
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'

build_lib riviera_core_flash
build_lib riviera_cust_flash

# services
#build_lib atp
build_lib audio
build_lib audio_bgd
build_lib cst
build_lib dar
build_lib dar_gbl_var
lib_link_magic '(BSS_DAR_LIB (.bss))'
build_lib etm
build_lib lls
#build_lib mks

# app drivers
build_lib abb
build_lib buzzer
build_lib fchg
build_lib ffs
build_lib ffs_drv
build_lib ffs_pcm
build_lib kpd
build_lib power
build_lib r2d_drv_custom_flash
build_lib r2d_drv_flash
build_lib r2d_drv_int_ram
lib_link_magic '(CONST_LIBS (.text, .r2dlcd))'
build_lib rtc_drv
build_lib sim_drv
build_lib spi_drv
build_lib uart_drv

# system glue
build_lib main init
build_lib bootloader
lib_link_magic '(CONST_BOOT_LIB (.const, .text, .text:v$3) BSS_BOOT_LIB (.bss))'

# Nucleus and TI's compiler stuff
blob_lib_os nucleus_flash_nodbg
blob_lib_os nucleus_int_ram_nodbg
lib_link_magic '(BSS_LIBS (.bss) CONST_LIBS (.text, .const))'
blob_lib_os rts16le_flash
blob_lib_os rts16le_int_ram
lib_link_magic '(BSS_LIBS (.bss))'

str2ind_blobs_used=0