All of lore.kernel.org
 help / color / mirror / Atom feed
* Recipe validation
@ 2014-11-30 13:59 Riccardo Stronati
  2014-11-30 18:06 ` Marco Cavallini
  0 siblings, 1 reply; 7+ messages in thread
From: Riccardo Stronati @ 2014-11-30 13:59 UTC (permalink / raw)
  To: meta-freescale


[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]

Hi everyone,

I'd like to build a custom image with qt4 embedded, phonon-gstreamer with
opengl and so gpu hardware acceleration.

These are my recipe files can somebody validate them?

I'm using yocto dora since the technexion bsp for edm1-fairy with imx6 do
not support the newer yocto versions.

Thanks you.

[-- Attachment #1.2: Type: text/html, Size: 451 bytes --]

[-- Attachment #2: layer.conf --]
[-- Type: application/octet-stream, Size: 536 bytes --]

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
	${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "custom"
BBFILE_PATTERN_custom = "^${LAYERDIR}/"
BBFILE_PRIORITY_custom = "6"

PACKAGECONFIG_append_pn-qtbase = " sql-sqlite xcb accessibility widgets alsa pulseaudio gtkstyle qt-gfx-transformed "
PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010"
PACKAGECONFIG_append_pn-qtwebkit = " gstreamer010"



[-- Attachment #3: custom-image-qt4e.bb --]
[-- Type: application/octet-stream, Size: 719 bytes --]

DESCRIPTION = "Custom image with qt4e"
LICENSE = "CLOSED"

inherit core-image

DISTRO_FEATURES = " directfb opengl pulseaudio alsa pam "

DISTRO_FEATURES_remove = "wayland x11"

IMAGE_FEATURES = " \
    debug-tweaks \
    nfs-server \
    ssh-server-openssh \
    splash \
    package-management \
    hwcodecs \
"
IMAGE_INSTALL = " \
    packagegroup-core-boot \
    packagegroup-core-basic \
    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    packagegroup-fsl \
    packagegroup-custom-gst \
    packagegroup-custom \
    packagegroup-core-qt4e \
    libqxt \
    qextserialport-e \
    distributore-ifconfig \
    usbmount \
    qconnmanmc2-e \
"

export IMAGE_BASENAME = "custom-image-qt4e"


[-- Attachment #4: packagegroup-custom-qt4e.bb --]
[-- Type: application/octet-stream, Size: 1136 bytes --]

DESCRIPTION = "Custom package group with qt4"
LICENSE = "MIT"

inherit packagegroup

PROVIDES = "${PACKAGES}"

TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'

PACKAGES += "packagegroup-custom"
PACKAGES += "packagegroup-gst"

RDEPENDS_packagegroup-custom = "\ 
    ${TOUCH} \
    openssh-sftp-server \
    alsa-lib \
    alsa-tools \
    alsa-state \
    alsa-utils-alsaconf \
    coreutils \
    elfutils-dev \
    enca \
    gcc \
    libfaad \
    fribidi \
    libgcc \
    gmp \
    libice \
    libice-dev \
    libmpc \
    mpfr \
    libsm \
    libsm-dev \
    libass \
    libdvdread \
    linux-libc-headers-dev \
    make \
    openvpn \
    tar \
    i2c-tools \
    sqlite3 \
    pulseaudio \
    nano \
    cpufrequtils \
"
RDEPENDS_packagegroup-gst = "\
   packagegroup-fsl-gstreamer \
   gst-plugins-gl-opengl \
   gst-ffmpeg \
   gst-plugins-base \
   gst-plugins-good \
   gst-plugins-bad \
   gst-plugins-ugly \
   gst-meta-base \
   gst-meta-audio \
   gst-meta-debug \
   gst-meta-video \
   gst-plugins-gl \
   gst-plugins-ugly \
   gst-fsl-plugin \
"



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

* Re: Recipe validation
  2014-11-30 13:59 Recipe validation Riccardo Stronati
@ 2014-11-30 18:06 ` Marco Cavallini
  2014-11-30 22:51   ` Riccardo Stronati
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Cavallini @ 2014-11-30 18:06 UTC (permalink / raw)
  To: meta-freescale

Wouldn't be better to get out the BSP (bootloader and kernel) from the
meta-fsl-arm-extra provided by Technexion and get a greater benefit
using a more recent Yocto branch like 'DAISY'?

Just my 2 cents.
--
Marco Cavallini | KOAN sas | Bergamo - Italia
 embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
      http://www.KoanSoftware.com
        http://www.KaeilOS.com

2014-11-30 14:59 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com>:
> Hi everyone,
>
> I'd like to build a custom image with qt4 embedded, phonon-gstreamer with
> opengl and so gpu hardware acceleration.
>
> These are my recipe files can somebody validate them?
>
> I'm using yocto dora since the technexion bsp for edm1-fairy with imx6 do
> not support the newer yocto versions.
>
> Thanks you.
>
>
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


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

* Re: Recipe validation
  2014-11-30 18:06 ` Marco Cavallini
@ 2014-11-30 22:51   ` Riccardo Stronati
  2014-12-03 21:40     ` Riccardo Stronati
  0 siblings, 1 reply; 7+ messages in thread
From: Riccardo Stronati @ 2014-11-30 22:51 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: meta-freescale

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

I think the main problem could be the kernel. The edm bsp has a lot of
kernel patch and I have to try to port them to the newer kernel version.




2014-11-30 19:06 GMT+01:00 Marco Cavallini <cavallini.koan@gmail.com>:

> Wouldn't be better to get out the BSP (bootloader and kernel) from the
> meta-fsl-arm-extra provided by Technexion and get a greater benefit
> using a more recent Yocto branch like 'DAISY'?
>
> Just my 2 cents.
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia
>  embedded and real-time software engineering
> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>       http://www.KoanSoftware.com
>         http://www.KaeilOS.com
>
> 2014-11-30 14:59 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com>:
> > Hi everyone,
> >
> > I'd like to build a custom image with qt4 embedded, phonon-gstreamer with
> > opengl and so gpu hardware acceleration.
> >
> > These are my recipe files can somebody validate them?
> >
> > I'm using yocto dora since the technexion bsp for edm1-fairy with imx6 do
> > not support the newer yocto versions.
> >
> > Thanks you.
> >
> >
> >
> >
> >
> > --
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
> >
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>

[-- Attachment #2: Type: text/html, Size: 2691 bytes --]

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

* Re: Recipe validation
  2014-11-30 22:51   ` Riccardo Stronati
@ 2014-12-03 21:40     ` Riccardo Stronati
  2014-12-03 22:02       ` sysroot -> roottfs? randy
  2014-12-03 22:28       ` Recipe validation Gary Thomas
  0 siblings, 2 replies; 7+ messages in thread
From: Riccardo Stronati @ 2014-12-03 21:40 UTC (permalink / raw)
  To: Marco Cavallini; +Cc: meta-freescale

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

No way, The imx-* recipes are kernel version related, I suppose...

I tried and I get:

| make -C pxp all
| make[1]: Entering directory `/yocto-dizzy/build/tmp/work/
edm_fairy_imx6-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
--sysroot=/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6 -DIMX6Q
-I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include/uapi
-I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include
-I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/rng/include
-I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/sahara2/include
-Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c pxp_lib.c -o
pxp_lib.o
| In file included from pxp_lib.c:26:0:
| pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or
directory
|  #include <linux/pxp_device.h>

2014-11-30 23:51 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com>:

> I think the main problem could be the kernel. The edm bsp has a lot of
> kernel patch and I have to try to port them to the newer kernel version.
>
>
>
>
> 2014-11-30 19:06 GMT+01:00 Marco Cavallini <cavallini.koan@gmail.com>:
>
>> Wouldn't be better to get out the BSP (bootloader and kernel) from the
>> meta-fsl-arm-extra provided by Technexion and get a greater benefit
>> using a more recent Yocto branch like 'DAISY'?
>>
>> Just my 2 cents.
>> --
>> Marco Cavallini | KOAN sas | Bergamo - Italia
>>  embedded and real-time software engineering
>> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>>       http://www.KoanSoftware.com
>>         http://www.KaeilOS.com
>>
>> 2014-11-30 14:59 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com>:
>> > Hi everyone,
>> >
>> > I'd like to build a custom image with qt4 embedded, phonon-gstreamer
>> with
>> > opengl and so gpu hardware acceleration.
>> >
>> > These are my recipe files can somebody validate them?
>> >
>> > I'm using yocto dora since the technexion bsp for edm1-fairy with imx6
>> do
>> > not support the newer yocto versions.
>> >
>> > Thanks you.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > _______________________________________________
>> > meta-freescale mailing list
>> > meta-freescale@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/meta-freescale
>> >
>> --
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>
>

[-- Attachment #2: Type: text/html, Size: 4259 bytes --]

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

* sysroot -> roottfs?
  2014-12-03 21:40     ` Riccardo Stronati
@ 2014-12-03 22:02       ` randy
  2014-12-03 22:28       ` Recipe validation Gary Thomas
  1 sibling, 0 replies; 7+ messages in thread
From: randy @ 2014-12-03 22:02 UTC (permalink / raw)
  To: meta-freescale

I've built core-image-weston using community dizzy branch, then I added 
qt, which is all good.

Then I added qtwebengine, which works, but I forgot qtwayland, so I 
added qtwayland and I see what I think I need in 
tmp/sysroots/imx6qsabresd/usr/lib/qt5/plugins/platforms; but I can't 
seem to find the right bitbake command to get it moved into 
tmp/work/imx6qsabresd-poky-linux-gnueabi/core-image-weston/1.0-r0/rootfs/usr/lib/qt5/plugins/platforms
  ( or the .ext3 file in the images dir ).

I'm thinking I can clean everything and rebuild and it will all be good, 
but I really want to figure out how to do this piecemeal, any suggestions?

Thanks,
Randy Krakora


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

* Re: Recipe validation
  2014-12-03 21:40     ` Riccardo Stronati
  2014-12-03 22:02       ` sysroot -> roottfs? randy
@ 2014-12-03 22:28       ` Gary Thomas
  2014-12-04  8:08         ` Riccardo Stronati
  1 sibling, 1 reply; 7+ messages in thread
From: Gary Thomas @ 2014-12-03 22:28 UTC (permalink / raw)
  To: meta-freescale

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

On 2014-12-03 14:40, Riccardo Stronati wrote:
> No way, The imx-* recipes are kernel version related, I suppose...
>
> I tried and I get:
>
> | make -C pxp all
> | make[1]: Entering directory `/yocto-dizzy/build/tmp/work/
> edm_fairy_imx6-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
> | arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6 -DIMX6Q
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include/uapi -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/rng/include
> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/drivers/mxc/security/sahara2/include -Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c pxp_lib.c -o pxp_lib.o
> | In file included from pxp_lib.c:26:0:
> | pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or directory
> |  #include <linux/pxp_device.h>

This happens if you try to use an older kernel.  The imx-lib is now based
on kernel 3.10+

If you really want to continue using older kernels, you can use the attached
.bbappend as the pxp stuff isn't of much use (and won't work with the older
kernel anyway).

>
> 2014-11-30 23:51 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com <mailto:r.stronati@gmail.com>>:
>
>     I think the main problem could be the kernel. The edm bsp has a lot of kernel patch and I have to try to port them to the newer kernel version.
>
>
>
>
>     2014-11-30 19:06 GMT+01:00 Marco Cavallini <cavallini.koan@gmail.com <mailto:cavallini.koan@gmail.com>>:
>
>         Wouldn't be better to get out the BSP (bootloader and kernel) from the
>         meta-fsl-arm-extra provided by Technexion and get a greater benefit
>         using a more recent Yocto branch like 'DAISY'?
>
>         Just my 2 cents.
>         --
>         Marco Cavallini | KOAN sas | Bergamo - Italia
>           embedded and real-time software engineering
>         Phone:+39-035-255.235 <tel:%2B39-035-255.235> - Fax:+39-178-22.39.748 <tel:%2B39-178-22.39.748>
>         http://www.KoanSoftware.com
>         http://www.KaeilOS.com
>
>         2014-11-30 14:59 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com <mailto:r.stronati@gmail.com>>:
>         > Hi everyone,
>         >
>         > I'd like to build a custom image with qt4 embedded, phonon-gstreamer with
>         > opengl and so gpu hardware acceleration.
>         >
>         > These are my recipe files can somebody validate them?
>         >
>         > I'm using yocto dora since the technexion bsp for edm1-fairy with imx6 do
>         > not support the newer yocto versions.
>         >
>         > Thanks you.
>         >
>         >
>         >
>         >
>         >
>         > --
>         > _______________________________________________
>         > meta-freescale mailing list
>         >meta-freescale@yoctoproject.org <mailto:meta-freescale@yoctoproject.org>
>         >https://lists.yoctoproject.org/listinfo/meta-freescale
>         >
>         --
>         _______________________________________________
>         meta-freescale mailing list
>         meta-freescale@yoctoproject.org <mailto:meta-freescale@yoctoproject.org>
>         https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
>
>
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: imx-lib_3.10.17-1.0.0.bbappend --]
[-- Type: text/plain, Size: 437 bytes --]

#
# 2014-09-26
# This recipe does not build with kernels older than 3.10.17
# The problem is that the 'pxp' directory is using functionality
# only introduced in newer kernels.  None of the rest of the i.MX6
# tools currently need this support, so we can just not build the
# 'pxp' bits.  Luckily, the rest of the library builds fine if the
# pxp directory is simply removed.
#

do_compile_prepend() {
    rm -fr ${S}/pxp
}

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

* Re: Recipe validation
  2014-12-03 22:28       ` Recipe validation Gary Thomas
@ 2014-12-04  8:08         ` Riccardo Stronati
  0 siblings, 0 replies; 7+ messages in thread
From: Riccardo Stronati @ 2014-12-04  8:08 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

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

Ok, thanks you so much, I'll give a try today.



2014-12-03 23:28 GMT+01:00 Gary Thomas <gary@mlbassoc.com>:

> On 2014-12-03 14:40, Riccardo Stronati wrote:
>
>> No way, The imx-* recipes are kernel version related, I suppose...
>>
>> I tried and I get:
>>
>> | make -C pxp all
>> | make[1]: Entering directory `/yocto-dizzy/build/tmp/work/
>> edm_fairy_imx6-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.
>> 0-r0/imx-lib-3.10.17-1.0.0/pxp'
>> | arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork
>> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6
>> -DIMX6Q
>> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include/uapi
>> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/src/kernel/include
>> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/
>> src/kernel/drivers/mxc/security/rng/include
>> -I/yocto-dizzy/build/tmp/sysroots/edm-fairy-imx6/usr/
>> src/kernel/drivers/mxc/security/sahara2/include -Wall -fPIC  -O2 -pipe
>> -g -feliminate-unused-debug-types -c pxp_lib.c -o pxp_lib.o
>> | In file included from pxp_lib.c:26:0:
>> | pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or
>> directory
>> |  #include <linux/pxp_device.h>
>>
>
> This happens if you try to use an older kernel.  The imx-lib is now based
> on kernel 3.10+
>
> If you really want to continue using older kernels, you can use the
> attached
> .bbappend as the pxp stuff isn't of much use (and won't work with the older
> kernel anyway).
>
>
>> 2014-11-30 23:51 GMT+01:00 Riccardo Stronati <r.stronati@gmail.com
>> <mailto:r.stronati@gmail.com>>:
>>
>>     I think the main problem could be the kernel. The edm bsp has a lot
>> of kernel patch and I have to try to port them to the newer kernel version.
>>
>>
>>
>>
>>     2014-11-30 19:06 GMT+01:00 Marco Cavallini <cavallini.koan@gmail.com
>> <mailto:cavallini.koan@gmail.com>>:
>>
>>         Wouldn't be better to get out the BSP (bootloader and kernel)
>> from the
>>         meta-fsl-arm-extra provided by Technexion and get a greater
>> benefit
>>         using a more recent Yocto branch like 'DAISY'?
>>
>>         Just my 2 cents.
>>         --
>>         Marco Cavallini | KOAN sas | Bergamo - Italia
>>           embedded and real-time software engineering
>>         Phone:+39-035-255.235 <tel:%2B39-035-255.235> - Fax:
>> +39-178-22.39.748 <tel:%2B39-178-22.39.748>
>>         http://www.KoanSoftware.com
>>         http://www.KaeilOS.com
>>
>>         2014-11-30 14:59 GMT+01:00 Riccardo Stronati <
>> r.stronati@gmail.com <mailto:r.stronati@gmail.com>>:
>>         > Hi everyone,
>>         >
>>         > I'd like to build a custom image with qt4 embedded,
>> phonon-gstreamer with
>>         > opengl and so gpu hardware acceleration.
>>         >
>>         > These are my recipe files can somebody validate them?
>>         >
>>         > I'm using yocto dora since the technexion bsp for edm1-fairy
>> with imx6 do
>>         > not support the newer yocto versions.
>>         >
>>         > Thanks you.
>>         >
>>         >
>>         >
>>         >
>>         >
>>         > --
>>         > _______________________________________________
>>         > meta-freescale mailing list
>>         >meta-freescale@yoctoproject.org <mailto:meta-freescale@
>> yoctoproject.org>
>>         >https://lists.yoctoproject.org/listinfo/meta-freescale
>>         >
>>         --
>>         _______________________________________________
>>         meta-freescale mailing list
>>         meta-freescale@yoctoproject.org <mailto:meta-freescale@
>> yoctoproject.org>
>>         https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>>
>>
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>

[-- Attachment #2: Type: text/html, Size: 6753 bytes --]

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

end of thread, other threads:[~2014-12-04  8:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-30 13:59 Recipe validation Riccardo Stronati
2014-11-30 18:06 ` Marco Cavallini
2014-11-30 22:51   ` Riccardo Stronati
2014-12-03 21:40     ` Riccardo Stronati
2014-12-03 22:02       ` sysroot -> roottfs? randy
2014-12-03 22:28       ` Recipe validation Gary Thomas
2014-12-04  8:08         ` Riccardo Stronati

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.