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

AuthorTopic: A1-X1000: Linux Kernel 3.18  (Read 907 times)

0 Members and 1 Guest are viewing this topic.

Offline xeno74

A1-X1000: Linux Kernel 3.18
« on: October 21, 2014, 06:45:45 PM »
Hi All,

First, the bad news. The patch for pata_of_platform.c doesn't work anymore. The kernel devolopers have rewritten this file completely. io_res.start isn't available in the whole source code. compatible = "electra-ide" isn't available either. It's not possible to patch with the following lines:

Code: [Select]

@@ -42,6 +42,17 @@ static int pata_of_platform_probe(struct
                ctl_res = io_res;
                ctl_res.start = ctl_res.start+0x3f6;
                io_res.end = ctl_res.start-1;
+
+#ifdef CONFIG_PPC_PASEMI_SB600
+       } else if (of_device_is_compatible(dn, "electra-cf")) {
+               /* Task regs are at 0x800, with alt status @ 0x80e in the primary window
+                * on electra-cf. Adjust ctl_res and io_res accordingly.
+                */
+               ctl_res = io_res;
+               io_res.start += 0x800;
+               ctl_res.start = ctl_res.start + 0x80e;
+               io_res.end = ctl_res.start-1;
+#endif
        } else {
                ret = of_address_to_resource(dn, 1, &ctl_res);
                if (ret) {

@@ -80,6 +96,9 @@ static int pata_of_platform_probe(struct
 static struct of_device_id pata_of_platform_match[] = {
        { .compatible = "ata-generic", },
        { .compatible = "electra-ide", },
+#ifdef CONFIG_PPC_PASEMI_SB600
+       { .compatible = "electra-cf",},
+#endif
        {},
 };


Therefore the kernel 3.18 doesn't recognize the CF device. Here is the commit: git.kernel.org

Log msg:

Quote

pata_of_platform: Remove "electra-ide" quirk


But ..................................................... the good news is: I have reverted the changes and now, the kernel can recognize the CF card again. :)

Download: vmlinux-3.18.0-rc1-KVM-PR-FTRACE-AmigaOneX1000.tar.bz2

Nemo patch: nemo_3.18-1.patch.zip
Kernel config: nemo_3.18.0-rc1_KVM-PR_FTRACE.config.zip



Please test the RC1.

By the way, I have released a SuperTuxKart 0.8.1 package with all addons.

Download: supertuxkart-0.8.1-3-altivec-linux-glibc2.13-ppc.tar.gz



Cheers,

Christian

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #1 on: October 27, 2014, 10:31:40 AM »
I have compiled the RC2 for testing: vmlinux-3.18.0-rc2-KVM-PR-FTRACE-AmigaOneX1000.tar.bz2. :)

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #2 on: November 03, 2014, 09:22:03 PM »
I have released the RC3 of kernel 3.18.

Download: vmlinux-3.18.0-rc3-KVM-PR-OVERLAYFS-AmigaOneX1000.tar.bz2

« Last Edit: November 04, 2014, 03:03:39 AM by xeno74 »
 

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #3 on: November 10, 2014, 04:57:21 AM »
Hi All,

I have released the RC4 of kernel 3.18.

New:

- Support for mobile networks with USB UMTS 3G sticks

It also includes:

- KVM_BOOK3S_64_PR

Support running guest kernels in virtual machines on processors
without using hypervisor mode in the host, by running the
guest in user mode (problem state) and emulating all
privileged instructions and registers.

This is not as fast as using hypervisor mode, but works on
machines where hypervisor mode is not available or not usable,
and can emulate processors that are different from the host
processor, including emulating 32-bit processors on a 64-bit
host.

- Mac-on-Linux support
- Network support for AROS hosted
- Support for 4 serial ports
- Bluetooth USB dongle support
- Kernel tracing with ftrace
- Linux kernel icon for OS4.1 by Tommysammy

Download: vmlinux-3.18.0-rc4-KVM-PR-OVERLAYFS-AmigaOneX1000.tar.bz2

Please test the RC4.

Thanks in advance,

Christian


Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #5 on: November 24, 2014, 10:05:04 AM »
I have released the RC6 recently.

New: http://lkml.iu.edu/hypermail/linux/kernel/1411.2/05503.html

Download: vmlinux-3.18.0-rc6-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2



The AMIGA one X1000 is in stock and available! Customers wanting to configure their system please click here.

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #6 on: November 26, 2014, 11:46:23 PM »
Zzd10h reported a problem with the PASEMI (Vitesse VSC8221) network chip yesterday. 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. The earlier RCs don't have this issue.
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 last week because it was a historical hack that treated missing ranges properties as the equivalent of an empty one. 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]

    diff -rupN linux-3.18/drivers/of/address.c linux-3.18-nemo/drivers/of/address.c
    --- linux-3.18/drivers/of/address.c   2014-11-24 00:25:20.000000000 +0100
    +++ linux-3.18-nemo/drivers/of/address.c   2014-11-17 01:36:20.000000000 +0100
    @@ -450,21 +450,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(&quot;Power Macintosh&quot;) ||
    -            of_machine_is_compatible(&quot;MacRISC&quot;);
    -      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)
    @@ -490,10 +475,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(&quot;OF: no ranges; cannot translate\n&quot;);
           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.18-3.patch.zip

Download RC6-2: vmlinux-3.18.0-rc6-2-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #7 on: December 02, 2014, 07:00:36 PM »
I have released the RC7 of kernel 3.18 recently. This kernel was cross compiled for the AMIGA one X1000 PowerPC on my Ubuntu Server 14.04.1 x86-64 this afternoon.

Download: vmlinux-3.18.0-rc7-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2

Cross compiling instructions: http://amigaworld.net

Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #8 on: December 13, 2014, 04:20:09 PM »
Hi All,

I compiled the kernel 3.18 final nativ on my AMIGA one X1000 this morning.

New:


  • Support for the EHCI implementation that's originally from ARC. These EHCI chips have vendor-specific extensions to integrate transaction translators, so that no OHCI or UHCI companion controller is needed.
  • Support for mobile networks with USB UMTS 3G sticks



It also includes:


  • KVM_BOOK3S_64_PR
Quote

Support running guest kernels in virtual machines on processors without using hypervisor mode in the host, by running the guest in user mode (problem state) and emulating all privileged instructions and registers.
This is not as fast as using hypervisor mode, but works on machines where hypervisor mode is not available or not usable, and can emulate processors that are different from the host processor, including emulating 32-bit processors on a 64-bit host.

  • Mac-on-Linux support
  • Network support for AROS hosted
  • Support for 4 serial ports
  • Bluetooth USB dongle support
  • Kernel tracing with ftrace
  • Linux kernel icon for OS4.1 by Tommysammy



Other changes: http://lkml.iu.edu/hypermail/linux/kernel/1412.0/05308.html

Download: vmlinux-3.18.0-KVM-PR-OVERLAYFS-AMIGA_one_X1000.tar.bz2

Thanks to everyone for testing many release candidates.

Enjoy the new kernel.

Cheers,

Christian


Offline xeno74

Re: A1-X1000: Linux Kernel 3.18
« Reply #9 on: December 18, 2014, 01:57:13 PM »
Ubuntu MATE is available for our AMIGA one X1000.

Ubuntu MATE with kernel 3.18: