[meta-freescale] Status of i.MX8 support

Teemu K maillinglists18 at gmail.com
Wed Jan 9 20:25:10 PST 2019


Hi,

Interesting since linux-fslc-imx doesn't list mx8 as
'compatible_machine', but linux-imx does.

When setting preferred provider for virtual/kernel to linux-fslc-imx I
got this error:
"ERROR: Nothing PROVIDES 'virtual/kernel'
linux-imx PROVIDES virtual/kernel but was skipped:
PREFERRED_PROVIDER_virtual/kernel set to linux-fslc-imx, not
linux-imx"

So something is wrong/missing there.

But I was able to compile image for i.MX8 once I started using rpm
instead deb. Next thing is that do I get the board booting from that
image.

-Teemu

On Wed, Jan 9, 2019 at 11:44 AM Vincent Prince
<vincent.prince.fr at gmail.com> wrote:
>
> 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 = "linux-fslc-imx"
>
> Regards,
> Vincent
>
> Le mer. 9 janv. 2019 à 09:30, Teemu K <maillinglists18 at gmail.com> a écrit :
>>
>> 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
>> --
>> _______________________________________________
>> meta-freescale mailing list
>> meta-freescale at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list