[MERGED] osmo-bts[master]: sysmobts: Add the barebox boot state reservation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Jun 15 09:29:44 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: sysmobts: Add the barebox boot state reservation
......................................................................


sysmobts: Add the barebox boot state reservation

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
---
M src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
index e9828a1..ecb86e1 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
@@ -15,7 +15,8 @@
 	uint16_t model_nr;		/* 32-33 */
 	uint16_t model_flags;		/* 34-35 */
 	uint8_t trx_nr;			/* 36 */
-	uint8_t _pad1[84];		/* 37-120 */
+	uint8_t boot_state[48];		/* 37-84 */
+	uint8_t _pad1[35];		/* 85-120 */
 	uint8_t gpg_key[128];		/* 121-249 */
 } __attribute__((packed));
 

-- 
To view, visit https://gerrit.osmocom.org/275
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4c1de5925577f1d0b7b5cc08529642ffa333d7de
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list