From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 12B95E00C93; Wed, 9 Jan 2019 01:44:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (vincent.prince.fr[at]gmail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.166.169 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid Received: from mail-it1-f169.google.com (mail-it1-f169.google.com [209.85.166.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 80708E008CE for ; Wed, 9 Jan 2019 01:44:44 -0800 (PST) Received: by mail-it1-f169.google.com with SMTP id g85so10756679ita.3 for ; Wed, 09 Jan 2019 01:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tcFdCW/ed0bLjUcAoPwSPw79E6/O+Zz7cmPy7akI//Y=; b=SDwqcMCy835gKe8/hhB3UVvtmmG8WTzuEsdlR8ZmmoDfpMyAUn3cJGz1qTL0NgObqq ImqlmQViY1x7olQLNMRtrIEdonT7v4Dma6W9oyG0JYkGFW6ae8zQE2xYrixjclxPdHzY r9/JR839tLPm3yy5EPZHjrUNKlQFqEePn+oAfCv8BG0jYMLYmqipcltH6v1JUhxbGHHD xftoJ9cO7iijnHnoIbngfRwSxN4hBarQKhCi4/9/GWb7Ot8JuJS0oUZuhllv3SRqyHRO BWcoME0HsywfF5vxVtGl5NoNs8IIOV8gNstWSzNHDvOt0/QChZnYjAI7jd5rLS5eOmPi +oGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tcFdCW/ed0bLjUcAoPwSPw79E6/O+Zz7cmPy7akI//Y=; b=W+xPauh6vP2Mt5FU+BdiPpfMuB6MtMXsFI66GH7uiX+gLEQ9kuW7iH5vwoV13UaOPc 7lXOZTaAGLVKn/DMbrBm/tmpyR6HO3M7JrLrCsBaeOPAnb4H+5sK9D05CzPnnKYxwRfM Y/yaSecFY+uhpjaC4uM2MWtLUSDhgdwhxR6/X9A5Y6nHMaz3B7C9L2TZix2FFO5yYv+r NlnaJly7KuqcjqlsFwNvvK9xiQZGRsvrZsSUgsotXmlm/jgIyl7tgaoqiSjlSirguE6y lakhcbQntHmrop+sJmfTEyCLChLBtqZwMA8sO53iLvSC87OiNGZQiODL24OSiGtx+hyc fOyA== X-Gm-Message-State: AJcUukdZZvmmkfz3dP9dGuucJLaq+F86eM28M2xsbEGnA/vUbvsRVVf8 Q+KzOwbmWlzynRz+P1GL1wP1zTwlUQHtPDmK1is= X-Google-Smtp-Source: ALg8bN7RMZt7b6oW0qvrVsLBw6E+2fMxEaZNLYeLXCRBpfxEFn5n89nzdseX1y0dg7OR/oxmdF9HfsplZlghrWiMJUE= X-Received: by 2002:a24:37ca:: with SMTP id r193mr3119873itr.168.1547027083829; Wed, 09 Jan 2019 01:44:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Vincent Prince Date: Wed, 9 Jan 2019 10:44:31 +0100 Message-ID: To: Teemu K Cc: meta-freescale Subject: Re: Status of i.MX8 support X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 09:44:45 -0000 Content-Type: multipart/alternative; boundary="000000000000ca259d057f034f7d" --000000000000ca259d057f034f7d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Did you try to compile with rpm support instead? Also, it seems that default kernel for imx8 is linux-fslc-imx and not linux-imx: IMX_DEFAULT_KERNEL_mx8 =3D "linux-fslc-imx" Regards, Vincent Le mer. 9 janv. 2019 =C3=A0 09:30, Teemu K a = =C3=A9crit : > On Tue, Jan 8, 2019 at 9:04 AM Teemu K wrote: > > > > Hi, > > > > What is the state of the meta-freescale i.MX8 support? I'm trying to > > compile image for NXP i.MX8 development board (MCIMX8QXP - CPU). > > > > I'm using thud - branch of everything, but while compiling and using > > kernel linux-imx_4.9.123 (that's the only one with i.MX8 support as > > far as I can tell based on recipes) the kernel fails to build > > properly. I think it's more of the kernel modules that create some > > bitbake related errors. > > > > -- > > ERROR: linux-imx-4.9.123-r0 do_package_write_deb: Fatal errors > > occurred in subprocesses: > > dpkg-deb -b > /home/teemu/proj/imx8dev/src/platform/hv/build/tmp/work/imx8qxpmek-poky-l= inux/linux-imx/4.9.123-r0/packages-split/kernel-module-snd-usb-audio-4.9.12= 3-imx_4.9.123_imx8mm_ga+g6a71cbc > > > /home/teemu/proj/imx8dev/src/platform/hv/build/tmp/work/imx8qxpmek-poky-l= inux/linux-imx/4.9.123-r0/deploy-debs/imx8qxpmek' > > returned non-zero exit status 2: Traceback (most recent call last): > > File > "/home/teemu/proj/imx8dev/src/platform/common/../../poky/../poky/meta/lib= /oe/utils.py", > > line 272, in run > > ret =3D self._target(*self._args, **self._kwargs) > > File > "/home/teemu/proj/imx8dev/src/platform/common/../../poky/../poky/meta/cla= sses/package_deb.bbclass", > > line 274, in deb_write_pkg > > shell=3DTrue) > > File "/usr/lib/python3.5/subprocess.py", line 626, in check_output > > **kwargs).stdout > > File "/usr/lib/python3.5/subprocess.py", line 708, in run > > output=3Dstdout, stderr=3Dstderr) > > -- > > > > I cut that some and there are more of similar errors coming. If I > > remove those modules from kernel I'll get error on some other module. > > > > Just wondering if that should work? I know it's quite new and may have > > some problems so if it's known not to work then I guess I'll do > > something else. > > > > -TeemuK > > I did some digging and it seems that the dpkg-deb - command, fails to > this error when run manually: > > dpkg-deb: error: failed to open package info file > > '/home/teemu/proj/imx8dev/src/platform/hv/build/tmp/work/imx8qxpmek-poky-= linux/linux-imx/4.9.123-r0/packages-split/kernel-module-snd-hwdep-4.9.123-i= mx_4.9.123_imx8mm_ga+g6a71cbc/DEBIAN/control' > for reading: No such file or directory > > How has anyone else managed to build Yocto image for i.MX8? Or has > anyone done that? > > -Teemu > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > --000000000000ca259d057f034f7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Did you try to comp= ile with rpm support instead?
Also, it seems that default kernel = for imx8 is linux-fslc-imx and not linux-imx:
IMX_DEFAULT_KERNEL_mx8 =3D "linux-fslc-imx"

Regards,
Vincent

Le=C2=A0mer. 9 janv. 2019 =C3=A0=C2=A009:30, Teem= u K <maillinglists18@gmail.= com> a =C3=A9crit=C2=A0:
On Tue, Jan 8, 2019 at 9:04 AM Teemu K <maillinglists18@gmail.com> wrote:
>
> Hi,
>
> What is the state of the meta-freescale i.MX8 support? I'm trying = to
> compile image for NXP i.MX8 development board (MCIMX8QXP - CPU).
>
> I'm using thud - branch of everything, but while compiling and usi= ng
> kernel linux-imx_4.9.123 (that's the only one with i.MX8 support a= s
> far as I can tell based on recipes) the kernel fails to build
> properly. I think it's more of the kernel modules that create some=
> bitbake related errors.
>
> --
> ERROR: linux-imx-4.9.123-r0 do_package_write_deb: Fatal errors
> occurred in subprocesses:
>=C2=A0 dpkg-deb -b /home/teemu/proj/imx8dev/src/platform/hv/build/tmp/w= ork/imx8qxpmek-poky-linux/linux-imx/4.9.123-r0/packages-split/kernel-module= -snd-usb-audio-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc
> /home/teemu/proj/imx8dev/src/platform/hv/build/tmp/work/imx8qxpmek-pok= y-linux/linux-imx/4.9.123-r0/deploy-debs/imx8qxpmek'
> returned non-zero exit status 2: Traceback (most recent call last): >=C2=A0 =C2=A0File "/home/teemu/proj/imx8dev/src/platform/common/..= /../poky/../poky/meta/lib/oe/utils.py",
> line 272, in run
>=C2=A0 =C2=A0 =C2=A0ret =3D self._target(*self._args, **self._kwargs) >=C2=A0 =C2=A0File "/home/teemu/proj/imx8dev/src/platform/common/..= /../poky/../poky/meta/classes/package_deb.bbclass",
> line 274, in deb_write_pkg
>=C2=A0 =C2=A0 =C2=A0shell=3DTrue)
>=C2=A0 =C2=A0File "/usr/lib/python3.5/subprocess.py", line 62= 6, in check_output
>=C2=A0 =C2=A0 =C2=A0**kwargs).stdout
>=C2=A0 =C2=A0File "/usr/lib/python3.5/subprocess.py", line 70= 8, in run
>=C2=A0 =C2=A0 =C2=A0output=3Dstdout, stderr=3Dstderr)
> --
>
> I cut that some and there are more of similar errors coming. If I
> remove those modules from kernel I'll get error on some other modu= le.
>
> Just wondering if that should work? I know it's quite new and may = have
> some problems so if it's known not to work then I guess I'll d= o
> something else.
>
> -TeemuK

I did some digging and it seems that the dpkg-deb - command, fails to
this error when run manually:

dpkg-deb: error: failed to open package info file
'/home/teemu/proj/imx8dev/src/platform/hv/build/tmp/work/imx8qxpmek-pok= y-linux/linux-imx/4.9.123-r0/packages-split/kernel-module-snd-hwdep-4.9.123= -imx_4.9.123_imx8mm_ga+g6a71cbc/DEBIAN/control'
for reading: No such file or directory

How has anyone else managed to build Yocto image for i.MX8? Or has
anyone done that?

-Teemu
--
_______________________________________________
meta-freescale mailing list
meta-f= reescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-f= reescale
--000000000000ca259d057f034f7d--