public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Fix gmac not working reliable on the Bananapi
Date: Tue, 30 Sep 2014 14:02:36 +0200	[thread overview]
Message-ID: <542A9BDC.2050600@redhat.com> (raw)
In-Reply-To: <CAKON4Oyib+gQLqBuT97Opg+mLx560JdOu63c4wHyO2fQ36Y8gA@mail.gmail.com>

Hi,

On 09/29/2014 08:35 PM, jonsmirl at gmail.com wrote:
> On Mon, Sep 29, 2014 at 2:16 PM, Karsten Merker <merker@debian.org> wrote:
>> On Mon, Sep 29, 2014 at 09:13:37AM +0300, Siarhei Siamashka wrote:
>>> How did you come to the idea to poke these bits?
>>
>> The linux 3.4 kernel from https://github.com/LeMaker/linux-bananapi
>> (which is a patched linux-sunxi.org 3.4 kernel) does not show this
>> problem, so we started looking into what is different there, and the
>> relevant change that was found was setting these particular
>> undocumented bits.
> 
> File at issue here asking for the documentation
> https://github.com/allwinner-zh/documents

I'm already talking to Allwinner about this, it seems that bits
10-11, or more likely 10-12 of the gmac clk register are the tx
equivalent of bits 5-7, "Configure GMAC receive clock delay
chain". I think this is there to deal with the pcb data and clk
traces not having the same length, so that this is highly board
specific. I'm waiting on confirmation on this from Allwinner,
as well as some info on the unit of this 0-7 value.

Regards,

Hans

  reply	other threads:[~2014-09-30 12:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28 18:13 [U-Boot] [PATCH] sunxi: Fix gmac not working reliable on the Bananapi Hans de Goede
     [not found] ` <20140928195818.GC4584@excalibur.cnev.de>
2014-09-28 20:54   ` [U-Boot] [linux-sunxi] " Zoltan HERPAI
2014-09-29  6:13 ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
     [not found]   ` <20140929181635.GA4587@excalibur.cnev.de>
2014-09-29 18:35     ` [U-Boot] [linux-sunxi] " jonsmirl at gmail.com
2014-09-30 12:02       ` Hans de Goede [this message]
2014-09-30 12:26         ` jonsmirl at gmail.com
2014-09-30 14:04         ` [U-Boot] [linux-sunxi] " Koen Kooi
2014-09-29 21:37     ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-09-30  7:06 ` [U-Boot] " Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542A9BDC.2050600@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox