All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Yocto 1.6 + QT5.3.2 on i.MX6
@ 2015-06-13 19:31 Dale Tyler
  2015-06-15 10:42 ` Daiane Angolini
  0 siblings, 1 reply; 8+ messages in thread
From: Dale Tyler @ 2015-06-13 19:31 UTC (permalink / raw)
  To: meta-freescale

Hi,

Thanks for the reply.

I did not communicate well. We have our own image recipe that includes 
core-image-base.bb. It is similar to core-image-minimal in that it does 
not include X11 or Wayland nor many other packages that are in the 
larger images.

We are using dizzy primarily because the fido changes for our platform 
were only released a few days ago and we want to complete our initial 
work before moving to fido or QT5.4.2.

However, if it can be determined that this problem can only be fixed by 
going to fido and/or QT5.4.2, then we will do so. SInce there supposedly 
was a fix for this in daisy, perhaps it simply got dropped for dizzy 
somehow.

Has anyone built an image similar to what we are using and fixed this issue?

Thanks,
Dale Tyler

On Fri, 12 Jun 2015 10:10:25 -0300, Daiane Angolini wrote:

 >On Thu, Jun 11, 2015 at 10:27 PM, Dale Tyler 
<freescale11@tylerent.com> wrote:
 >> Hi,
 >>
 >> We are having problems building a customized core-image-minimal 
image with
 >> QT5.3.2.
 >
 >I suggest you to create your own image. And, instead of base it off
 >core-image-minimal, use core-image-base.
 >
 >>
 >> The error we see when creating the target rootfs is
 >> ERROR: qtquickcontrols not found in the base feeds (cgtqmx6
 >> cortexa9hf-vfp-neon-mx6qdl cortexa9hf-vfp-neon cortexa9hf-vfp
 >> armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp 
noarch
 >> any all).
 >>
 >> We cloned the GIT repo using:
 >> git clone -b dizzy https://github.com/meta-qt5/meta-qt5.git
 >>
 >> We have included the following in local.conf:
 >> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
 >> PACKAGECONFIG_append_pn-qtbase = " accessibility"
 >>
 >> On May 28, 2014, there was a post to this list that talked about a 
fix being
 >> pushed by Octavio to master and daisy, which I would assume would 
have end
 >> up in the dizzy branch.
 >>
 >> If we leave out qtquick1 and qtquickcontrols from IMAGE_INSTALL in 
our image
 >> recipe, things build fine, but we need qtquickcontrols for our 
application.
 >>
 >> Any suggestions on how to proceed would be welcome.
 >
 >Any special reason to stick to dizzy?
 >
 >>
 >> Thanks,
 >> Dale
 >>
 >>
 >>
 >>
 >>
 >>
 >> --
 >> _______________________________________________
 >> meta-freescale mailing list
 >> meta-freescale@yoctoproject.org
 >> https://lists.yoctoproject.org/listinfo/meta-freescale
 >



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

* Re: Yocto 1.6 + QT5.3.2 on i.MX6
  2015-06-13 19:31 Yocto 1.6 + QT5.3.2 on i.MX6 Dale Tyler
@ 2015-06-15 10:42 ` Daiane Angolini
  2015-06-15 12:25   ` Otavio Salvador
  0 siblings, 1 reply; 8+ messages in thread
From: Daiane Angolini @ 2015-06-15 10:42 UTC (permalink / raw)
  To: freescale11; +Cc: meta-freescale

On Sat, Jun 13, 2015 at 4:31 PM, Dale Tyler <freescale11@tylerent.com> wrote:
> Hi,
>
> Thanks for the reply.
>
> I did not communicate well. We have our own image recipe that includes
> core-image-base.bb. It is similar to core-image-minimal in that it does not
> include X11 or Wayland nor many other packages that are in the larger
> images.

If you are including or inheriting core-image-base, so it should be
OK. The problem when basing your work on core-image-minimal is that it
does not include MACHINE_RECOMMENDS, which include the firmwares.

>
> We are using dizzy primarily because the fido changes for our platform were
> only released a few days ago and we want to complete our initial work before
> moving to fido or QT5.4.2.
>
> However, if it can be determined that this problem can only be fixed by
> going to fido and/or QT5.4.2, then we will do so. SInce there supposedly was
> a fix for this in daisy, perhaps it simply got dropped for dizzy somehow.
>
> Has anyone built an image similar to what we are using and fixed this issue?

I know there are someone in the mailing list with success on using
QT5.x, I cannot remember who or which branch.
However I have never saw this:
PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
PACKAGECONFIG_append_pn-qtbase = " accessibility"


You don't exactly need to have your BSP ported to fido in order to
test the build of any imx6Q machine with fido and QT. Take, for
example, imx6qsabresd and see if you can build the image.

Daiane

>
> Thanks,
> Dale Tyler
>
>
> On Fri, 12 Jun 2015 10:10:25 -0300, Daiane Angolini wrote:
>
>>On Thu, Jun 11, 2015 at 10:27 PM, Dale Tyler <freescale11@tylerent.com>
>> wrote:
>>> Hi,
>>>
>>> We are having problems building a customized core-image-minimal image
>>> with
>>> QT5.3.2.
>>
>>I suggest you to create your own image. And, instead of base it off
>>core-image-minimal, use core-image-base.
>>
>>>
>>> The error we see when creating the target rootfs is
>>> ERROR: qtquickcontrols not found in the base feeds (cgtqmx6
>>> cortexa9hf-vfp-neon-mx6qdl cortexa9hf-vfp-neon cortexa9hf-vfp
>>> armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp
>>> noarch
>>> any all).
>>>
>>> We cloned the GIT repo using:
>>> git clone -b dizzy https://github.com/meta-qt5/meta-qt5.git
>>>
>>> We have included the following in local.conf:
>>> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
>>> PACKAGECONFIG_append_pn-qtbase = " accessibility"
>>>
>>> On May 28, 2014, there was a post to this list that talked about a fix
>>> being
>>> pushed by Octavio to master and daisy, which I would assume would have
>>> end
>>> up in the dizzy branch.
>>>
>>> If we leave out qtquick1 and qtquickcontrols from IMAGE_INSTALL in our
>>> image
>>> recipe, things build fine, but we need qtquickcontrols for our
>>> application.
>>>
>>> Any suggestions on how to proceed would be welcome.
>>
>>Any special reason to stick to dizzy?
>>
>>>
>>> Thanks,
>>> Dale
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> _______________________________________________
>>> 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


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

* Re: Yocto 1.6 + QT5.3.2 on i.MX6
  2015-06-15 10:42 ` Daiane Angolini
@ 2015-06-15 12:25   ` Otavio Salvador
  2015-06-17 16:44     ` Dale Tyler
  0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2015-06-15 12:25 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale, freescale11

On Mon, Jun 15, 2015 at 7:42 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Sat, Jun 13, 2015 at 4:31 PM, Dale Tyler <freescale11@tylerent.com> wrote:
>> Has anyone built an image similar to what we are using and fixed this issue?
>
> I know there are someone in the mailing list with success on using
> QT5.x, I cannot remember who or which branch.
> However I have never saw this:
> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
> PACKAGECONFIG_append_pn-qtbase = " accessibility"


We support several customers, at O.S. Systems, using Qt. We have been
using it in Dizzy and Fido for different customers.

We use:

PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility"

Because of [1].

1. https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L50

And to include the QtQuickControls you should add
qtquickcontrols-qmlplugins as RDEPENDS on your application.

It should work as expected.

-- 
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 1.6 + QT5.3.2 on i.MX6
  2015-06-15 12:25   ` Otavio Salvador
@ 2015-06-17 16:44     ` Dale Tyler
  2015-06-17 16:58       ` Otavio Salvador
  0 siblings, 1 reply; 8+ messages in thread
From: Dale Tyler @ 2015-06-17 16:44 UTC (permalink / raw)
  To: Daiane Angolini, Otavio Salvador; +Cc: meta-freescale, freescale11

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

Hi Octavio,

Thank you for the reply.

I added PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" to local.conf, removed the two PACKAGECONFIG_append lines from that 
file as well.

I then added RDEPENDS_${PN} = "qtquickcontrols-qmlplugins" to my bit-linux-image.bb file that has: include recipes-
core/images/core-image-base.bb

I removed qtquick1, qtquickcontrols and qtquickcontrols-qmlplusins from my IMAGE_INSTALL variable set in bit-linux-image.bb.

The build error has gone away, but the qtquickcontrols files are not in the rootfs image, either.

Do you have any other suggestions that I might try?

This is what I am using to build my image. 

Thanks,
Dale

cat ../sources/meta-bit-linux/recipes-bit-linux/images/bit-linux-image.bb 
include recipes-core/images/core-image-base.bb

WEB = "web-webkit"

SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"

# Add extra image features
EXTRA_IMAGE_FEATURES += " \
    ${SOC_EXTRA_IMAGE_FEATURES} \
    debug-tweaks \
    tools-debug \
    tools-profile \
    tools-testapps \
    hwcodecs \
    "

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
    ${SOC_IMAGE_INSTALL} \
    cpufrequtils \
    nano \
	"

IMAGE_INSTALL += " \
    gcc \
    g++ \
    binutils \
    libgcc \
    libgcc-dev \
    libstdc++ \
    libstdc++-dev \
    libstdc++-staticdev \
        "

IMAGE_INSTALL += " \
    alsa-lib \
    alsa-utils \
    cups \
    memtester \
    mtd-utils \
    ethtool \
    devmem2 \
    acpid \
    procps \
    zlib \
    iproute2 \
    sqlite3 \
    dropbear \
	"

IMAGE_INSTALL += " \
    tslib-conf \
    tslib-tests \
    tslib-calibrate \
    alsa-lib \
    alsa-tools \
    alsa-state \
    alsa-utils-alsaconf \
    dbus \
        "

IMAGE_INSTALL += " \
    i2c-tools \
    canutils \
    libsocketcan \
        "

IMAGE_INSTALL += " \
    python-imaging \
    python-json \
    python-simplejson \
    python-numpy \
    python-ctypes \
    python-distutils \
    python-multiprocessing \
    python-pyserial \
    python-smbus \ 
    python-twisted \ 
    python-twisted-core \
    python-autobahn \
    python-threading \
    python-misc \
    python-importlib \
	"

IMAGE_INSTALL += " \
    gpu-viv-bin-mx6q \
    gstreamer \
    cairo \
    pango \
    fontconfig \
    freetype \
        "
IMAGE_INSTALL += " \
    release-stats \
        "

IMAGE_INSTALL += " \
    qtbase-fonts \
    qtbase-plugins \
    qtbase-tools \
    qtbase-examples \
    qtdeclarative \
    qtdeclarative-plugins \
    qtdeclarative-tools \
    qtdeclarative-examples \
    qtdeclarative-qmlplugins \
    qtmultimedia \
    qtmultimedia-plugins \
    qtmultimedia-examples \
    qtmultimedia-qmlplugins \
    qtsvg \
    qtsvg-plugins \
    qtsensors \
    qtimageformats-plugins \
    qtsystems \
    qtsystems-tools \
    qtsystems-examples \
    qtsystems-qmlplugins \
    qtscript \
    qt3d \
    qt3d-examples \
    qt3d-qmlplugins \
    qt3d-tools \
    qtwebkit \
    qtwebkit-examples-examples \
    qtwebkit-qmlplugins \
    qtgraphicaleffects-qmlplugins \
    qtconnectivity-qmlplugins \
    qtlocation-plugins \
    qtlocation-qmlplugins \
        "

# these qt packages are segregated becuase of a yocto build issue that causes the
# do_rootfs step to fail
# as a workaround, perform the build with these packages enable, then change to
# XXIMAGE_INSTALL and rerun the build. The three packages have to manually copied
# to the SD card
XXIMAGE_INSTALL += " \
    qtquick1 \
    qtquickcontrols \
    qtquickcontrols-qmlplugins \
        "

RDEPENDS_${PN} = "qtquickcontrols-qmlplugins"

export IMAGE_BASENAME = "bit-linux-image"

local.conf additions:
DISTRO_FEATURES_remove = " x11 wayland nfs bluetooth ppp wifi ptest 3g zeroconf "
DISTRO_FEATURES_append = " opengl pulseaudio alsa "
UBOOT_CONFIG = "pn016100"
PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility"



On Mon, 15 Jun 2015 09:25:58 -0300, Otavio Salvador wrote:

>On Mon, Jun 15, 2015 at 7:42 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Sat, Jun 13, 2015 at 4:31 PM, Dale Tyler <freescale11@tylerent.com> wrote:
>>> Has anyone built an image similar to what we are using and fixed this issue?
>>
>> I know there are someone in the mailing list with success on using
>> QT5.x, I cannot remember who or which branch.
>> However I have never saw this:
>> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
>> PACKAGECONFIG_append_pn-qtbase = " accessibility"


>We support several customers, at O.S. Systems, using Qt. We have been
>using it in Dizzy and Fido for different customers.

>We use:

>PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility"

>Because of [1].

>1. https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L50

>And to include the QtQuickControls you should add
>qtquickcontrols-qmlplugins as RDEPENDS on your application.

>It should work as expected.

>-- 
>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




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

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

* Re: Yocto 1.6 + QT5.3.2 on i.MX6
  2015-06-17 16:44     ` Dale Tyler
@ 2015-06-17 16:58       ` Otavio Salvador
  2015-08-18 17:55         ` Caio
  0 siblings, 1 reply; 8+ messages in thread
From: Otavio Salvador @ 2015-06-17 16:58 UTC (permalink / raw)
  To: Dale Tyler; +Cc: meta-freescale, freescale11

On Wed, Jun 17, 2015 at 1:44 PM, Dale Tyler <colos2a@tylerent.com> wrote:
> I added PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" to local.conf,
> removed the two PACKAGECONFIG_append lines from that file as well.
>
> I then added RDEPENDS_${PN}= "qtquickcontrols-qmlplugins" to my
> bit-linux-image.bb file that has: include
> recipes-core/images/core-image-base.bb

You seem to be using the Freescale release; I don't follow it closely
and they do some nasty hacks. I use meta-qt5 on top of FSL Community
BSP or O.S. Systems Embedded Linux so I cannot provide much feedback
regarding Freescale release.

-- 
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 1.6 + QT5.3.2 on i.MX6
  2015-06-17 16:58       ` Otavio Salvador
@ 2015-08-18 17:55         ` Caio
  0 siblings, 0 replies; 8+ messages in thread
From: Caio @ 2015-08-18 17:55 UTC (permalink / raw)
  Cc: Dale Tyler, meta-freescale

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

Hello,

I'm having the same problem as Dale Tyle.

I'm trying to compile the bit-linux-image.bb to test if this image could
add qtquickcontrols and I'm having this error message:
I change the include recipes-core/images/core-image-base.bb to inherit
core-image-base

ERROR:
error: unpacking of archive failed on file /var/log: cpio: rename failed -
Resource temporarily unavailable


NOTE: Installing the following packages:
NOTE: Installing complementary packages ...

ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in:
/home/icchw/fsl-community-bsp/sisc_toradex_dizzy/tmp/work/colibri_imx6-poky-linux-gnueabi/bit-linux-image/v1.0-r0/temp/log.do_rootfs.6397
ERROR: Task 6
(/home/icchw/fsl-community-bsp/sources/meta-jfl/recipes-images/images/
bit-linux-image.bb, do_rootfs) failed with exit code '1'

Someone knows about this problem?

Regards,

Caio Pereira

2015-06-17 13:58 GMT-03:00 Otavio Salvador <otavio@ossystems.com.br>:

> On Wed, Jun 17, 2015 at 1:44 PM, Dale Tyler <colos2a@tylerent.com> wrote:
> > I added PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" to local.conf,
> > removed the two PACKAGECONFIG_append lines from that file as well.
> >
> > I then added RDEPENDS_${PN}= "qtquickcontrols-qmlplugins" to my
> > bit-linux-image.bb file that has: include
> > recipes-core/images/core-image-base.bb
>
> You seem to be using the Freescale release; I don't follow it closely
> and they do some nasty hacks. I use meta-qt5 on top of FSL Community
> BSP or O.S. Systems Embedded Linux so I cannot provide much feedback
> regarding Freescale release.
>
> --
> 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
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>



-- 
----------------------------------------------
Caio Pereira

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

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

* Re: Yocto 1.6 + QT5.3.2 on i.MX6
  2015-06-12  1:27 Dale Tyler
@ 2015-06-12 13:10 ` Daiane Angolini
  0 siblings, 0 replies; 8+ messages in thread
From: Daiane Angolini @ 2015-06-12 13:10 UTC (permalink / raw)
  To: freescale11; +Cc: meta-freescale

On Thu, Jun 11, 2015 at 10:27 PM, Dale Tyler <freescale11@tylerent.com> wrote:
> Hi,
>
> We are having problems building a customized core-image-minimal image with
> QT5.3.2.

I suggest you to create your own image. And, instead of base it off
core-image-minimal, use core-image-base.

>
> The error we see when creating the target rootfs is
> ERROR: qtquickcontrols not found in the base feeds (cgtqmx6
> cortexa9hf-vfp-neon-mx6qdl cortexa9hf-vfp-neon cortexa9hf-vfp
> armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch
> any all).
>
> We cloned the GIT repo using:
> git clone -b dizzy https://github.com/meta-qt5/meta-qt5.git
>
> We have included the following in local.conf:
> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
> PACKAGECONFIG_append_pn-qtbase = " accessibility"
>
> On May 28, 2014, there was a post to this list that talked about a fix being
> pushed by Octavio to master and daisy, which I would assume would have end
> up in the dizzy branch.
>
> If we leave out qtquick1 and qtquickcontrols from IMAGE_INSTALL in our image
> recipe, things build fine, but we need qtquickcontrols for our application.
>
> Any suggestions on how to proceed would be welcome.

Any special reason to stick to dizzy?

>
> Thanks,
> Dale
>
>
>
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


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

* Yocto 1.6 + QT5.3.2 on i.MX6
@ 2015-06-12  1:27 Dale Tyler
  2015-06-12 13:10 ` Daiane Angolini
  0 siblings, 1 reply; 8+ messages in thread
From: Dale Tyler @ 2015-06-12  1:27 UTC (permalink / raw)
  To: meta-freescale

Hi,

We are having problems building a customized core-image-minimal image 
with QT5.3.2.

The error we see when creating the target rootfs is
ERROR: qtquickcontrols not found in the base feeds (cgtqmx6 
cortexa9hf-vfp-neon-mx6qdl cortexa9hf-vfp-neon cortexa9hf-vfp 
armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp 
noarch any all).

We cloned the GIT repo using:
git clone -b dizzy https://github.com/meta-qt5/meta-qt5.git

We have included the following in local.conf:
PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
PACKAGECONFIG_append_pn-qtbase = " accessibility"

On May 28, 2014, there was a post to this list that talked about a fix 
being pushed by Octavio to master and daisy, which I would assume would 
have end up in the dizzy branch.

If we leave out qtquick1 and qtquickcontrols from IMAGE_INSTALL in our 
image recipe, things build fine, but we need qtquickcontrols for our 
application.

Any suggestions on how to proceed would be welcome.

Thanks,
Dale








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

end of thread, other threads:[~2015-08-18 17:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13 19:31 Yocto 1.6 + QT5.3.2 on i.MX6 Dale Tyler
2015-06-15 10:42 ` Daiane Angolini
2015-06-15 12:25   ` Otavio Salvador
2015-06-17 16:44     ` Dale Tyler
2015-06-17 16:58       ` Otavio Salvador
2015-08-18 17:55         ` Caio
  -- strict thread matches above, loose matches on Subject: below --
2015-06-12  1:27 Dale Tyler
2015-06-12 13:10 ` Daiane Angolini

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.