view components/frame_na7_db_ir-full @ 662:8cd8fd15a095

SIM speed enhancement re-enabled and made configurable TI's original code supported SIM speed enhancement, but Openmoko had it disabled, and OM's disabling of speed enhancement somehow caused certain SIM cards to start working which didn't work before (OM's bug #666). Because our FC community is much smaller in year 2020 than OM's community was in their day, we are not able to find one of those #666-affected SIMs, thus the real issue they had encountered remains elusive. Thus our solution is to re-enable SIM speed enhancement and simply wait for if and when someone runs into a #666-affected SIM once again. We provide a SIM_allow_speed_enhancement global variable that allows SIM speed enhancement to be enabled or disabled per session, and an /etc/SIM_spenh file in FFS that allows it to enabled or disabled on a non-volatile basis. SIM speed enhancement is now enabled by default.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 May 2020 05:02:28 +0000
parents 41b6a18ffa0b
children
line wrap: on
line source

# Building frame_na7_db_ir.lib using the GPF source bits we got with TCS3.2
# This version rebuilds the OSL part from our reconstructed source

CFLAGS="-mw -x -pw2 -o3 -me -mt -g -mn"

# Defines

CPPFLAGS="-DNU_DEBUG -D_FF_RV_EXIST_ -DRUN_INT_RAM"
CPPFLAGS="$CPPFLAGS -D_TARGET_ -D_NUCLEUS_"

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc/nuc/arm7"
CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf2/tst"

# Source modules

SRCDIR=$SRC/gpf3/frame

cfile_symlink $SRCDIR/frame.c
cfile_symlink $SRCDIR/vsi_sem.c
cfile_symlink $SRCDIR/vsi_com.c
cfile_symlink $SRCDIR/vsi_mem.c
cfile_symlink $SRCDIR/vsi_tim.c
cfile_symlink $SRCDIR/vsi_mis.c
cfile_symlink $SRCDIR/vsi_drv.c
cfile_symlink $SRCDIR/vsi_trc.c
cfile_symlink $SRCDIR/vsi_pro.c
cfile_symlink $SRCDIR/xalert.c
cfile_symlink $SRCDIR/route.c
cfile_symlink $SRCDIR/prf_func.c
cfile_symlink $SRCDIR/frm_ext.c
cfile_symlink $SRCDIR/frame_version.c

# OSL

# drop -o3
CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"

SRCDIR=$SRC/gpf2/osl

cfile_plain $SRCDIR/os_com_ir.c
cfile_plain $SRCDIR/os_mem_ir.c
cfile_plain $SRCDIR/os_mis_ir.c
cfile_plain $SRCDIR/os_pro_ir.c
cfile_plain $SRCDIR/os_sem_ir.c
cfile_plain $SRCDIR/os_tim_ir.c