All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrey Zhizhikin" <andrey.z@gmail.com>
To: Brian Hutchinson <b.hutchman@gmail.com>
Cc: meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc.
Date: Thu, 8 Oct 2020 11:10:41 +0200	[thread overview]
Message-ID: <CAHtQpK6KEo3=fNMs8TurHDWpK7r0iPZa6UqBeVdSrCVrqfcVkg@mail.gmail.com> (raw)
In-Reply-To: <27157.1602017061306262562@lists.yoctoproject.org>

Hello Brian,

On Tue, Oct 6, 2020 at 10:44 PM Brian Hutchinson <b.hutchman@gmail.com> wrote:
>
> On Tue, Oct 6, 2020 at 01:22 PM, Andrey Zhizhikin wrote:
>
> Hello Brian,
>
> On Tue, Oct 6, 2020 at 9:51 PM Brian Hutchinson <b.hutchman@gmail.com> wrote:
>
> ... what "distro" 'should' I be using since I have a custom board that's based on imx8mm evk but I don't necessarily want/need wifi, bluetooth, video, touchscreen etc.???
>
> I suggest you go with your own distro then, as you can leverage the
> DISTRO_FEATURES in it yourself. You can either take any of 'fsl-'
> prefixed distros over 'poky' if you need some NXP proprietary
> components (e.g. VPU, GPU, etc), or take any of 'fslc-' prefixed ones
> if you want to stay with mainline. Please note - I do not say that
> 'poky' would not work here! :) It is just a reference distro from
> Yocto Project, which targets qemu on the first place, but also works
> well for real HW.
>
> This is the way we build our distro (derived from 'fsl-wayland'), and
> so far it has proven to be working quite well. I also do sanity build
> and run the 'fsl-wayland' off the master on imx8mmevk to make sure
> there are no regressions.
>
> When I did NXP released builds I would use fsl-wayland distro but if memory serves me right a core-image-minimal would not boot.  Only core-image-base images did and they were quite large.

I just did a following build:
$ MACHINE=imx8mmevk DISTRO=fsl-wayland bitbake core-image-minimal

Image produced boots fine on i.MX8M Mini EVK.

Runtime device info:
# cat /etc/os-release
ID=fsl-wayland
NAME="FSL Wayland"
VERSION="3.2-snapshot-20201008 (master)"
VERSION_ID=3.2-snapshot-20201008
PRETTY_NAME="FSL Wayland 3.2-snapshot-20201008 (master)"

# uname -a
Linux imx8mmevk 5.4.24+gbabac008e5cf #1 SMP PREEMPT Sat May 30
07:25:46 UTC 2020 aarch64 GNU/Linux

Please note: with this configuration you would get a kernel from NXP
(versioned 5.4.24). If you would like to utilize the NXP kernel with
latest stable patch level, you should switch
PREFERRED_PROVIDER_virtual/kernel_mx8mm = "linux-imx" to
PREFERRED_PROVIDER_virtual/kernel_mx8mm = "linux-imx-fslc"


>.

> I do need to create my own distro but kind of would like to start from core-image-minimal and build up rather than take something like fsl-wayland and try to figure out what I don't need.  Being new to NXP family this approach "feels" more logical.
>
> Is poky what's causing my pain?
>
> You can see what distro features you have included when you do
> 'bitbake -e' and search for DISTRO_FEATURES. If you have (and
> according to what you say - you do :) ) some pieces you do not need -
> you can always either not include them in your custom distro, or use
> DISTRO_FEATURES_remove = "<unneeded list>".
>
> I've been doing TI based builds forever and recently switched over to NXP based products so still learning the lay of the land. I finally discovered I don't think I want to be building based off NXP releases from codeaurora and that Freescale is the better base for our products but not 100% clear what distro's are available and which ones I should focus on.
>
> Those distros are located in a meta-freescale-distro layer, you can
> peek there to see what's available.
>
> I'll look.   Thanks
>
> Regards,
>
> Brian
> 
>


--
Regards,
Andrey.

  parent reply	other threads:[~2020-10-08  9:10 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06  1:24 How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc Brian Hutchinson
2020-10-06  1:34 ` Brian Hutchinson
2020-10-06  3:49   ` Brian Hutchinson
2020-10-06 11:29     ` [meta-freescale] " Otavio Salvador
2020-10-06 12:04       ` Brian Hutchinson
2020-10-06 12:08         ` [meta-freescale] " Otavio Salvador
2020-10-06 16:40           ` Brian Hutchinson
2020-10-06 16:49             ` [meta-freescale] " Otavio Salvador
2020-10-06 17:10               ` Brian Hutchinson
2020-10-06 19:42                 ` Brian Hutchinson
2020-10-06 19:50                   ` Brian Hutchinson
2020-10-06 20:22                     ` [meta-freescale] " Andrey Zhizhikin
2020-10-06 20:44                       ` Brian Hutchinson
2020-10-07  9:56                         ` [meta-freescale] " Andrey Zhizhikin
2020-10-08  9:10                         ` Andrey Zhizhikin [this message]
2020-10-08 12:00                           ` Otavio Salvador
2020-10-06 20:58                   ` Brian Hutchinson
2020-10-06 21:26                     ` Brian Hutchinson
2020-10-06 23:14                       ` [meta-freescale] " Fabio Estevam
2020-10-07  1:35                         ` Brian Hutchinson
2020-10-07  9:49                     ` [meta-freescale] " Andrey Zhizhikin
2021-07-15 23:49                       ` Brian Hutchinson
     [not found]                       ` <16921BC688703423.9621@lists.yoctoproject.org>
2021-07-23 14:12                         ` Brian Hutchinson
2020-10-06 20:28                 ` Andrey Zhizhikin
2020-10-06 20:37                   ` Brian Hutchinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHtQpK6KEo3=fNMs8TurHDWpK7r0iPZa6UqBeVdSrCVrqfcVkg@mail.gmail.com' \
    --to=andrey.z@gmail.com \
    --cc=b.hutchman@gmail.com \
    --cc=meta-freescale@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.