Project

General

Profile

Bug #4474

l1fwd (-remote) tried to read eeprom locally

Added by keith 3 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/30/2020
Due date:
% Done:

50%

Spec Reference:

Description

THe EEPROM device file is defined in two places:

src/osmo-bts-sysmo/eeprom.c:82:#define EEPROM_DEV  "/sys/bus/i2c/devices/i2c-1/1-0050/eeprom"

and

src/osmo-bts-sysmo/misc/sysmobts_par.c:40:#define EEPROM_PATH   "/sys/devices/platform/i2c_davinci.1/i2c-1/1-0050/eeprom"

This of course results in errors reading the eeprom, model number band support and calibration tables, that cause osmo-bts-sysmo-remote to error thus:

eeprom fopen: No such file or directory
l1_if.c:1636 Failed to read from EEPROM.

We need some conditional DEFINEs to fix this?

History

#1 Updated by keith 3 months ago

Another minor niggle is that:

#define OML_ROUTER_PATH "/var/run/sysmobts_oml_router"

requires running as root on (most?) systems due to permissions on /var/run/

#2 Updated by keith about 2 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

I made a wiki page to try to explain how to have a working setup:

https://osmocom.org/projects/osmobts/wiki/Osmo-bts-sysmo-remote

#3 Updated by keith about 2 months ago

  • Assignee set to keith

#4 Updated by laforge about 2 months ago

On Thu, May 07, 2020 at 06:46:14PM +0000, keith [REDMINE] wrote:

I made a wiki page to try to explain how to have a working setup:

looks good, thanks!

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)