All of lore.kernel.org
 help / color / mirror / Atom feed
* TQM5200 + SM501 FB
@ 2009-12-04 14:23 Rolf Offermanns
  0 siblings, 0 replies; 4+ messages in thread
From: Rolf Offermanns @ 2009-12-04 14:23 UTC (permalink / raw)
  To: linuxppc-dev

Hi All,

does anyone has a working SM501 framebuffer on the STK5200 board? The 
board itself works fine on the 2.6.32 kernel.

I got a patch from TQ which used to work around 2.6.24 but it seems with 
the unification of the "simple mpc5200" boards the sm501 support got lost.

I toyed around with the patch a bit and I got the driver to probe and 
initialize the chip, but I don't get an output on the crt port and an 
open() on /dev/fb0 or /dev/fb1 fails with "no device".

Any hints are welcome.

Thanks,
Rolf.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: TQM5200 + SM501 FB
@ 2009-12-04 22:04 Wolfgang Denk
  2009-12-06  8:30 ` Rolf Offermanns
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2009-12-04 22:04 UTC (permalink / raw)
  To: Rolf Offermanns; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]

Dear Rolf Offermanns,

In message <4B191B54.6030804@sysgo.com> you wrote:
> 
> does anyone has a working SM501 framebuffer on the STK5200 board? The 
> board itself works fine on the 2.6.32 kernel.

This is a pretty well supported configuration.


> I got a patch from TQ which used to work around 2.6.24 but it seems with 
> the unification of the "simple mpc5200" boards the sm501 support got lost.

Don't expect any real support from TQ on this; so far they never
spent any efforts on the arch/powerpc port of the TQM5200.

> I toyed around with the patch a bit and I got the driver to probe and 
> initialize the chip, but I don't get an output on the crt port and an 
> open() on /dev/fb0 or /dev/fb1 fails with "no device".

Did you check if you eventually have forgotten to enable Framebuffer
console in your kernel configuration? Make sure to set:

 Device Drivers  --->
   Character devices  --->
     [*] Virtual terminal
     [*]   Support for console on virtual terminal (NEW)

   ...
   Multifunction device drivers  ---> 
     <*> Support for Silicon Motion SM501

   ...
   Graphics support  --->
     <*> Support for frame buffer devices  --->
       [*]   Framebuffer foreign endianness support  --->
         Choice endianness support (Support for Big- and Little-Endian framebuffers)  --->
       ...
       <*>   Silicon Motion SM501 framebuffer support

     ...
     Console display driver support  --->
       [ ] VGA text console      (! disable VGA text console!)
       <*> Framebuffer Console support


Please find attached below a patch which fixes some issues (but we
don't consider it clean enough for inclusion into mainline yet), and a
known to be working config file. [Kudos to Anatolij for providing
this.]

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
What was sliced bread the greatest thing since?


[-- Attachment #2: 0001-sm501-support-SM501-on-TQM5200.patch --]
[-- Type: application/x-patch , Size: 3845 bytes --]

[-- Attachment #3: config-tqm5200-sm501.gz --]
[-- Type: application/x-gzip , Size: 9514 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-06  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 14:23 TQM5200 + SM501 FB Rolf Offermanns
  -- strict thread matches above, loose matches on Subject: below --
2009-12-04 22:04 Wolfgang Denk
2009-12-06  8:30 ` Rolf Offermanns
2009-12-06  9:17   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.