<p>laforge <strong>uploaded patch set #7</strong> to the change originally created by fixeria.</p><p><a href="https://gerrit.osmocom.org/c/osmocom-bb/+/12887">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">firmware: implement reading of factory RF calibration values<br><br>Since If6e212baeb10953129fb0d5253d263567f5e12d6, we can read the TIFFS<br>file-system, thus we can read and use the factory RF calibration values.<br><br>  * Implement parsing of factory RF calibration values for Motorola C1xx,<br>    Openmoko GTA0x, Pirelli DP-L10, and upcoming FCDEV3B targets.<br><br>  * Remove the old Tx power level control code and tables, and replace<br>    them with new logic that exactly matches what the official chipset<br>    firmware (TI/FreeCalypso) does, using tables in TI/FreeCalypso<br>    format. Compiled-in tables serve as a fallback and match each<br>    target's respective original firmware.<br><br>  * Use individual AFC slope values for different targets. The original<br>    value was/is only correct for the Mot C1xx family, whereas<br>    GTA0x/FCDEV3B and Pirelli DP-L10 need different values because<br>    Openmoko's VCXO (copied on the FCDEV3B) and Pirelli's VCTCXO<br>    are different from what Motorola used.<br><br>  * Take the initial AFC DAC value for the FB search from factory<br>    calibration records on those targets on which it has been<br>    calibrated per unit at the factory.<br><br>  * Use individual APC offset for different targets instead of<br>    the hard-coded value. The Mot/Compal's and Pirelli's firmwares<br>    (both heavily modified relative to TI) use different APC offset<br>    settings: 32 for Compal and 0 for Pirelli, while Openmoko and<br>    FreeCalypso devices use 48.<br><br>Change-Id: Icf2693b751d86ec1d2563412d606c13d4c91a806<br>Related: OS#3582<br>---<br>M src/target/firmware/Makefile<br>M src/target/firmware/apps/layer1/main.c<br>M src/target/firmware/apps/rssi/main.c<br>A src/target/firmware/board/common/readcal_tiffs.c<br>A src/target/firmware/board/common/tx_calchan.c<br>A src/target/firmware/board/compal/readcal_common.c<br>A src/target/firmware/board/compal/readcal_small.c<br>D src/target/firmware/board/compal/rf_power.c<br>A src/target/firmware/board/compal/rf_tables.c<br>A src/target/firmware/board/compal_e86/tx_ramps.c<br>A src/target/firmware/board/compal_e88/tx_ramps.c<br>A src/target/firmware/board/compal_e99/readcal.c<br>D src/target/firmware/board/gta0x/rf_power.c<br>A src/target/firmware/board/gta0x/rf_tables.c<br>M src/target/firmware/board/gta0x/rffe_gta0x_triband.c<br>D src/target/firmware/board/gtm900b/rf_power.c<br>A src/target/firmware/board/gtm900b/rf_tables.c<br>A src/target/firmware/board/pirelli_dpl10/readcal.c<br>D src/target/firmware/board/pirelli_dpl10/rf_power.c<br>A src/target/firmware/board/pirelli_dpl10/rf_tables.c<br>A src/target/firmware/board/se_j100/tx_ramps.c<br>D src/target/firmware/include/layer1/apc.h<br>A src/target/firmware/include/rf/readcal.h<br>A src/target/firmware/include/rf/txcal.h<br>A src/target/firmware/include/rf/vcxocal.h<br>M src/target/firmware/layer1/Makefile<br>M src/target/firmware/layer1/afc.c<br>D src/target/firmware/layer1/apc.c<br>M src/target/firmware/layer1/sync.c<br>29 files changed, 4,023 insertions(+), 351 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/87/12887/7</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmocom-bb/+/12887">change 12887</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmocom-bb/+/12887"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Icf2693b751d86ec1d2563412d606c13d4c91a806 </div>
<div style="display:none"> Gerrit-Change-Number: 12887 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>