Kernel 4.15

AmigaOne X5000 platform specific issues related to Linux only.

Re: Kernel 4.15

Postby xeno74 » Wed Jan 10, 2018 7:31 pm

JamieKrueger wrote:I have joined the linuxppc-dev mailing list, and I just sent off a (slightly reformatted) version of the results I posted here.

@Christian, I sent you a copy directly in case you wanted to add any further notes.


Hi Jamie,

Many thanks for posting the issue with the DPAA Ethernet driver on the linuxppc-dev mailing list! I appreciate it very much.

@All
Link to the thread: DPAA Ethernet problems with mainstream Linux kernels

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby Skateman » Wed Jan 10, 2018 9:04 pm

@xeno74

I have just read the PPC dev thread in the link.
The way Jamie has described the problem could not have been better, so i dont see what i can add to this.

@Jamie Great work!

Hopefully a fix wil be on the way.
User avatar
Skateman
 
Posts: 152
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.15

Postby xeno74 » Wed Jan 10, 2018 9:29 pm

Skateman wrote:@xeno74

I have just read the PPC dev thread in the link.
The way Jamie has described the problem could not have been better, so i dont see what i can add to this.

@Jamie Great work!

Hopefully a fix wil be on the way.


Hi Skateman,

You can acknowledge the issue with your own report on the linuxppc-dev mailing list.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby Skateman » Wed Jan 10, 2018 10:44 pm

@xeno74

Done... https://lists.ozlabs.org/pipermail/linu ... 67637.html

Not even close to the detailed description by Jamie, but hey, now there are two people with the same issue and the same machine.
User avatar
Skateman
 
Posts: 152
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.15

Postby xeno74 » Wed Jan 10, 2018 10:46 pm

Skateman wrote:@xeno74

Done... https://lists.ozlabs.org/pipermail/linu ... 67637.html

Not even close to the detailed description by Jamie, but hey, now there are two people with the same issue and the same machine.


Thanks a lot! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby xeno74 » Fri Jan 12, 2018 11:06 pm

FYI:

Madalin wrote:Hi Jamie,

We are testing the DPAA driver on several DS and RDB platforms and it
is working properly. The issues you encounter with it on the X5000/20
are likely caused by some issues specific to that particular platform.
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). I suggest
that you connect the DPAA interface to a traffic analyzer or directly
to another device on which you can capture the incoming traffic and
check that the received frames are correct.

Madalin


Further information: DPAA Ethernet problems with mainstream Linux kernels -- linuxppc-dev mailing list
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby xeno74 » Mon Jan 15, 2018 1:53 pm

Hi All,

I compiled the RC8 of kernel 4.15 for the X5000 and X1000 today.

New:


Download: vmlinux-4.15-rc8-AmigaOne_X1000_X5000.tar.gz

Screenshot of Lubuntu 16.04.3 LTS PowerPC with the new kernel 4.15-rc8 on an AmigaOne X5000:

Image

Please test the RC8.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby Skateman » Mon Jan 15, 2018 7:11 pm

@xeno74

Can u doe something with this patch for the Ethernet interfaces.??

Thanks


Hi, just saw this and thought of a small patch I just wrote for mdio bus, o idea
if it is relevant but here goes:

From fe0b98d54a79779482700676331b4d10a0f3cada Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Date: Sun, 14 Jan 2018 21:27:20 +0100
Subject: [PATCH] of_mdiobus_register: Continue after error

of_mdiobus_register unregister itself if one phy fails to register
which is bad for system having all its PHYs on the same MDIO bus.
Just log the error and continue with the remaining PHYs instead.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
---
drivers/of/of_mdio.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 98258583abb0..76ff28a41dad 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -229,7 +229,8 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
else
rc = of_mdiobus_register_device(mdio, child, addr);
if (rc)
- goto unregister;
+ pr_warn(FW_WARN
+ "%pOF: Failed to register MDIO device.\n", child);
}

if (!scanphys)
@@ -253,7 +254,8 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
if (of_mdiobus_child_is_phy(child)) {
rc = of_mdiobus_register_phy(mdio, child, addr);
if (rc)
- goto unregister;
+ pr_warn(FW_WARN
+ "%pOF: Failed to register MDIO PHY.\n", child);
}
}
}
User avatar
Skateman
 
Posts: 152
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.15

Postby xeno74 » Mon Jan 15, 2018 9:21 pm

@Skateman
Here you are. Link: uImage-4.15-rc8_with_mdio_patch.tar.gz

-- Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.15

Postby xeno74 » Tue Jan 16, 2018 7:13 am

xeno74 wrote:@Skateman
Here you are. Link: uImage-4.15-rc8_with_mdio_patch.tar.gz

-- Christian


Result
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
 
Posts: 3769
Joined: Fri Mar 23, 2012 8:58 am

PreviousNext

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 3 guests

cron