This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X Ethernet Subsystem Registers Access

We had these multiple issues with ethernet controller, specifically in switch mode, and each time the choice was to modify device driver to get job done.  But, with time we realized that this practice doesn't make any sense due to the fact that we need to modify kernel each time and make it "custom". I decided to write small utility to set needed registers from user land (one needs to have root privileges in order to run). Works like a charm. I started with CPSW ALE registers set, but will add gradually other 9 groups (plan is to add one a week due to my busy scheduler). CPTS will be probably next one in pipe - we would like to tackle PTP timestamping.

I posted it here:

github.com/.../utilities-catchwire-kalitap

under cpswutils

I found it extremely useful in our development, hope you will find it useful too.

And.. don't forget to check out our CatchWire appliance - it based on Sitara and it rocks!