From: Soren Brinkmann <soren.brinkmann@xilinx.com>
To: "Olof Johansson" <olof@lixom.net>, "Andreas Färber" <afaerber@suse.de>
Cc: Michal Simek <michals@xilinx.com>,
Andreas Olofsson <andreas@adapteva.com>,
Matteo Vit <matteo.vit@starwaredesign.com>,
"Sean Rickerd" <srickerd@suse.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Punnaiah Choudary Kalluri <punnaia@xilinx.com>,
Lars-Peter Clausen <lars@metafoo.de>
Subject: RE: [PATCH v2 00/11] ARM: dts: zynq: Prepare Parallella
Date: Sun, 19 Oct 2014 15:57:06 +0000 [thread overview]
Message-ID: <30e1a5024949427cb08f5c1c8b4ac87f@BY2FFO11FD031.protection.gbl> (raw)
In-Reply-To: <CAOesGMjAb5oXjauhbqjDhJXWct7qoXxy3XpA1=DioK7vPTwetA@mail.gmail.com>
Sorry, for top-posting, but I currently just have Outlook webmail.
The cause for this issue is relatively easily identified. The ethernet drivers sets the Ethernet clock according to the negotioated link speed. For this adjustment a 6-bit divider in the clock path is used. In this case, it seems, the input to the 6-bit divider doesn't allow generating the full range of required frequencies for all supported link speeds.
I guess this could be solved in multiple ways.
1. Disable 1G mode/auto negotiation, the other modes are probably fine (yeah, not a solution, but might give you a working ethernet link)
2. Ensure the divider input allows to generate all required frequencies. This essentially means to go back into Xilinx tools and play around with the clock/PLL setup and re-generating a bootloader that sets things up with the updated values.
3. Support to run-time-adust the PLLs in Zynq. This is definitely the most complex one. I never seriously pursued this, since it seemed close to impossible to change the PLLs at run-time without crashing pretty much every downstream user except for the one that requested the frequency change. And even if every driver would be able to handle such a change, I could imagine that frequency constraints from all the drivers together would still prevent any change.
Thanks,
Sören
________________________________________
From: devicetree-owner@vger.kernel.org [devicetree-owner@vger.kernel.org] on behalf of Olof Johansson [olof@lixom.net]
Sent: Friday, October 17, 2014 9:28 PM
To: Andreas Färber
Cc: Michal Simek; Andreas Olofsson; Matteo Vit; Sean Rickerd; devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Punnaiah Choudary Kalluri; Lars-Peter Clausen
Subject: Re: [PATCH v2 00/11] ARM: dts: zynq: Prepare Parallella
Hi Andreas,
On Thu, Jul 24, 2014 at 4:00 PM, Andreas Färber <afaerber@suse.de> wrote:
> Hello,
>
> This patch series adds an initial device tree for the Parallella board.
> UART, SD card, Ethernet are enabled.
> Not yet enabled are HDMI, QSPI flash and 2x USB.
Andreas (Olofsson) kindly sent me a board, and I added it to the boot
farm today, it'll be included in boot reports from here on.
I did a test run with yesterday's -next It looks like networking isn't
working there at the moment, clock related. Same happens with 3.17 and
latest mainline, config multi_v7_defconfig:
[WARN] [ 7.943648] macb e000b000.ethernet eth0: unable to generate
target frequency: 125000000 Hz
[WARN] [ 10.948681] macb e000b000.ethernet eth0: unable to generate
target frequency: 125000000 Hz
Full boot log at:
http://arm-soc.lixom.net/bootlogs/misc/next-20141017/parallella-arm-multi_v7_defconfig.html
I'll be happy to try things, but I'm a bit short on cycles to debug
myself. Should hopefully be easy to reproduce.
-Olof
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
next prev parent reply other threads:[~2014-10-19 15:57 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 23:00 Andreas Färber
2014-07-24 23:00 ` [PATCH v2 01/11] Documentation: devicetree: Adapteva vendor prefix Andreas Färber
2014-07-25 8:01 ` Michal Simek
2014-07-24 23:00 ` [PATCH v2 02/11] Documentation: devicetree: Adapteva boards Andreas Färber
2014-07-25 8:01 ` Michal Simek
2014-07-24 23:00 ` [PATCH v2 03/11] ARM: dts: zynq: Add Parallella device tree Andreas Färber
2014-07-25 8:02 ` Michal Simek
2014-07-24 23:00 ` [PATCH v2 04/11] ARM: dts: zynq: Update deprecated xuartps clock names Andreas Färber
2014-07-24 23:09 ` Sören Brinkmann
2014-07-24 23:13 ` Andreas Färber
2014-07-24 23:24 ` Sören Brinkmann
2014-07-25 7:38 ` Michal Simek
2014-07-24 23:00 ` [PATCH v2 05/11] ARM: dts: zynq: Add QSPI for Parallella Andreas Färber
2014-07-24 23:18 ` Sören Brinkmann
2014-07-25 7:59 ` Michal Simek
2014-07-25 8:42 ` Andreas Färber
2014-07-25 9:38 ` Michal Simek
2014-07-25 11:12 ` [PATCH v3] ARM: dts: zynq: Add SPI Andreas Färber
2014-07-25 14:42 ` Sören Brinkmann
[not found] ` <20140725144223.GB16049@xsjandreislx>
2014-07-28 9:11 ` Michal Simek
[not found] ` <53D2258B.9000609@xilinx.com>
2014-07-25 10:31 ` [PATCH v2 05/11] ARM: dts: zynq: Add QSPI for Parallella Harini Katakam
2014-07-25 10:43 ` Andreas Färber
2014-07-25 10:47 ` Harini Katakam
2014-07-24 23:00 ` [PATCH v2 06/11] ARM: dts: zynq: Add DMAC " Andreas Färber
2014-07-24 23:28 ` Sören Brinkmann
2014-07-25 8:02 ` Michal Simek
2014-07-25 8:24 ` Andreas Färber
2014-07-25 8:36 ` Michal Simek
2014-07-25 14:43 ` Sören Brinkmann
2014-07-24 23:00 ` [PATCH v2 07/11] Documentation: devicetree: Fix Xilinx VDMA specification Andreas Färber
2014-07-25 7:49 ` Michal Simek
2014-07-25 8:46 ` Andreas Färber
2014-07-25 9:40 ` Michal Simek
[not found] ` <53D225F2.4070504@xilinx.com>
2014-07-25 12:51 ` Srikanth Thokala
2014-07-24 23:00 ` [PATCH v2 08/11] ARM: dts: zynq: Add VDMA to Parallella Andreas Färber
2014-07-24 23:22 ` Sören Brinkmann
2014-07-25 9:47 ` Andreas Färber
2014-07-25 14:49 ` Sören Brinkmann
2014-07-24 23:00 ` [PATCH v2 09/11] Documentation: devicetree: Fix ADI AXI SPDIF specification Andreas Färber
2014-07-25 7:42 ` Lars-Peter Clausen
2014-07-25 8:08 ` Michal Simek
2014-07-25 10:18 ` Mark Brown
2014-07-25 10:32 ` Andreas Färber
2014-07-25 10:39 ` Mark Brown
2014-07-28 11:43 ` Andreas Färber
2014-07-28 12:20 ` Mark Brown
2014-07-28 12:28 ` Andreas Färber
2014-07-28 13:44 ` Mark Brown
2014-07-28 15:39 ` Andreas Färber
2014-07-28 21:28 ` Mark Brown
2014-07-24 23:00 ` [PATCH v2 10/11] ARM: dts: zynq: Add SPDIF for Parallella Andreas Färber
2014-07-24 23:00 ` [PATCH v2 11/11] ARM: dts: zynq: Add AXI clkgen " Andreas Färber
2014-07-25 3:49 ` [PATCH v2 00/11] ARM: dts: zynq: Prepare Parallella Punnaiah Choudary Kalluri
2014-07-25 10:04 ` Andreas Färber
2014-07-28 16:17 ` Andreas Färber
2014-07-28 16:39 ` Lars-Peter Clausen
2014-10-18 4:28 ` Olof Johansson
2014-10-19 15:57 ` Soren Brinkmann [this message]
2014-10-21 20:52 ` Andreas Färber
2014-10-21 21:00 ` Sören Brinkmann
2014-10-21 21:01 ` Olof Johansson
2014-10-21 21:07 ` Andreas Färber
2014-10-21 21:18 ` Olof Johansson
2014-10-22 13:22 ` Michal Simek
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=30e1a5024949427cb08f5c1c8b4ac87f@BY2FFO11FD031.protection.gbl \
--to=soren.brinkmann@xilinx.com \
--cc=afaerber@suse.de \
--cc=andreas@adapteva.com \
--cc=devicetree@vger.kernel.org \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matteo.vit@starwaredesign.com \
--cc=michals@xilinx.com \
--cc=olof@lixom.net \
--cc=punnaia@xilinx.com \
--cc=srickerd@suse.com \
/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
all inboxes | Powered by JetHome®