Skip to contentSkip to conversation

newbie question: location of frame buffer driver for imx27

DISCUSSION Jürgen Lambrecht 3 participants 3 messages Feb 16, 2011 – Feb 23, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

we have the Freescale IMX27-PDK demo kit. Along with it, we got the source code for the linux kernel version 2.6.22, and a lot of patches. Also for the video part, there are a lot of patches, creating a /drivers/video/mxc subdirectory.
In the linux sources 2.6.37, I only find 2 files: mx3fb.c (imx3x i guess) and imxfb.c.
When we try to compile linux for the imx27 (with the latest ltib) there are no framebuffers under devices.

Do I still need to patch linux/drivers/video for the imx27, or should it work fine like it is?
(and if so, what do I do wrong ;-)

Kind regards,
Juergen

Signature · 6 lines
J?rgen Lambrecht
R&D Associate
Tel: +32 (0)51 303045    Fax: +32 (0)51 310670
http://www.televic-rail.com
Televic Rail NV - Leo Bekaertlaan 1 - 8870 Izegem - Belgium
Company number 0825.539.581 - RPR Kortrijk
#1 lore raw

Hi J?rgen,

2011/2/16 J?rgen Lambrecht <[email protected]>:

Quoted 11 lines

Hello,

we have the Freescale IMX27-PDK demo kit. Along with it, we got the source code for the linux kernel version 2.6.22, and a lot of patches. Also for the video part, there are a lot of patches, creating a /drivers/video/mxc subdirectory.
In the linux sources 2.6.37, I only find 2 files: mx3fb.c (imx3x i guess) and imxfb.c.
When we try to compile linux for the imx27 (with the latest ltib) there are no framebuffers under devices.

Quoted 3 lines

Do I still need to patch linux/drivers/video for the imx27, or should it work fine like it is?
(and if so, what do I do wrong ;-)

Framebuffer support for MX27 is available at: drivers/video/imxfb.c

You can also take a look at arch/arm/mach-imx/mach-mx27ads.c to see an example of a MX27 based board with framebuffer support.

Regards,

Fabio Estevam

#2 lore raw
In reply to Jürgen Lambrecht

Hi J?rgen,

J?rgen Lambrecht a ?crit :

Quoted 3 lines

In the linux sources 2.6.37, I only find 2 files: mx3fb.c (imx3x i guess) and imxfb.c.

In vanilla/mainline kernel, imxfb.c handles both MX1 and MX2 LCD controllers.

Regards,
Julien