Kernel 4.10

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

Re: Kernel 4.10

Post by xeno74 »

Hi All,

The RC4 of kernel 4.10 is available for testing. :-)

New:
Download: vmlinux-4.10-rc4-AmigaONE_X1000.tar.gz

Screenshot of ubuntu MATE 17.04 PowerPC with the RC4 of kernel 4.10:

Image

Please test it.

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

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

Re: Kernel 4.10

Post by xeno74 »

Hi All,

Great news!

Darren added two new Nemo patches to the official kernel source code yesterday. :-)

Many many thanks to Darren!!!!!! :-)

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

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

Re: Kernel 4.10

Post by xeno74 »

New Nemo patch: nemo_4.10-2.patch (Thanks to Darren)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.10

Post by xeno74 »

Hi All,

I compiled an additional RC4 because of the PowerPC updates and the new Nemo patch.

New:
Download: vmlinux-4.10-rc4-2-AmigaONE_X1000.tar.gz

Screenshot of ubuntu MATE 17.04 PowerPC with the RC4-2 of kernel 4.10:

Image

Please test it.

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

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

Re: Kernel 4.10

Post by xeno74 »

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

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

Re: Kernel 4.10

Post by xeno74 »

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

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

Re: Kernel 4.10

Post by xeno74 »

Hi All,

Darren has created a new Nemo patch with a lot of improvements. :-)
Darren wrote: This patch has turned out to be better than I thought. I can now boot kernel
4.10 with out the following 2 files patched:

arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/setup-common.c

..and it finds the bootcpu so it boots a little quicker.

I've attached a new nemo patch for you to try. This has some other minor
changes as I've now submitted the ATI ide and sigmatel patches to the
relevant parties. The ati patches are now queued for libata-4.11, the
sigmatel looks like it needs some clarification, which I will try to sort
out.

Mpe has indicated I need to submit the i2c somewhere else, I'll sort that
shortly.

Getting closer to not needing a nemo patch, which would be nice.
Download: nemo_4.10-3.patch

Many thanks to Darren. I will compile the RC5 again with Darren's new patch.

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

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

Re: Kernel 4.10

Post by xeno74 »

Hi Darren,

Many many thanks for your work! :-) Well done!

I successfully patched with your new Nemo patch and compiled the RC5 again today.

It boots and works with ubuntu MATE 17.04 PowerPC and with Debian Sid/experimental PowerPC without any problems. I tested the following things:
  • Hardware 3D acceleration works with an AMD Radeon HD6870 (tested with DOOM 3 and SuperTuxKart 0.8.1-2)
  • Sound works (MP3 files, web radio etc)
  • LAN works (Realtek RTL-8139)
  • WLAN works (FRITZ!WLAN USB Stick N)
  • "PR" KVM works (QEMU guest: Mac OS X 10.4.11 Tiger)
  • Compiz works
  • YouTube HD videos work with ViewTube
  • Internal CF card works
  • pas_shutdown works
@All

I released the new RC5-2 with Darren's updates for testing today.

New:
Download: vmlinux-4.10-rc5-2-AmigaONE_X1000.tar.gz

Screenshot of ubuntu MATE 17.04 PowerPC with the new RC5-2:

Image

PLEASE test the RC5-2.

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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.10

Post by xeno74 »

Great news! :-)

Darren has submitted a new patch to the ALSA kernel developers.

[PATCH] ALSA: hda/patch_sigmatel: Add AmigaOne X1000 pin configs
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.10

Post by xeno74 »

FYI: powerpc: Add missing error check to prom_find_boot_cpu()
Michael Ellerman wrote: On Mon, 2017-01-23 at 19:42:54 UTC, Darren Stevens wrote:
> prom_init.c calls 'instance-to-package' twice, but the return
> is not checked during prom_find_boot_cpu(). The result is then
> passed to prom_getprop, which could be PROM_ERROR.
> Add a return check to prevent this.
>
> This was found on a pasemi system, where CFE doesn't have a working
> 'instance-to package' prom call.
> Before Commit 5c0484e25ec0 ('powerpc: Endian safe trampoline') the
> area around addr 0 as mostly 0's and this doesn't cause a problem.
> Once the macro 'FIXUP_ENDIAN' has been added to head_64.S, the low
> memory area now has non-zero values, which cause the prom_getprop
> call to hang.
>
> Signed-off-by: Darren Stevens <darren at stevens-zone.net>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/af2b7f ... 96604448ff

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply