From: Darren Stevens <darren@stevens-zone.net>
To: Madalin-cristian Bucur <madalin.bucur@nxp.com>
Cc: Jamie Krueger <jamie@bitbybitsoftwaregroup.com>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: DPAA Ethernet problems with mainstream Linux kernels
Date: Mon, 15 Jan 2018 22:39:30 +0000 (GMT) [thread overview]
Message-ID: <4b50ee845f3.281d6f13@auth.smtp.1and1.co.uk> (raw)
In-Reply-To: <DB3PR0402MB3849C1D81C867CF2D5A65D0EECEB0@DB3PR0402MB3849.eurprd04.prod.outlook.com>
Hello Madalin-cristian
On 15/01/2018, Madalin-cristian Bucur wrote:
>> > The device tree that you mention, cyrus_p5020.eth.dts is not found in
>> > the Linux kernel sources. The cyrus_p5020.dts file from the fsl ppc
>> > device tree folder does not include the PHY information for the DPAA
>> > interfaces. The problems that you experience may be caused by some
>> > issues with the PHY configuration (i.e. internal delay).
>> The cyrus_p5020.eth.dts is a modified version of the cyrus_p5020.dts,
>> which of course was based off the original p5020ds.dts file. As you
>> noted, the current cyrus_p5020.dts file is incomplete, and does not
>> map the Ethernet connections properly.
This is because the current linux kernel version of cyrus_p5020.dts includ=
es 'p5020si-pre.dtsi' and 'p5020si-post.dtsi' include files, which orginal=
ly gave us working ethernet (when we used the SDK kernel) However at some =
point you moved the ethernet aliases from the board dts file to the p5020s=
i-pre.dtsi file breaking the linkages for our board.
cyrus-pre.dtsi is simply p5020si-pre.dtsi with only the correct aliases in=
.
>> ** I have attached both the cyrus_p5020.eth.dts and cyrus-pre.dtsi
>> =A0=A0=A0=A0 files with this email for comparison. Please let me know =
if you see
>> =A0=A0=A0=A0 any corrections that should be made to either file.
>
> At a first glance they look fine to me.
That's good to know.
>> I have started testing along that line, using Wireshark to view the
>> traffic on the X5000/20 itself, and from another machine connected
>> on the same subnet. So far (as indicated by some details of in my
>> initial email), I can see outgoing broadcast requests (for DHCP)
>> being sent out from the X5000/20, and these requests are correctly
>> constructed and visible outside the X5000/20.
>> =
>> However, no responses to the DHCP broadcasts appear to reach
>> to X5000/20's DPAA Ethernet. I will need to setup some further
>> tests to determine if the DHCP server saw the requests and responded
>> to them. (I assume the DHCP server is getting them, and responding,
>> as I can always get a successful DHCP response to the X5000/20
>> when using an add-on Ethernet PICe card on the same subnet).
This matches what I see, the interface I have connected to the network sho=
ws an increasing number of transmitted packets, but no received ones.
Jamie also noticed the following error in dmesg (right after the ethernet =
port becomes active)
[ 4.112165] fsl_dpa dpaa-ethernet.0 eth0: Probed interface eth0
[ 4.116616] fsl_dpa dpaa-ethernet.1 eth1: Probed interface eth1
[ ... ]
[ 106.501055] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 106.570944] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 106.605044] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 106.674918] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 108.702771] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 109.032798] fsl-pamu: pamu_av_isr: access violation interrupt
[ 109.032806] fsl-pamu: pamu_av_isr: POES1=3D00000000
[ 109.032808] fsl-pamu: pamu_av_isr: POES2=3D00000000
[ 109.032809] fsl-pamu: pamu_av_isr: AVS1=3D002d0081
[ 109.032811] fsl-pamu: pamu_av_isr: AVS2=3D00000081
[ 109.032813] fsl-pamu: pamu_av_isr: AVA=3D00000001f1328000
[ 109.032815] fsl-pamu: pamu_av_isr: UDAD=3D002d0001
[ 109.032817] fsl-pamu: pamu_av_isr: POEA=3D0000000000000000
I haven't seen this anywhere else, and wondered if it is relevant.
Regards
Darren
next prev parent reply other threads:[~2018-01-15 22:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 15:56 DPAA Ethernet problems with mainstream Linux kernels Jamie Krueger
2018-01-12 14:22 ` Madalin-cristian Bucur
2018-01-12 16:35 ` Jamie Krueger
2018-01-15 10:44 ` Madalin-cristian Bucur
2018-01-15 22:39 ` Darren Stevens [this message]
2018-01-16 17:33 ` Madalin-cristian Bucur
2018-01-16 20:42 ` Christian Zigotzky
2018-01-18 1:59 ` Jamie Krueger
2018-01-18 7:52 ` Christian Zigotzky
2018-02-26 23:11 ` PASEMI: PCI_SCAN_ALL_PCIE_DEVS Christian Zigotzky
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=4b50ee845f3.281d6f13@auth.smtp.1and1.co.uk \
--to=darren@stevens-zone.net \
--cc=jamie@bitbybitsoftwaregroup.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=netdev@vger.kernel.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).