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

04:24 jnettlet vpeter, odd that it needed a slower i2c clock. That is against pretty much all specs.
04:25 jnettlet glad you got it working though.
04:27 jnettlet topi`, I am checking on european resellers for the ClearFog. Unfortunately Arrow does not sell Marvell products.
07:51 vpeter jnettlet: device is visible but doesn't seems to pass anything. Rx/Tx is always zero.
07:51 vpeter I agree: all this extra costs is crazy.
09:12 jnettlet vpeter, can you give me the output of ip addr show?
09:13 vpeter jnettlet: now I see something confusing
09:13 vpeter from dmesg: mvneta f1034000.ethernet eth2: configuring for SGMII link mode
09:13 vpeter my adapter XSUEG1-M1RN-GC has SERDES MAC interface
09:13 vpeter Can this adapter even work here? Or it has to have SGMII interface (meaning I have wrong model).
09:14 jnettlet the hardware spec you sent said it should use SGMII
09:15 jnettlet if it is just SERDES then you will need to change the u-boot configuration
09:17 jnettlet you should be able to use ethtool -m to output information about the SFP port
09:24 Coburn jnettlet: has there been any news on the iwlwifi breakthrough?
09:26 Coburn that LAN port hasn't been discoing lately.
09:30 jnettlet Coburn, I am trying to finish up a few other patches to push out. I can start another build if you want to test that later.
09:30 vpeter jnettlet: ethtool doesn't show anything useful to me https://pastebin.com/KrnDpb2n
09:31 jnettlet vpeter, and ip addr show?
09:31 jnettlet basically ethtool just says this SFP module has minimal information programmed into the eeprom
09:32 vpeter ip addr show: https://pastebin.com/jxBp9a8n
09:32 vpeter only local network set
09:36 jnettlet and you have a cable plugged into the SFP module?
09:38 vpeter of course
09:39 jnettlet and if you unplug the cable and plug it back in you don't get any additional messages?
09:42 jnettlet just plain ethtool eth2 will be useful alos
09:42 jnettlet also
09:47 vpeter Now I found something - if I connect cable from sfp module to one port on clearfog then eth2 is up. But if I connect it to cable modem then eth2 stays down. Maybe something is wrong with the cable. Checking with another one.
09:55 vpeter And we have a winner.
09:55 vpeter It is working with new cable.
09:55 vpeter I know this 30m cable I bough by mistake will come handy one day.
09:56 vpeter Thank you very, very much jnettlet!
09:56 vpeter I almost lost hope.
09:56 vpeter Now let's find what is wrong with old cable. Maybe lightning made some damage to it. But tplink router is working fine on it.
09:58 Coburn could be just voltage drops
09:59 vpeter It was working on other wan port before.
10:19 jnettlet If lightning fried the port then most likely the cable was damaged as well.
13:50 jnettlet vpeter, everything working now?
13:58 vpeter jnettlet: It seems so. Only thing I did was using 50kHz clock frequency. Will increase a little to see where is the limit.
13:58 vpeter And using different cable :)
13:59 vpeter This was last thing.
14:01 vpeter I would like to mention one thing regarding u-boot and switching pcie to msata. It would be nice to have a ready patch in lede to make this switch (changing #if 0 to #if 1 for example). Now I need extra patch for this purpose. Not a big thing but would simplify new users usage.
14:02 vpeter But at the end lede master is working fine. Just as previous version from Artox more than a year back.