aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
AgeCommit message (Collapse)AuthorFilesLines
2017-04-30sysmobts: Store a simple network config in the EEPROM as wellHolger Hans Peter Freyther1-7/+9
Make it possible to store: * Static vs. DHCP mode * IPv4 address * Netmask * GW IPv4 address * DNS IPv4 address Add a simple CRC8 and pick 0xFF as initial value so an all zero EEPROM will not generate a 0 CRC. The code tries to differentiate exit code between unreadable EEPROM and CRC error. This is a reference to see if we want to have store it in the EEPROM or not. Change-Id: Id8a37fe952ef2a8ef36778729f506f900accf8d1
2017-04-29sysmobts: Make reservation for mode/netmask/ip and sucHolger Hans Peter Freyther1-1/+14
Change-Id: Ib98856356dc296be9e449d35479bc9234c0c4d32
2017-02-02sysmobts_eeprom.h: Fix/extend model number definitionsHarald Welte1-1/+2
Fix the model number definition for the 1020 and add the one for 1002. Change-Id: Iba4cfbbda1000d7e34eca614b3a6165d2feb65e1
2016-07-07sysmobts: Fix eeprom padding before gpg keyHolger Hans Peter Freyther1-1/+1
Correct the too short padding I introduced in the commit a55b166c6c7af79cbefe8e65fe77b2d61c634d2d. The result needs to be 121 and not 120. Add static asserts to make sure it does not happen again. Change-Id: I3da7f3b8d3c8e12deb8b805cd15ff52a103d4e56
2016-06-15sysmobts: Add the barebox boot state reservationHolger Hans Peter Freyther1-1/+2
We are using up to 48 (actually only 8) bytes to manage the boot state of the device. Add it to the eeprom reservation. It turns out the current padding was too large (37 + 84 don't end at 120). Change-Id: I4c1de5925577f1d0b7b5cc08529642ffa333d7de
2014-12-16sysmobts: Read the clock calibration from another placeHolger Hans Peter Freyther1-1/+1
Read the clock calibration from the place that will be read by the BTS process. Use the standard eeprom code for doing that. The code assumes that this and the other eeprom code don't write/invlidate the others reason. If that assumption would not be true calls to eeprom_free_resources should be added.
2013-10-04EEPROM: add model_nr, model_flags and trx_nr to EEPROMHarald Welte1-1/+9
2012-07-11add new sysmobst-mgr daemonHarald Welte1-0/+19
This daemon is taking care of counting the number of hours in operation and to watch the system temperature as determined by internal temperature sensors. Later, it will export an external interface for firmware reload, as well as a way to raise OML ALARMs in case of temperature issues or other problems.