Change in osmo-e1-hardware[master]: icE1usb fw: Expose error conditions from E1 driver

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/.

tnt gerrit-no-reply at lists.osmocom.org
Sun Dec 20 18:21:39 UTC 2020


tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715 )

Change subject: icE1usb fw: Expose error conditions from E1 driver
......................................................................


Patch Set 5:

(3 comments)

https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715/5/firmware/ice40-riscv/icE1usb/e1.c 
File firmware/ice40-riscv/icE1usb/e1.c:

https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715/5/firmware/ice40-riscv/icE1usb/e1.c@356 
PS5, Line 356: /* get cumulative error bit mask since last call of this function */
Huh, it's not "since the last call" AFAICT this is never reset. Counters just wrap.


https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715/5/firmware/ice40-riscv/icE1usb/e1.c@380 
PS5, Line 380: 		if (g_e1.rx.last_tick == cur_tick) {
Again, as in previous patches, I'd remove any kind of support for LOS until there is actual hw to detect that.


https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715/5/firmware/ice40-riscv/icE1usb/ice1usb_proto.h 
File firmware/ice40-riscv/icE1usb/ice1usb_proto.h:

https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715/5/firmware/ice40-riscv/icE1usb/ice1usb_proto.h@83 
PS5, Line 83: #define ICE1USB_ERR_F_TICK_ERR	0x02
I would call that LOS and not TICK_ERR.
However LOS ends up being implemented ...

(I mean, even on a "real" card, there is no "signal level" to detect, the idle state line is 0, so either you detect pulses or your don't, you can't measure any kind of analog voltage change if it's plugged or not).



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/21715
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: Iba3e00a2b28a2fef6dbd986bfc706c1619c3a3ed
Gerrit-Change-Number: 21715
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-Comment-Date: Sun, 20 Dec 2020 18:21:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201220/4b362b22/attachment.htm>


More information about the gerrit-log mailing list