Kernel 4.15
Re: Kernel 4.15
Hi All,
Great news! The DRM TTM (Direct Rendering Manager Translation Table Maps) have been fixed in the official kernel source code. I compiled the RC2 of kernel 4.15 today and the hardware 3D acceleration works with SWIOTLB disabled. You don't need the drm ttm patch anymore.
Cheers,
Christian
Great news! The DRM TTM (Direct Rendering Manager Translation Table Maps) have been fixed in the official kernel source code. I compiled the RC2 of kernel 4.15 today and the hardware 3D acceleration works with SWIOTLB disabled. You don't need the drm ttm patch anymore.
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 4.15
Hi All,
I compiled the RC2 of kernel 4.15 for the X5000 and X1000 today.
New:
Please test it.
Thanks,
Christian
I compiled the RC2 of kernel 4.15 for the X5000 and X1000 today.
New:
- X1000: Nemo patch 4.15-2 without probe.c patching
- X1000: probe.c patch for scanning all possible devices below PCIe root ports, not just device 0 (Thanks to Bjorn Helgaas)
- X1000: pasemi pci.c patch for 'pci=pcie_scan_all' (Thanks to Olof Johansson)
- X1000: Fix a ttm regression for swiotlb disabled (We don't need the patch 0001-drm-ttm-fix-populate_and_map-functions-once-more anymore) (Thanks to Christian Koenig)
- PowerPC fixes 4.15-3
- DRM fixes
- Linux 4.15-rc2 Kernel Released -- phoronix
- Release announcement
- Phoronix articles, reviews and news stories covering Linux 4.15
Please test it.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- MichaelMerkel
- Beta Tester
- Posts: 355
- Joined: Mon Dec 20, 2010 2:08 pm
- Location: Germany
- Contact:
Re: Kernel 4.15
hi.
sorry to ask but is there somewhere a list of the following available:
from time to time i'm in the mood to test a linux version here on my x1000 but - well- every time i have no clue again how to do it.
thanks and regards
michael
sorry to ask but is there somewhere a list of the following available:
- list of available kernels & download
- list of available linux images or live dvds
- most important: a description how to boot/start/install the (different) kernels and images
from time to time i'm in the mood to test a linux version here on my x1000 but - well- every time i have no clue again how to do it.
thanks and regards
michael
Michael Merkel
(Member of Amiga Freunde Pfalz)
(Member of Amiga Freunde Pfalz)
Re: Kernel 4.15
Hi Michael,MichaelMerkel wrote:hi.
sorry to ask but is there somewhere a list of the following available:can we maybe make this a sticky topic here in the board?
- list of available kernels & download
- list of available linux images or live dvds
- most important: a description how to boot/start/install the (different) kernels and images
from time to time i'm in the mood to test a linux version here on my x1000 but - well- every time i have no clue again how to do it.
thanks and regards
michael
You can find all the kernels, images, and ISOs on the following website: http://www.supertuxkart-amiga.de/amiga/x1000.html#downloads. You can test our ubuntu MATE 16.04 live DVD if you like.
Download: ubuntu-mate-16.04.1-desktop-powerpc-x1000-3.iso
Commands for booting the live DVD:
-
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso atapi0.1:casper/powerpc64/initrd.
-
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
-
Code: Select all
CFE> boot -elf -noints -fs=iso atapi0.1:casper/powerpc64/vmlinux.
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.9
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.14
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.15
Please try it.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- MichaelMerkel
- Beta Tester
- Posts: 355
- Joined: Mon Dec 20, 2010 2:08 pm
- Location: Germany
- Contact:
Re: Kernel 4.15
hi christian.xeno74 wrote:
You can find all the kernels, images, and ISOs on the following website: http://www.supertuxkart-amiga.de/amiga/x1000.html#downloads. You can test our ubuntu MATE 16.04 live DVD if you like.
can you maybe post this sticky at the top of the forum? would be quite usefull for all.
i guess the live "dvd" can also be used from a pen drive?
hmm...
so are the other images, like the opensus ones (http://www.supertuxkart-amiga.de/amiga/ ... nsuse.html) no "live" dvds? only usefull for installation? i thought theses days all of the linux distros can be run out of the box for testing? just to understand.
thanks and regards...
michael
Michael Merkel
(Member of Amiga Freunde Pfalz)
(Member of Amiga Freunde Pfalz)
Re: Kernel 4.15
No problems here.Download: vmlinux-4.15-rc2-AmigaOne_X1000_X5000.tar.gz
Please test it.
tom
Re: Kernel 4.15
Hi Michael,
Firstly please try the ubuntu MATE 16.04 LTS live DVD. Copy it with dd on Linux or with the USB image Tool on Windows to a USB flash drive.
After that try to boot it with the following commands:
Download stable longterm kernel 4.9: vmlinux-4.9.61-AmigaONE_X1000_X5000.tar.gz
Download stable kernel 4.14: vmlinux-4.14.4-AmigaOne_X1000.tar.gz
Download test kernel 4.15: vmlinux-4.15-rc2-AmigaOne_X1000_X5000.tar.gz
Please note: To recognise a USB device plugged into a different USB-port, you always have to insert the USB device AFTER entering the CFE console. I assume you have inserted only one USB stick which is designated usbdisk0: Once ubuntu MATE is installed, it is recommended to boot the kernel from the CF card.
Please try it.
Cheers,
Christian
Many thanks for testing the RC2 of kernel 4.15.
Cheers,
Christian
How can I do it? Unfortunately I am not the admin here.MichaelMerkel wrote: can you maybe post this sticky at the top of the forum? would be quite usefull for all.
I haven't tried it yet. You can try it if you like and post if it works.MichaelMerkel wrote: i guess the live "dvd" can also be used from a pen drive?
The openSUSE images are live images. You can copy them to USB sticks and boot from.MichaelMerkel wrote: hmm...
so are the other images, like the opensus ones (http://www.supertuxkart-amiga.de/amiga/ ... nsuse.html) no "live" dvds? only usefull for installation? i thought theses days all of the linux distros can be run out of the box for testing? just to understand.
Firstly please try the ubuntu MATE 16.04 LTS live DVD. Copy it with dd on Linux or with the USB image Tool on Windows to a USB flash drive.
After that try to boot it with the following commands:
-
Code: Select all
CFE> ramdisk -addr=0x24000000 -fatfs usbdisk0:casper/powerpc64/initrd.
-
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
-
Code: Select all
CFE> boot -elf -noints -fatfs usbdisk0:casper/powerpc64/vmlinux.
-
Code: Select all
CFE> ramdisk -addr=0x24000000 -fs=iso usbdisk0:casper/powerpc64/initrd.
-
Code: Select all
CFE> setenv bootargs "root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper quiet ro splash --"
-
Code: Select all
CFE> boot -elf -noints -fs=iso usbdisk0:casper/powerpc64/vmlinux.
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.9
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.14
Code: Select all
CFE> boot -elf -noints -fatfs -cf0:vmlinux-4.15
Please note: To recognise a USB device plugged into a different USB-port, you always have to insert the USB device AFTER entering the CFE console. I assume you have inserted only one USB stick which is designated usbdisk0: Once ubuntu MATE is installed, it is recommended to boot the kernel from the CF card.
Please try it.
Cheers,
Christian
Hi Tom,tbreeden wrote:
No problems here.
tom
Many thanks for testing the RC2 of kernel 4.15.
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 4.15
FYI:
- PowerPC fixes 4.15-4
Link to the mailing list: [PATCH] SB600 for the Nemo board has non-zero devices on non-root bus -- Linuxppc-dev mailing list
- PowerPC fixes 4.15-4
xeno74 wrote: On 09 December 2017 at 7:03PM, Christian Zigotzky wrote:
> On 08 December 2017 at 12:59PM, Michael Ellerman wrote:
> >
> >> Darren's idea of doing it at the same time you tweak the SB600 "relax
> >> pci-e" bit is ideal because then the two pieces are obviously
> >> connected and it wouldn't affect any other systems at all.
> >
> > Yes that would be ideal. That patch is currently out-of-tree I gather,
> > but I guess everyone who's using these machines must have that patch
> > anyway.
> >
> > Darren what does that code look like? Can we get it upstream and close
> > the loop on this?
> >
> > cheers
> >
>
> Hi Michael,
>
> Please find attached the code.
>
> Thanks,
> Christian
Code: Select all
diff -rupN a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pasemi/pci.c
--- a/arch/powerpc/platforms/pasemi/pci.c 2017-11-16 08:18:35.078874462 +0100
+++ b/arch/powerpc/platforms/pasemi/pci.c 2017-11-16 08:17:22.034367975 +0100
@@ -27,6 +27,7 @@
#include <linux/pci.h>
#include <asm/pci-bridge.h>
+#include <asm/isa-bridge.h>
#include <asm/machdep.h>
#include <asm/ppc-pci.h>
@@ -108,6 +109,69 @@ static int workaround_5945(struct pci_bu
return 1;
}
+#ifdef CONFIG_PPC_PASEMI_NEMO
+static int sb600_bus = 5;
+static void __iomem *iob_mapbase = NULL;
+
+static int pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn,
+ int offset, int len, u32 *val);
+
+static void sb600_set_flag(int bus)
+{
+ struct resource res;
+ struct device_node *dn;
+ struct pci_bus *busp;
+ u32 val;
+ int err;
+
+ if (sb600_bus == -1)
+ {
+ busp = pci_find_bus(0, 0);
+ pa_pxp_read_config(busp, PCI_DEVFN(17,0), PCI_SECONDARY_BUS, 1, &val);
+
+ sb600_bus = val;
+
+ printk(KERN_CRIT "NEMO SB600 on bus %d.\n",sb600_bus);
+ }
+
+ if (iob_mapbase == NULL)
+ {
+ dn = of_find_compatible_node(NULL, "isa", "pasemi,1682m-iob");
+ if (!dn)
+ {
+ printk(KERN_CRIT "NEMO SB600 missing iob node\n");
+ return;
+ }
+
+ err = of_address_to_resource(dn, 0, &res);
+ of_node_put(dn);
+
+ if (err)
+ {
+ printk(KERN_CRIT "NEMO SB600 missing resource\n");
+ return;
+ }
+
+ printk(KERN_CRIT "NEMO SB600 IOB base %08lx\n",res.start);
+
+ iob_mapbase = ioremap(res.start + 0x100, 0x94);
+ }
+
+ if (iob_mapbase != NULL)
+ {
+ if (bus == sb600_bus)
+ {
+ out_le32(iob_mapbase + 4, in_le32(iob_mapbase + 4) | 0x800);
+ }
+ else
+ {
+ out_le32(iob_mapbase + 4, in_le32(iob_mapbase + 4) & ~0x800);
+ }
+ }
+}
+#endif
+
+
static int pa_pxp_read_config(struct pci_bus *bus, unsigned int devfn,
int offset, int len, u32 *val)
{
@@ -126,6 +190,10 @@ static int pa_pxp_read_config(struct pci
addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset);
+#ifdef CONFIG_PPC_PASEMI_NEMO
+ sb600_set_flag(bus->number);
+#endif
+
/*
* Note: the caller has already checked that offset is
* suitably aligned and that len is 1, 2 or 4.
@@ -210,6 +278,9 @@ static int __init pas_add_bridge(struct
/* Interpret the "ranges" property */
pci_process_bridge_OF_ranges(hose, dev, 1);
+ /* Scan for an isa bridge. */
+ isa_bridge_find_early(hose);
+
return 0;
}
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 4.15
Hi All,
Here is the new RC3 for testing.
New:
Screenshot of the MATE PowerPC Remix 2017 with the new RC3 booted with the new uInitrd and with the LABEL AMIGAONE from a USB flash drive on my AmigaOne X5000:
Please test it.
Thanks,
Christian
Here is the new RC3 for testing.
New:
- uInitrd for the X5000 (For booting with a UUID or with a LABEL)
- PowerPC fixes 4.15-4
- Linux 4.15-rc3 Kernel Released -- phoronix
- Release announcement
- Phoronix articles, reviews and news stories covering Linux 4.15
Screenshot of the MATE PowerPC Remix 2017 with the new RC3 booted with the new uInitrd and with the LABEL AMIGAONE from a USB flash drive on my AmigaOne X5000:
Please test it.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
- MichaelMerkel
- Beta Tester
- Posts: 355
- Joined: Mon Dec 20, 2010 2:08 pm
- Location: Germany
- Contact:
Re: Kernel 4.15
well, then the admin should. steven? can you contact him?xeno74 wrote:Hi Michael,
How can I do it? Unfortunately I am not the admin here.MichaelMerkel wrote: can you maybe post this sticky at the top of the forum? would be quite usefull for all.
regards...
michael
Michael Merkel
(Member of Amiga Freunde Pfalz)
(Member of Amiga Freunde Pfalz)