Networking Issues (Actually really Solved x2!)
#11
(04-05-2018, 09:23 AM)hexalyn Wrote: Hi,

Could we simply make a pull-request with the modification presented above here : https://github.com/torvalds/linux/blob/m....dtsi#L508 ?

If yes then, does setting the "allwinner,tx-delay-ps = <500>;" break the network on the sopine module when in the baseboard instead of the clusterboard (I only own the clusterboard) ?

If not then would making such a pull request not correct the armbian nightly build issue ? I have no idea where the original sun50i-a64-sopine-baseboard.dts file comes from if not the one linked above.

EDIT: I have dug a bit into the automated nightly build and it seems the kernel sources comes from : https://git.kernel.org/pub/scm/linux/ker....git/tree/

So making a pull-request in github should be mirrored here https://git.kernel.org/pub/scm/linux/ker....16.y#n508
But would not we need to do the pull request in every kernel version branch that needs to be patched ? (4.13.* and 4.14.* ?)

So there is actually a simpler patch but it's only works due to a coincidence that was fixed in Armbian. 

This patch makes it so that all you need to set is rgmii-txid in the sopine dtb file(that's what I ended up changing after playing with a bunch of values for the manual delays) 

So all of these are actually related to a packet loss issue on pine64(not sopine's) and some magic numbers they got from realtek. It coincidentally seems to solve issues with clusterboard, based on experimentation. 

https://github.com/armbian/build/blob/ma...-fix.patch

Other discussion about it here: 

https://patchwork.ozlabs.org/patch/873752/
https://lkml.org/lkml/2017/8/22/9

I


Messages In This Thread
RE: Networking Issues - by xalius - 02-15-2018, 04:32 AM
RE: Networking Issues - by aww - 02-15-2018, 07:17 AM
RE: Networking Issues - by aww - 02-15-2018, 07:25 AM
RE: Networking Issues - by aww - 02-17-2018, 05:30 PM
RE: Networking Issues (Actually really Solved x2!) - by aww - 04-09-2018, 11:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Time drift issues Unkn0wn 5 7,777 03-12-2020, 09:00 AM
Last Post: venix1
  Issues with the RTL8370N jwh 0 2,012 10-04-2019, 08:09 PM
Last Post: jwh
  Clusterboard startup issues WhiteDragon 10 14,387 05-09-2019, 01:34 PM
Last Post: WhiteDragon
  Clusterboard networking problems BryanS 25 29,749 03-31-2019, 04:06 PM
Last Post: aww
  Issues with first start, what do the different LED states mean? Botagar 4 6,844 07-27-2018, 03:13 PM
Last Post: paradise
  Clusterboard startup issues PigLover 7 8,507 04-09-2018, 11:24 AM
Last Post: aww

Forum Jump:


Users browsing this thread: 1 Guest(s)