From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web12.9270.1614245390417894404 for ; Thu, 25 Feb 2021 01:29:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IW8HtXT3; spf=pass (domain: gmail.com, ip: 209.85.167.45, mailfrom: andrey.z@gmail.com) Received: by mail-lf1-f45.google.com with SMTP id m22so7558193lfg.5 for ; Thu, 25 Feb 2021 01:29:49 -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:content-transfer-encoding; bh=MvuVGoia06KRLKF/K2WC9uqvip+I35giOeq9HpGJw6Q=; b=IW8HtXT3liMZghuVOVu+1O3UCCppIZJBeW1tFKpJpU1r/KOSTke8gzZyv1QkhiwC+c TfpOcGOCn9U/93yxJyQ83p7TTk52M/N95/DI5gDFO8KeMFAoE7E+OkgkiH4vmJGh4hKA wQD4GzOhQ/JjMJoqfwtkLM0MbggJUwMRxg1R7UbXiR49vgDl3p93hOzrXuEbf+1d9bqg LtJak+sKymEEmCbIL4UWTejjLCjqskGG78Q/1ntuwPxF4XNqD7JD8RATVdLwkipXB29c Ca8GrR6k95r3VYVeIkMYWuK9MRQCoaG3MMmGi7gjpUMXGQiGZZMoxJeZ/YhiChe3teiu 3PNQ== 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:content-transfer-encoding; bh=MvuVGoia06KRLKF/K2WC9uqvip+I35giOeq9HpGJw6Q=; b=FyFisUQVX3meQsV1NiqRZQ+79y5pznaUIDTJMnTgwQToibEQY7rIQEHEbPNopVMBlJ HjRtPOjKFTml52Via4DGzc6ue4ogjUU0ys1VvAauyZj/0zkc8G5ELmAYXeT9NsaWAkEI quuYTAbCg1c+5IyuniPTKlg5SIjFBFxqoDF2pOK7/4EiekNMG92WlAe8doXGTm0gFE44 3pxzLCJnFs2PUDlOEQGBj5kn5kVkyui9pvY8GqM7esYTdBFuswjJw0WQ+6pP2zYHusAY YwFmcbrU4LaNLFsApgHxagXVqqHfW3/LkcuSp5pxg2BHF03kvMV8EKNWgoVaYjDcRAgO FlVg== X-Gm-Message-State: AOAM530jT+inTgAi6dsDO1OrCerMmiML0AgpMbPqJVVZqWtPqONESMEJ BRZ9IBHez3taZoJD36X5qPWUoRxwGGlVUuQzcZc= X-Google-Smtp-Source: ABdhPJxqM47t1Mogls37u+qB4bHfLrT9HXOxyc1Iy7o57Qn8FViuFoh/dKs2iQx6Er9qUDWsKbiYEqy+Wzgw9xKdXfY= X-Received: by 2002:ac2:58c4:: with SMTP id u4mr1534856lfo.138.1614245388142; Thu, 25 Feb 2021 01:29:48 -0800 (PST) MIME-Version: 1.0 References: <12bb83d9-625a-f967-ed15-9602fc4cd46b@faresoftware.it> <910eca81-bcb4-c4b2-d591-9a853026f184@beam.ltd.uk> In-Reply-To: <910eca81-bcb4-c4b2-d591-9a853026f184@beam.ltd.uk> From: "Andrey Zhizhikin" Date: Thu, 25 Feb 2021 10:29:36 +0100 Message-ID: Subject: Re: [meta-freescale] imx6dl dunfell and kernel: linux-fslc or linux-fslc-imx? To: Terry Barnaby Cc: meta-freescale@lists.yoctoproject.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Terry, On Thu, Feb 25, 2021 at 10:01 AM Terry Barnaby wrote: > > > For a novice to NXP Freescale builds, what setup would you recommend as a= basic test Yocto build for a Wandboard IMX6 dual lite system in order to t= est the performance of the hardware video processing system using gstreamer= *imx (VPU etc) ? Since I do not have any of the i.MX6 HW and unaware of the state of VPU support - I can only speak from distro perspective. Anyone who posses the HW can clarify points from machine perspective here. > > Would fslc-x11 or fslc-xwayland distro with the linux-fslc-imx kernel be = the best approach or would some fsl-* distro with the linux-imx kernel be t= he best approach ? The first recommendation from my side would be: choose the distro flavor. There are 2 types of distro in the layer: Community and NXP-based. 1. All distros with `fsl-` prefix are generally NXP-based, and include packages that NXP supplies as a part of their distribution. When it comes to kernel and U-Boot support - `linux-imx` and `u-boot-imx` packages are set as providers of `virtual/kernel` and `virtual/bootloader` respectively. This automatically means that if you take any of those distros prefixed with `fsl-` - you would be building NXP-based distribution. In addition, all packages that are marked as compatible with this BSP flavor would be included, in your case that would include the `gstreamer*imx` package. NOTE: you can switch the kernel provider to `linux-fslc-imx` for this BSP flavor, which would include the kernel type I described already in this thread (NXP release 2.1.0 + latest LTS patch level applied). `linux-fslc` cannot be set with this type of distro. 2. All distros with `fslc-` prefix are Community-based distros, which aims to include the upstream OSS packages and avoid using packages which has "Proprietary" license types in them. Kernel provider is set to `linux-fslc`, U-Boot provider is set to `u-boot-fslc`. As for the `gstreamer*imx` - I do not know if the compatibility set in the recipe would allow it to be included in this type of distro. NOTE: in this type of distro - only `linux-fslc` can be used as kernel prov= ider. > > The standard Wandboard build uses linux-fslc which does not seem to suppo= rt the imx hardware features and so I am trying to build a suitable test pl= atform but having no luck trying various build combinations that either won= t build or wont run properly in various ways, so any pointers would be grat= efully received ! This means that Wandboard sets IMX_DEFAULT_BSP =3D "mainline" somewhere in its machine configuration, which targets the Community-based distribution. You can try to find where it is set and change it to IMX_DEFAULT_BSP =3D "nxp" to target NXP-based distro, and then use any of `fsl-` prefixed configuration files on your DISTRO variable. What you will get with this setup is then NXP-based distribution, but since as I said above I do not have any i.MX6 HW - I cannot guarantee that this setup would be 100% operable. Also in this case you would opt-in to use NXP distribution, so you should watch for licensing terms. > > Terry > > -- Regards, Andrey.