yocto, linux-fslc and xorg

Submitted by Fabio Estevam on Sept. 16, 2013, 12:52 p.m.

Details

Message ID CAOMZO5DFS7j8QOb_1XupHPX8du0cRrkajv7Cm01tJhDJNYbnOg@mail.gmail.com
State Not Applicable, archived
Delegated to: Otavio Salvador
Headers show

Commit Message

Fabio Estevam Sept. 16, 2013, 12:52 p.m.
On Mon, Sep 16, 2013 at 9:06 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:

> For now, you will need to use xf86-video-fbdev. Currently kernel
> mainline does not have support for AMD GPU.

Right, so when using the mainline kernel we need to use the same
XSERVER settings as in the mx28 case, right?



How would we fix this properly (ie, installing the vivante package for
3.0.35 and the generic xserver version for 3.11)?

Patch hide | download patch | download mbox

--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -20,12 +20,9 @@  UBOOT_ENTRYPOINT_mx6  = "0x10008000"
 UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
 UBOOT_ENTRYPOINT_vf60 = "0x80008000"

-XSERVER_DRIVER = "xf86-video-fbdev"
-XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
-XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
 XSERVER = "xserver-xorg \
            xf86-input-evdev \
-           ${XSERVER_DRIVER}"
+           xf86-video-fbdev"

 # Ship kernel modules
 MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"

Comments

Otavio Salvador Sept. 16, 2013, 1:02 p.m.
On Mon, Sep 16, 2013 at 9:52 AM, Fabio Estevam <festevam@gmail.com> wrote:
> On Mon, Sep 16, 2013 at 9:06 AM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>
>> For now, you will need to use xf86-video-fbdev. Currently kernel
>> mainline does not have support for AMD GPU.
>
> Right, so when using the mainline kernel we need to use the same
> XSERVER settings as in the mx28 case, right?
>
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -20,12 +20,9 @@ UBOOT_ENTRYPOINT_mx6  = "0x10008000"
>  UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
>  UBOOT_ENTRYPOINT_vf60 = "0x80008000"
>
> -XSERVER_DRIVER = "xf86-video-fbdev"
> -XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
> -XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
>  XSERVER = "xserver-xorg \
>             xf86-input-evdev \
> -           ${XSERVER_DRIVER}"
> +           xf86-video-fbdev"

Yes.

>  # Ship kernel modules
>  MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
>
>
> How would we fix this properly (ie, installing the vivante package for
> 3.0.35 and the generic xserver version for 3.11)?

This is hard to fix it automatically as it is version dependent. It'd
be ugly python code to try to discover what's going on.
Vanhauwaert Wouter Sept. 17, 2013, 7:17 a.m.
> -----Original Message-----
> From: Fabio Estevam [mailto:festevam@gmail.com]
> Sent: maandag 16 september 2013 14:52
> To: Otavio Salvador
> Cc: Vanhauwaert Wouter; meta-freescale@yoctoproject.org
> Subject: Re: [meta-freescale] yocto, linux-fslc and xorg
> 
> On Mon, Sep 16, 2013 at 9:06 AM, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
> 
> > For now, you will need to use xf86-video-fbdev. Currently kernel
> > mainline does not have support for AMD GPU.
> 
> Right, so when using the mainline kernel we need to use the same XSERVER
> settings as in the mx28 case, right?
> 
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -20,12 +20,9 @@ UBOOT_ENTRYPOINT_mx6  = "0x10008000"
>  UBOOT_ENTRYPOINT_mx6sl = "0x80008000"
>  UBOOT_ENTRYPOINT_vf60 = "0x80008000"
> 
> -XSERVER_DRIVER = "xf86-video-fbdev"
> -XSERVER_DRIVER_mx5 = "xf86-video-imxfb"
> -XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante"
>  XSERVER = "xserver-xorg \
>             xf86-input-evdev \
> -           ${XSERVER_DRIVER}"
> +           xf86-video-fbdev"
> 

What is de drawback in using the fbdev driver in stead of the imxfb driver?
Eric BENARD Sept. 17, 2013, 7:35 a.m.
Hi Wouter,

Le Tue, 17 Sep 2013 09:17:04 +0200,
Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com> a écrit :
> What is de drawback in using the fbdev driver in stead of the imxfb driver?
> 
fbdev : plain framebuffer compatible with mainline kernels
imxfb : can use accelerated GPU drivers, but stucked to 2.6.35 kernel.

Eric