https://osmocom.org/
https://osmocom.org/favicon.ico?1664741409
2018-03-28T13:49:47Z
Open Source Mobile Communications
OsmoBTS - Bug #3121: osmo-bts-sysmo can't read eeprom...
https://osmocom.org/issues/3121?journal_id=8580
2018-03-28T13:49:47Z
keith
<ul></ul><p>On the 2050....</p>
<pre>
root@sysmobts-v2:~/bin# ./osmo-bts-sysmo-0.7.0.80-7fc1 -c /etc/osmocom/osmo-bts.cfg 2>&1 | egrep -i calib\|eeprom
<0006> l1_if.c:1605 Failed to read from EEPROM.
<0006> l1_if.c:1576 Unable to read band support from EEPROM, assuming all bands
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=0, ul=1, err=-3
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=1, ul=1, err=-3
<0006> calib_file.c:205 MAC Address is 24:62:78:00:00:2c -> NO FIXUP
<0006> l1_if.c:184 Tx SYS prim SET-RX-CALIB.req
<0006> calib_file.c:430 L1 calibration table calib_rxu_1800.cfg loaded (src: eeprom)
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=3, ul=1, err=-3
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=0, ul=0, err=-3
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=1, ul=0, err=-3
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=2, ul=0, err=-3
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=3, ul=0, err=-3
<0006> calib_file.c:356 Error reading TxCalibration from EEPROM, band=0, err=-3
<0006> calib_file.c:356 Error reading TxCalibration from EEPROM, band=1, err=-3
<0006> l1_if.c:184 Tx SYS prim SET-TX-CALIB.req
<0006> calib_file.c:430 L1 calibration table calib_tx_1800.cfg loaded (src: eeprom)
<0006> calib_file.c:356 Error reading TxCalibration from EEPROM, band=3, err=-3
</pre>
<pre>
root@sysmobts-v2:~/bin# ./osmo-bts-sysmo-0.7.0.80-ca60 -c /etc/osmocom/osmo-bts.cfg 2>&1 | egrep -i calib\|eeprom
<0006> l1_if.c:1611 Read clock calibration(370) from EEPROM.
<0006> calib_file.c:205 MAC Address is 24:62:78:00:00:2c -> NO FIXUP
<0006> l1_if.c:184 Tx SYS prim SET-RX-CALIB.req
<0006> calib_file.c:430 L1 calibration table calib_rxu_850.cfg loaded (src: eeprom)
<0006> l1_if.c:184 Tx SYS prim SET-RX-CALIB.req
<0006> calib_file.c:430 L1 calibration table calib_rxu_1800.cfg loaded (src: eeprom)
<0006> calib_file.c:318 Error reading RxCalibration from EEPROM, band=2, ul=0, err=-3
<0006> l1_if.c:184 Tx SYS prim SET-TX-CALIB.req
<0006> calib_file.c:430 L1 calibration table calib_tx_1800.cfg loaded (src: eeprom)
<0006> calib_file.c:440 L1 calibration table loading complete!
</pre>
OsmoBTS - Bug #3121: osmo-bts-sysmo can't read eeprom...
https://osmocom.org/issues/3121?journal_id=8597
2018-03-29T11:01:14Z
keith
<ul></ul><p>I don't fully understand this, but it seems to me now that by casting to pointer (uint32_t*)&ee.cfg.v1.rfClk you loose the address info to calculate the size to read, so it fails.<br />casting to (int)&ee.cfg.v1.rfClk avoids the compiler error.. <br />going to test if it actually works..</p>
OsmoBTS - Bug #3121: osmo-bts-sysmo can't read eeprom...
https://osmocom.org/issues/3121?journal_id=8598
2018-03-29T11:19:46Z
keith
<ul></ul><p>Pushed <a class="external" href="https://gerrit.osmocom.org/#/c/7572/">https://gerrit.osmocom.org/#/c/7572/</a></p>
OsmoBTS - Bug #3121: osmo-bts-sysmo can't read eeprom...
https://osmocom.org/issues/3121?journal_id=8617
2018-03-30T08:02:33Z
keith
<ul><li><strong>Subject</strong> changed from <i>osmo-bts can't read eeprom...</i> to <i>osmo-bts-sysmo can't read eeprom...</i></li><li><strong>Assignee</strong> set to <i>keith</i></li></ul>
OsmoBTS - Bug #3121: osmo-bts-sysmo can't read eeprom...
https://osmocom.org/issues/3121?journal_id=8685
2018-04-05T14:42:39Z
keith
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Fixed by <br /><a class="external" href="http://cgit.osmocom.org/osmo-bts/commit/?id=091fcf147ae83d8daec92b2506d14e5e5ad35f80">http://cgit.osmocom.org/osmo-bts/commit/?id=091fcf147ae83d8daec92b2506d14e5e5ad35f80</a></p>