Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A600 Memory

AuthorTopic: A1-X1000: Linux Kernel 4.00 (3.20)  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

Offline xeno74

A1-X1000: Linux Kernel 4.00 (3.20)
« on: February 15, 2015, 11:51:08 AM »
Hi All,

I'd like to start the testing phase for the future kernel 4.00 (3.20). We don't know which version number the new kernel will have. There is a voting about the new version number on Linus Torvalds' Google Plus site.

Link: https://plus.google.com/+LinusTorvalds/posts/jmtzzLiiejc

Quote Linus Torvalds:

Quote
So, I made noises some time ago about how I don't want another 2.6.39 where the numbers are big enough that you can't really distinguish them.

We're slowly getting up there again, with 3.20 being imminent, and I'm once more close to running out of fingers and toes.

I was making noises about just moving to 4.0 some time ago. But let's see what people think.

So - continue with v3.20, because bigger numbers are sexy, or just move to v4.0 and reset the numbers to something smaller?
Please vote!

Anyway the merge window have been opened this week and it were added a lot of new source code for the kernel 4.00 (3.20).

For example source code for PowerPC: http://www.phoronix.com and 3.20 POWER pull request

I created a new patch for the kernel 4.00 (3.20) yesterday.

Download: nemo_4.00-1.patch.zip

And here is the kernel config:

nemo_4.00.0alpha1.config.zip

I had compiled the GIT version of kernel 4.00 (3.20) and then I tested it. It boots without any problems with Debian Sid and Lubuntu 12.04.5. But unfortunately X11 doesn't start on ubuntu MATE 15.04.

And here is the download of the kernel 4.00 (3.20) alpha 1: vmlinux-4.00.0-alpha1-AMIGA_one_X1000.tar.bz2

PLEASE test the alpha1.





Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #1 on: February 16, 2015, 12:16:22 PM »
Hi All,

I released the alpha2 today. It was added a lot of source code: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/

I tested the alpha2 with Fedora 17 and Debian Sid today.

Download: vmlinux-4.00.0-alpha2-AMIGA_one_X1000.tar.bz2





Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #2 on: February 18, 2015, 09:09:27 PM »
I have good news. The alpha3 works with ubuntu MATE 15.04. It hasn't problems with the network devices.

Here is the download of the alpha3: vmlinux-4.00.0-alpha3-AMIGA_one_X1000.tar.bz2




Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #3 on: February 20, 2015, 01:06:45 PM »
I had compiled the alpha 4 and then I tested it with SliTaz 25.



Quote
ramdisk -z -addr=0x24000000 -fatfs cf0:slitaz25.gz
Quote
boot -elf -noints -fatfs cf0:vmlinux-4.00
My Realtek RTL8139 network card works without any problems with the alpha 4 and SliTaz 25.

Download kernel 4.00 alpha 4: vmlinux-4.00.0-alpha4-AMIGA_one_X1000.tar.bz2



PLEASE test the alpha 4.

Thanks in advance.

Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #4 on: February 23, 2015, 06:53:18 PM »
Hi All,

Linus Torvalds has decided to rename the Linux 3.20 kernel to Linux 4.0. Torvalds released Linux 4.00-rc1 today. I compiled the RC1 for our AMIGA one X1000 today.

New: Linux-4.0-rc1-Kernel-Released - phoronix.com

Download: vmlinux-4.00.0-rc1-AMIGA_one_X1000.tar.bz2



Please test the RC1.

Thanks in advance.

Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #5 on: March 04, 2015, 10:47:43 AM »
Hi All,

I released the RC2 of kernel 4.0 today.

New:

http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.0-rc2-Kernel
http://lkml.iu.edu/hypermail/linux/kernel/1503.0/01963.html

Download: vmlinux-4.0-rc2-AMIGA_one_X1000.tar.bz2



Screenshot explanation:

Host: ubuntu MATE 15.04 beta1 PowerPC (kernel 4.0.0-rc2) with QEMU 2.2/"PR" KVM on an AMIGA one X1000

Guest: ubuntu MATE 15.04 beta1 PowerPC live DVD (Ubuntu kernel 3.18.0-13) with KVM live patching on a virtual Power Mac G4

Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #6 on: March 09, 2015, 09:46:07 PM »

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #7 on: March 16, 2015, 10:09:56 AM »

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #8 on: March 23, 2015, 02:22:57 PM »
Hi All,

Kernel 4.0 RC5 is available for download and testing.

New: lkml.org - Linus Torvalds

Download: vmlinux-4.0-rc5-AMIGA_one_X1000.tar.bz2

I tested it with ubuntu MATE 15.04 and with Mac OS X 10.3.4 Panther in a virtual MoL/"PR" KVM machine today.



I also tested a UMTS mobile network connection with ubuntu MATE 15.04 today.



Have a lot of fun with testing!

Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #9 on: March 30, 2015, 12:24:25 PM »
Hi All,

I released the RC6 of kernel 4.0 today. I tested it with openSUSE 13.1-1 on my AMIGA one X1000.

New:

Linux 4.0-rc6 Kernel Released - phoronix

Torvalds' 4.0-rc6 announcement

Download: vmlinux-4.0-rc6-AMIGA_one_X1000.tar.bz2



PLEASE test the RC6.

Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #10 on: April 07, 2015, 12:04:36 PM »
Zzd10h reported a problem with the PASEMI (Vitesse VSC8221) network chip last year. At boot, there was a message "eth0: Could not attach to phy" and a notification "Wire network is unplugged" on the desktop. But the network with the PASEMI network chip worked without any problems. I had 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 last year because it was a historical hack that treated missing ranges properties as the equivalent of an empty one. But our A1-X1000 needed this hack. I had reverted the changes last year and then, the PASEMI network chip works without this strange behavior.
The kernel developers solved the problem with the address configuration for the device-tree four days ago. That means, we don't need to patch the file address.c.

Quote
List:       git-commits-head
Subject:    drivers/of: Add empty ranges quirk for PA-Semi
From:       "Linux Kernel Mailing List"
Date:       2015-04-03 18:09:46
Message-ID: 20150403180946.891C1660CC0 () gitolite ! kernel ! org
[Download message RAW]

Gitweb:     http://git.kernel.org/linus/;a=commit;h=41d9489319f28f06cf51731131bc353d5a6bce59
Commit:     41d9489319f28f06cf51731131bc353d5a6bce59
Parent:     bc465aa9d045feb0e13b4a8f32cc33c1943f62d6
Refname:    refs/heads/master
Author:     Benjamin Herrenschmidt
AuthorDate: Mon Mar 23 14:16:38 2015 +1100
Committer:  Grant Likely
CommitDate: Fri Mar 27 19:31:16 2015 -0700

    drivers/of: Add empty ranges quirk for PA-Semi
   
    The "sdc" node is missing the ranges property, it needs to be treated
    as having an empty one otherwise translation fails for its children.
   
    Fixes 746c9e9f92dd, "of/base: Fix PowerPC address parsing hack"
   
    Tested-by: Steven Rostedt
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Grant Likely
    Cc: Stable # v3.18+
---
 drivers/of/address.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/drivers/of/address.c b/drivers/of/address.c
index ad29069..78a7dcb 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -450,12 +450,17 @@ static struct of_bus *of_match_bus(struct device_node *np)
    return NULL;
 }
 
-static int of_empty_ranges_quirk(void)
+static int of_empty_ranges_quirk(struct device_node *np)
 {
    if (IS_ENABLED(CONFIG_PPC)) {
-      /* To save cycles, we cache the result */
+      /* To save cycles, we cache the result for global "Mac" setting */
       static int quirk_state = -1;
 
+      /* PA-SEMI sdc DT bug */
+      if (of_device_is_compatible(np, "1682m-sdc"))
+         return true;
+
+      /* Make quirk cached */
       if (quirk_state < 0)
          quirk_state =
             of_machine_is_compatible("Power Macintosh") ||
@@ -490,7 +495,7 @@ static int of_translate_one(struct device_node *parent, struct of_bus *bus,
     * This code is only enabled on powerpc. --gcl
     */
    ranges = of_get_property(parent, rprop, &rlen);
-   if (ranges == NULL && !of_empty_ranges_quirk()) {
+   if (ranges == NULL && !of_empty_ranges_quirk(parent)) {
       pr_debug("OF: no ranges; cannot translate\n");
       return 1;
    }
I created a new Nemo patch for the RC7 today.

Download: nemo_4.0-4.patch.zip

I released the RC7 today. Please test the network connections because of the solved problem.

Download: vmlinux-4.0-rc7-AMIGA_one_X1000.tar.bz2

Offline xeno74

Re: A1-X1000: Linux Kernel 4.00 (3.20)
« Reply #11 on: April 13, 2015, 11:37:14 AM »


Linus Torvalds released the Linux 4.0 kernel final today. Many thanks to our beta testers for testing the alphas and release candidates. We're already looking forward to test the alphas and release candidates of the next kernel 4.1.

Linux 4.0 Kernel Released - phoronix

Linux 4.0 released - release announcement by Linus Torvalds

Download: vmlinux-4.0-AMIGA_one_X1000.tar.bz2