linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: dimitar <divanov@nateurope.com>
To: <linuxppc-dev@lists.ozlabs.org>
Subject: P4080 Device tree
Date: Tue, 3 Apr 2012 16:13:03 +0200	[thread overview]
Message-ID: <4F7B056F.8010100@nateurope.com> (raw)

Hello,

I hope I'm posting my question on the right place.
Please be gentle to me, since I'm newbie in Linux Kernel.

I'm porting Linux to a custom board based on P4080DS BSP. My problem is 
that I cannot understand the configuration of th DPA in the device tree 
including QMAN, BMAN and FMAN.

During my work i was faced firstly to a issue, that the "phy-handle" in 
the Ethernet node of the FM0 could not be parsed correctly using the 
function "of_parse_phandle()".
After replacing the "of_parse_phandle()" by "of_find_node_by_path" inc 
mac.c of the DPA package, the Phy was correctly bind to the Ethernet node.

The second preblem I'm now facing to, is that during "ping" the CPUs 
hang after an exchange of few packets over the network.

How exactly should be the BMAN, QMAN and FMAN configured in the device 
tree?
I mean I'm using the similar device tree as the FSL P4080DS. The only 
difference that the board uses MDIO bus, on which a PHY is connected.

Is there any documentation for the device tree?

In addition I have tested the network interfaces with another OS system 
that is using the same NetCom library. Therefore the problem is not the 
hardware.

Please help!

Regards
Dimitar

             reply	other threads:[~2012-04-03 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 14:13 dimitar [this message]
2012-04-09 22:50 ` P4080 Device tree Scott Wood

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=4F7B056F.8010100@nateurope.com \
    --to=divanov@nateurope.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).