Kernel 3.13

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 6317
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 3.13

Post by xeno74 »

Ubuntu_longterm_kernel_3.13.15_A1-X1000.jpg
Hi All,

I released a new version of the Ubuntu longterm kernel for our A-EON Live Remix DVD.

Download: kernel-3.13.15-1-x1000-ubuntu-ppc64.tar.bz2

It based on the kernel version 3.13.0-36.63 by the Canonical Kernel Team.

New: www.ubuntuupdates.org

Cheers,

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

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

Re: Kernel 3.13

Post by xeno74 »

Hi All,

A new Ubuntu longterm kernel is available for our A-EON Live Remix DVD. It based on the kernel version 3.13.0-43.72 by the Canonical Kernel Team.

Download: kernel-3.13.16-1-x1000-ubuntu-ppc64.tar.bz2

New: www.ubuntuupdates.org
kernel_3.13.16_A-EON_Live_Remix_DVD.jpg
There was a problem with Radeon DPM and I had to patch it.

New Nemo patch (only for the longterm kernel):
nemo_3.13-5.patch.zip
(8.52 KiB) Downloaded 850 times
Have a lot of fun with the new Ubuntu longterm kernel. :)

Cheers,

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

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

Re: Kernel 3.13

Post by xeno74 »

I have created a new patch for the Ubuntu LTS kernel 3.13.17 (3.13.0-46.75/ckt15) today.

Download:
nemo_3.13-6.patch.zip
(8.25 KiB) Downloaded 604 times
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.13

Post by xeno74 »

And here is the kernel config for the Ubuntu LTS kernel 3.13.17 (3.13.0-46.75/ckt15):
nemo_3.13.17.config.zip
(16.84 KiB) Downloaded 738 times
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.13

Post by xeno74 »

I had compiled the Ubuntu LTS kernel 3.13.17 (3.13.0-46.75/ckt15) and then I tested it with Ubuntu 10.04.4 LTS. It works without any problems with this old Ubuntu. And I have gotten some updates for this old Ubuntu today.
Ubuntu_10.04.4_LTS_kernel_3.13.17-ckt15_A1-X1000.jpg
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.13

Post by xeno74 »

Here is the download: kernel-3.13.17-1-x1000-ubuntu-ppc64.tar.bz2.

I saw a message about the PASEMI (Vitesse VSC8221) network chip with the A-EON Live Remix DVD. At boot, there was a message "eth0: Could not attach to phy". But the network connection works.

Could you test the kernel 3.13.17 because of this behaviour, please?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.13

Post by xeno74 »

I had found the problem and then I patched it.
Kernel_3.13.17-ckt15_A-EON_Live_Remix_DVD.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 3.13

Post by mechanic »

The PASEMI uses its pasemi phy. The reason for the message is that it could not find a vitesse phy.
AFAIK all the X1000s came with only the PASEMI and a REALTEK phy. If you want to include some of the others just build them as modules and they won't be used if the equipment is not there, and the bootup won't waste time looking for them.
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 6317
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 3.13

Post by xeno74 »

mechanic wrote:The PASEMI uses its pasemi phy. The reason for the message is that it could not find a vitesse phy.
AFAIK all the X1000s came with only the PASEMI and a REALTEK phy. If you want to include some of the others just build them as modules and they won't be used if the equipment is not there, and the bootup won't waste time looking for them.
Thank you for your explanation. I have figured out, that the new address configuration for the device-tree is responsible for the behavior of the PASEMI network chip. The kernel developers changed the source code for the address configuration in kernel 3.18 because it was a historical hack that treated missing ranges properties as the equivalent of an empty one. The Ubuntu developers changed the source code too. But our A1-X1000 needs this hack. I have reverted the changes today and now, the PASEMI network chip works without this strange behavior.

Code: Select all

diff -rupN linux-3.13/drivers/of/address.c linux-3.13-nemo/drivers/of/address.c
--- linux-3.13/drivers/of/address.c	2015-02-10 16:25:35.000000000 +0100
+++ linux-3.13-nemo/drivers/of/address.c	2015-02-12 19:36:57.935832413 +0100
@@ -401,21 +401,6 @@ static struct of_bus *of_match_bus(struc
 	return NULL;
 }
 
-static int of_empty_ranges_quirk(void)
-{
-	if (IS_ENABLED(CONFIG_PPC)) {
-		/* To save cycles, we cache the result */
-		static int quirk_state = -1;
-
-		if (quirk_state < 0)
-			quirk_state =
-				of_machine_is_compatible("Power Macintosh") ||
-				of_machine_is_compatible("MacRISC");
-		return quirk_state;
-	}
-	return false;
-}
-
 static int of_translate_one(struct device_node *parent, struct of_bus *bus,
 			    struct of_bus *pbus, __be32 *addr,
 			    int na, int ns, int pna, const char *rprop)
@@ -441,10 +426,12 @@ static int of_translate_one(struct devic
 	 * This code is only enabled on powerpc. --gcl
 	 */
 	ranges = of_get_property(parent, rprop, &rlen);
-	if (ranges == NULL && !of_empty_ranges_quirk()) {
+	#if !defined(CONFIG_PPC)
+	if (ranges == NULL) {
 		pr_err("OF: no ranges; cannot translate\n");
 		return 1;
 	}
+	#endif /* !defined(CONFIG_PPC) */
 	if (ranges == NULL || rlen == 0) {
 		offset = of_read_number(addr, na);
 		memset(addr, 0, pna * 4);
New Nemo patch:
nemo_3.13-7.patch.zip
(9.35 KiB) Downloaded 671 times
Download Ubuntu 3.13.17-2 (3.13.0-46.75/ckt15) LTS kernel: kernel-3.13.17-2-x1000-ubuntu-ppc64.tar.bz2
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 3.13

Post by mechanic »

Too many cooks. :shock:
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Post Reply