Kernel 3.18

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

Kernel 3.18

Post by xeno74 »

kernel_3.18_tux.jpg
kernel_3.18_tux.jpg (5.26 KiB) Viewed 15928 times
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 all

@@ -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:
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
(8.21 KiB) Downloaded 1860 times
Kernel config:
nemo_3.18.0-rc1_KVM-PR_FTRACE.config.zip
(17.01 KiB) Downloaded 1408 times
Please test the RC1.

Thanks,

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

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

Re: Kernel 3.18

Post by xeno74 »

The RC1 on Debian Sid:
Kernel_3.18_RC1_A1-X1000.jpg
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Kernel 3.18

Post by zzd10h »

Image :mrgreen:
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9380
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 3.18

Post by xeno74 »

zzd10h wrote:Image :mrgreen:
Thank you for testing!

Cheers,

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

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

Re: Kernel 3.18

Post by xeno74 »

I have compiled the RC2 for testing: vmlinux-3.18.0-rc2-KVM-PR-FTRACE-AmigaOneX1000.tar.bz2. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.18

Post by xeno74 »

I have released the RC3 of kernel 3.18.

Download: vmlinux-3.18.0-rc3-KVM-PR-OVERLAYFS-AmigaOneX1000.tar.bz2
Kernel_3.18-rc3_Debian_Sid_AMIGA_one_X1000.jpg
Last edited by xeno74 on Tue Nov 04, 2014 3:58 am, edited 1 time in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Kernel 3.18

Post by zzd10h »

And as usual, it works !
Image
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9380
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 3.18

Post by xeno74 »

zzd10h wrote:And as usual, it works !
Image
Thank you for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.18

Post by xeno74 »

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
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 3.18

Post by xeno74 »

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply