Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-12-02 Thread acrux
On Mon, 28 Nov 2011 21:22:24 +0100 Anatolij Gustschin ag...@denx.de wrote: On Mon, 28 Nov 2011 20:56:55 +0100 acrux acrux...@libero.it wrote: ... it seems to be an endianess issue but i didn't find when it was introduced. Really strange this kind of issue was never noticed bumping from

Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-12-02 Thread Anatolij Gustschin
Hi, On Fri, 2 Dec 2011 15:48:33 +0100 acrux acrux...@libero.it wrote: ... This little hack fix my problem: --- a/inlcude/linux/sm501.h 2011-12-02 01:11:04.0 +0100 +++ b/include/linux/sm501.h 2011-12-02 01:11:09.0 +0100 @@ -174,8 +174,8 @@ }; #if

Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-28 Thread Josh Boyer
On Sun, Nov 27, 2011 at 11:37 AM, acrux acrux...@libero.it wrote: Acube Sam460ex has SM502 as onboard video. I got this with any kernel newer than 2.6.38.x thus the framebuffer is lost too: root@sam4x0:~# diff dmesg-2.6.38.8 dmesg-2.6.39.4 1,2c1,3 Using PowerPC 44x Platform machine

Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-28 Thread acrux
On Mon, 28 Nov 2011 07:12:38 -0500 Josh Boyer jwbo...@gmail.com wrote: On Sun, Nov 27, 2011 at 11:37 AM, acrux acrux...@libero.it wrote: Acube Sam460ex has SM502 as onboard video. I got this with any kernel newer than 2.6.38.x thus the framebuffer is lost too: root@sam4x0:~# diff

Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-28 Thread Anatolij Gustschin
On Mon, 28 Nov 2011 20:56:55 +0100 acrux acrux...@libero.it wrote: ... it seems to be an endianess issue but i didn't find when it was introduced. Really strange this kind of issue was never noticed bumping from 2.6.38.x to 2.6.39.x . Look at commit bf5f0019046d596d613caf74722ba4994e153899

Re: sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-28 Thread acrux...@libero.it
Da: ag...@denx.de Data: 28/11/2011 21.22 A: acruxacrux...@libero.it Cc: Josh Boyerjwbo...@gmail.com, linuxppc-dev@lists.ozlabs.org Ogg: Re: sam460ex, sm501 incorrect device id with kernel gt;=linux-2.6.39 On Mon, 28 Nov 2011 20:56:55 +0100 acrux acrux...@libero.it wrote: ... it seems

sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-27 Thread acrux
Acube Sam460ex has SM502 as onboard video. I got this with any kernel newer than 2.6.38.x thus the framebuffer is lost too: root@sam4x0:~# diff dmesg-2.6.38.8 dmesg-2.6.39.4 1,2c1,3 Using PowerPC 44x Platform machine description Linux version 2.6.38.8-Sam460ex (root@sam4x0) (gcc version 4.5.3