IRC log of #cubox of Fri 09 Jun 2017. All times are in CEST < Back to index

05:34 jnettlet vpeter, is this the same sfp module you posted the data sheet on the other day?
05:37 jnettlet if your sfp module can work in fast mode then I would recommend we change the device tree to run the i2c1 device at 400kHz. You can't do that by default because it breaks the SFP spec, however the Marvell i2c controller has errata regarding issues running at 100kHz.
08:40 vpeter jnettlet: yes, it is model XSUEG1-M1RN-GC http://sup.xenopt.com/pluggables/XSUEx1-M1Rx.pdf
08:42 vpeter this pdf has mine covered http://www.xenya.si/wp-content/uploads/2014/05/XSUEx1-M1Rx.pdf
08:43 vpeter From what I see it is only 1000Mbps.
09:01 jnettlet okay so that uses this i2c eeprom. http://de.rs-online.com/webdocs/0028/0900766b80028ad9.pdf
09:01 jnettlet and it specifies that it is fast mode compliant.
09:04 vpeter Ah, this fast mode.
09:04 jnettlet so try applying this patch and rebuilding the dtbs. https://pastebin.com/g3w71XGv
09:29 vpeter I have clearfog pro - will adjust the patch.
09:30 jnettlet vpeter, you don't need to adjust it. That patch adds the clearfog base, but then splits shared devices into a dtsi file
09:31 vpeter Ah, then I missed this part.
10:17 vpeter Nope, armada-388-clearfog-pro.dtb still has 100kHz like I though. Need adjustments.
10:19 vpeter There are 3 different clearfog dtb's.
11:01 vpeter Good, now dtb looks ok. Will test in 8 hours.
11:01 vpeter But I'm wondering: why would higher frequency help? I would assume lower one would.
12:36 jnettlet vpeter, the Marvell soc has an errata regarding the i2c controller
13:09 vpeter Seems no one is capable of doing stable i2c. And it is such a simple protocol. Even small PIC microcontroller has errata for it :(
13:45 jnettlet well hardware bugs do happen. Did the device-tree change fix it?
13:50 vpeter Not tested yet - clearfog is at home and I'm at work.
17:44 Ke heh s-r bumped MBin delivery time to 8 weeks
17:44 Ke still no registered dimm support =o)
17:59 vpeter jnettlet: sadly no change :( :(
17:59 vpeter [ 1.861437] i2c i2c-1: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x4, status: 0x0, addr: 0x50, flags: 0x0
17:59 vpeter [ 1.870697] sfp sfp: failed to read EEPROM: -5
17:59 vpeter but it is different error.
18:46 vpeter "I/O error" if I see correctly.
18:47 vpeter Any more ideas?
20:19 jnettlet I am thinking about it
20:23 vpeter I'm rebuilding whole lede just in case.
21:39 vpeter Fresh build didn't changed anything. Even i2cdetect doesn't find device anymore.
22:21 vpeter jnettlet: this seems ok? :)
22:21 vpeter [ 372.790250] sfp sfp: module OEM XSUEG1-M1RN-GC rev 11.0 sn EC1610096057 dc 08-10-16
22:21 vpeter [ 372.799592] sfp sfp: LC connector, encoding 8b10b, nominal bitrate 1.3Gbps +0% -0%
22:21 vpeter [ 372.807363] sfp sfp: 1000BaseSX- 1000BaseLX- 1000BaseCX- 1000BaseT+ 100BaseTLX- 1000BaseFX- BaseBX10- BasePX-
22:21 vpeter [ 372.817480] sfp sfp: Copper length: 100m
22:21 vpeter [ 372.821590] sfp sfp: Options:
22:21 vpeter [ 372.824823] sfp sfp: Diagnostics:
22:21 vpeter [ 372.997715] mvneta f1034000.ethernet eth2: PHY [i2c:sfp:16] driver [Marvell 88E1111]
22:21 vpeter I changed clock-frequency to 50kHz and got this.
22:22 vpeter Now let's figure out how to use this adapter.
23:11 topi` I wonder if CloudFog base/pro is available for purchase from any retailer inside EU? to avoid vat/customs
23:11 topi` especially the customs is nasty, since most companies seem to ask for a fixed 25 EUR fee for their "services"
23:12 topi` I had to pay a 95 eur bill for the handling of vat/customs of my macchiatoBin order
23:12 topi` this on top of the $300 for the device itself plus some $25 shipping
23:14 topi` I mean ClearFog, not CloudFog ;)
23:15 topi` amazon.de has a page, but it says it is not available
23:15 topi` https://www.amazon.de/SolidRun-ClearFog-uSOM-A388-dual-core-Cortex/dp/B01N7WRXA5