view scripts/gtm900b-ffs-clean @ 1011:6d9b10633f10 default tip

etmsync Pirelli IMEI retrieval: fix poor use of printf() Bug reported by Vadim Yanitskiy <fixeria@osmocom.org>: the construct where a static-allocated string was passed to printf() without any format arguments causes newer compilers to report a security problem. Given that formatted output is not needed here, just fixed string output, change printf() to fputs(), and direct the error message to stderr while at it.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 23 May 2024 17:29:57 +0000
parents d5abcbbf7432
children
line wrap: on
line source

# This fc-fsio command script should be executed as part of the procedure
# for converting a Huawei GTM900-B (EU frequency bands) modem to FreeCalypso;
# it should be executed after FreeCalypso fw has been flashed with fc-loadtool,
# when the newly flashed fw is booted for the first time.

# delete Huawei files which are wrong for FreeCalypso fw
cleandir /aud
rm -f /gsm/com/baseprofile0
rm -f /gsm/com/cmdList
rm -f /gsm/com/profile0
rm -f /gsm/l3/rr_sc_arfcn
rm -f /pcm/BAUDRATE
rm -f /pcm/LDN
rm -f /pcm/LMN
rm -f /pcm/LRN
rm -f /pcm/SMS
cleandir /mmi

# new RF band configuration and ID string
set-rfcap dual-eu
set-pcm-string CGMM GTM900-B-FC