[meta-freescale] Status of i.MX8 support

Teemu K maillinglists18 at gmail.com
Wed Jan 9 00:29:18 PST 2019


On Tue, Jan 8, 2019 at 9:04 AM Teemu K <maillinglists18 at 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 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-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-poky-linux/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 = self._target(*self._args, **self._kwargs)
>   File "/home/teemu/proj/imx8dev/src/platform/common/../../poky/../poky/meta/classes/package_deb.bbclass",
> line 274, in deb_write_pkg
>     shell=True)
>   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=stdout, stderr=stderr)
> --
>
> 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-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


More information about the meta-freescale mailing list