Project

General

Profile

Actions

Bug #4474

open

l1fwd (-remote) tried to read eeprom locally

Added by keith almost 4 years ago. Updated over 2 years ago.

Status:
In Progress
Priority:
Low
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?

Actions #1

Updated by keith almost 4 years 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/

Actions #2

Updated by keith almost 4 years 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

Actions #3

Updated by keith almost 4 years ago

  • Assignee set to keith
Actions #4

Updated by laforge almost 4 years 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!

Actions #5

Updated by keith over 2 years ago

  • Assignee deleted (keith)
  • Priority changed from Normal to Low

Maybe somebody wants to make a command line option or something for this, I don't intend to pursue it.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)