* yocto, linux-fslc and xorg
@ 2013-09-16 6:22 Vanhauwaert Wouter
2013-09-16 11:32 ` Daiane Angolini
0 siblings, 1 reply; 8+ messages in thread
From: Vanhauwaert Wouter @ 2013-09-16 6:22 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hello all,
I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl layers and X.
I want to make use of the latest mainline kernel. I added PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do "bitbake core-image-web-kiosk"
Then I'm facing a problem in the build (I'm building it for an imx53qsb):
In file included from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/kgdb.h:16:0,
| from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/fb.h:4,
| from /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/xserver-xorg-video-imx-11.09.01/src/imx_display.c:33:
| /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory
| #include <asm/linkage.h>
| ^
| compilation terminated.
| make[2]: *** [imx_display.lo] Error 1
| make[2]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/temp/log.do_compile.32086)
ERROR: Task 2827 (/opt/git/poky/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb, do_compile) failed with exit code '1'q
What is happening?
grtz
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: yocto, linux-fslc and xorg
2013-09-16 6:22 yocto, linux-fslc and xorg Vanhauwaert Wouter
@ 2013-09-16 11:32 ` Daiane Angolini
2013-09-16 11:53 ` Vanhauwaert Wouter
0 siblings, 1 reply; 8+ messages in thread
From: Daiane Angolini @ 2013-09-16 11:32 UTC (permalink / raw)
To: Vanhauwaert Wouter; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador
On 09/16/2013 03:22 AM, Vanhauwaert Wouter wrote:
> Hello all,
>
> I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl layers and X.
> I want to make use of the latest mainline kernel. I added PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do "bitbake core-image-web-kiosk"
>
> Then I'm facing a problem in the build (I'm building it for an imx53qsb):
>
> In file included from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/kgdb.h:16:0,
> | from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/fb.h:4,
> | from /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/xserver-xorg-video-imx-11.09.01/src/imx_display.c:33:
> | /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory
> | #include <asm/linkage.h>
> | ^
> | compilation terminated.
> | make[2]: *** [imx_display.lo] Error 1
> | make[2]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/temp/log.do_compile.32086)
> ERROR: Task 2827 (/opt/git/poky/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb, do_compile) failed with exit code '1'q
>
> What is happening?
What is happening is that the xf86-video-imxfb_11.09.01 expects the
kernel headers from kernel 2.6.35_11.09.01 and you only have the kernel
headers from 3.11, so you face a mismatch.
Are you avalilable to change the xf86-video-imxfb_11.09.01 source code
in order to get it compatible with both kernels?
Otavio, do you think a bug must be created?
>
> grtz
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
--
Daiane
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: yocto, linux-fslc and xorg
2013-09-16 11:32 ` Daiane Angolini
@ 2013-09-16 11:53 ` Vanhauwaert Wouter
2013-09-16 12:06 ` Otavio Salvador
0 siblings, 1 reply; 8+ messages in thread
From: Vanhauwaert Wouter @ 2013-09-16 11:53 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador
> -----Original Message-----
> From: Daiane Angolini [mailto:daiane.angolini@freescale.com]
> Sent: maandag 16 september 2013 13:33
> To: Vanhauwaert Wouter
> Cc: meta-freescale@yoctoproject.org; Otavio Salvador
> Subject: Re: [meta-freescale] yocto, linux-fslc and xorg
>
> On 09/16/2013 03:22 AM, Vanhauwaert Wouter wrote:
> > Hello all,
> >
> > I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl
> layers and X.
> > I want to make use of the latest mainline kernel. I added
> PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do
> "bitbake core-image-web-kiosk"
> >
> > Then I'm facing a problem in the build (I'm building it for an imx53qsb):
> >
> > What is happening?
>
> What is happening is that the xf86-video-imxfb_11.09.01 expects the kernel
> headers from kernel 2.6.35_11.09.01 and you only have the kernel headers from
> 3.11, so you face a mismatch.
>
> Are you avalilable to change the xf86-video-imxfb_11.09.01 source code in
> order to get it compatible with both kernels?
>
Well I don't know... Do you mean that the imx driver is not yet available for a recent kernel?
Is adjusting this driver to work on a recent kernel good enough then / good starting point? Is there no mainline xorg driver available?
These are my first steps with yocto in general, so I don't really know how much work it would be...
> Otavio, do you think a bug must be created?
>
> --
> Daiane
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: yocto, linux-fslc and xorg
2013-09-16 11:53 ` Vanhauwaert Wouter
@ 2013-09-16 12:06 ` Otavio Salvador
2013-09-16 12:52 ` Fabio Estevam
0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2013-09-16 12:06 UTC (permalink / raw)
To: Vanhauwaert Wouter; +Cc: meta-freescale@yoctoproject.org
On Mon, Sep 16, 2013 at 8:53 AM, Vanhauwaert Wouter
<W.Vanhauwaert@televic.com> wrote:
>> -----Original Message-----
>> From: Daiane Angolini [mailto:daiane.angolini@freescale.com]
>> Sent: maandag 16 september 2013 13:33
>> To: Vanhauwaert Wouter
>> Cc: meta-freescale@yoctoproject.org; Otavio Salvador
>> Subject: Re: [meta-freescale] yocto, linux-fslc and xorg
>>
>> On 09/16/2013 03:22 AM, Vanhauwaert Wouter wrote:
>> > Hello all,
>> >
>> > I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl
>> layers and X.
>> > I want to make use of the latest mainline kernel. I added
>> PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do
>> "bitbake core-image-web-kiosk"
>> >
>> > Then I'm facing a problem in the build (I'm building it for an imx53qsb):
>> >
>> > What is happening?
>>
>> What is happening is that the xf86-video-imxfb_11.09.01 expects the kernel
>> headers from kernel 2.6.35_11.09.01 and you only have the kernel headers from
>> 3.11, so you face a mismatch.
>>
>> Are you avalilable to change the xf86-video-imxfb_11.09.01 source code in
>> order to get it compatible with both kernels?
>>
>
> Well I don't know... Do you mean that the imx driver is not yet available for a recent kernel?
> Is adjusting this driver to work on a recent kernel good enough then / good starting point? Is there no mainline xorg driver available?
> These are my first steps with yocto in general, so I don't really know how much work it would be...
For now, you will need to use xf86-video-fbdev. Currently kernel
mainline does not have support for AMD GPU.
>> Otavio, do you think a bug must be created?
It would be good so people interested on it could contribute to the bug.
Regards,
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: yocto, linux-fslc and xorg
2013-09-16 12:06 ` Otavio Salvador
@ 2013-09-16 12:52 ` Fabio Estevam
2013-09-16 13:02 ` Otavio Salvador
2013-09-17 7:17 ` Vanhauwaert Wouter
0 siblings, 2 replies; 8+ messages in thread
From: Fabio Estevam @ 2013-09-16 12:52 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Vanhauwaert Wouter
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"
# 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)?
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: yocto, linux-fslc and xorg
2013-09-16 12:52 ` Fabio Estevam
@ 2013-09-16 13:02 ` Otavio Salvador
2013-09-17 7:17 ` Vanhauwaert Wouter
1 sibling, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2013-09-16 13:02 UTC (permalink / raw)
To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org, Vanhauwaert Wouter
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.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: yocto, linux-fslc and xorg
2013-09-16 12:52 ` Fabio Estevam
2013-09-16 13:02 ` Otavio Salvador
@ 2013-09-17 7:17 ` Vanhauwaert Wouter
2013-09-17 7:35 ` Eric Bénard
1 sibling, 1 reply; 8+ messages in thread
From: Vanhauwaert Wouter @ 2013-09-17 7:17 UTC (permalink / raw)
To: Fabio Estevam, Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
> -----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?
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: yocto, linux-fslc and xorg
2013-09-17 7:17 ` Vanhauwaert Wouter
@ 2013-09-17 7:35 ` Eric Bénard
0 siblings, 0 replies; 8+ messages in thread
From: Eric Bénard @ 2013-09-17 7:35 UTC (permalink / raw)
To: Vanhauwaert Wouter; +Cc: meta-freescale@yoctoproject.org, Otavio Salvador
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-09-17 7:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16 6:22 yocto, linux-fslc and xorg Vanhauwaert Wouter
2013-09-16 11:32 ` Daiane Angolini
2013-09-16 11:53 ` Vanhauwaert Wouter
2013-09-16 12:06 ` Otavio Salvador
2013-09-16 12:52 ` Fabio Estevam
2013-09-16 13:02 ` Otavio Salvador
2013-09-17 7:17 ` Vanhauwaert Wouter
2013-09-17 7:35 ` Eric Bénard
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.