From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) by mx.groups.io with SMTP id smtpd.web12.7954.1602148253531825983 for ; Thu, 08 Oct 2020 02:10:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mQ04Opi4; spf=pass (domain: gmail.com, ip: 209.85.222.44, mailfrom: andrey.z@gmail.com) Received: by mail-ua1-f44.google.com with SMTP id w12so1651781uao.12 for ; Thu, 08 Oct 2020 02:10:53 -0700 (PDT) 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=iULqF6/itQgHIU5rbY3enaEBem2IQE2muC/FXTwZvu0=; b=mQ04Opi46fNgbf9DDLxldrGz3mjy07H/W0Mo8ol2n52/vw34Pc09STI8eAgIJpSzEh P/jeEpVDP13iknZj7xX66qRl08UCpWIUutP36aMUTVNmHKXAi0PWimLhqkz5VNSIR3Ff K1xDmhhaMZrtPO1jzVI7GMCs1IqqpAyIzSmT69Ia4Qh4g3/bnGKbuTgnxT/zHjhVcrnv dTDXw2YjeeIgweZA2jxzaw3Wu/fYPVTTJPF6lMa0eixZCWqbwMcXJ+J0Vv5eGw98hyfe 2e0rRK9DVke+JO9/SKMGV+ntsVIfITutYldEIEgpIAQ0vH2JWvFMfKK4uzztNTPSGXca 9b2A== 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=iULqF6/itQgHIU5rbY3enaEBem2IQE2muC/FXTwZvu0=; b=ihymUMqgE5RHsiUZWtfI64XyOoi5ijRB3ELNKvI+gpkBzKgQhiL0FH1d4sl9kZirKJ YopoRkzaWK/mbUd53mEb+kqadLELdcFxISIlIcKXy764+/AY4BfS4ldg3IG3n0EQYOqw wMwIqtpldJLL2+rdRfDR9h1EKmrxEzPi5ekzW3PiwSTI8+LnIRzyreTIbYF/NZ2VpZ1w uppbrA1sCzfBaOvQMWAtWSOOz92czDafbYAznLs5tHoy2Mo+XeSoKyjWAHzBO9rloE5V NuaZJMHhtp3prNP9WYAvDd5CQwP91jk1m2xqSlLh/uk7MUWRfc6p9IGCDqiV2fmBDThZ mYug== X-Gm-Message-State: AOAM532lkorzhVLePnYhuBjw3eIPYfEfkq0A8ymT1LyjGEBDVss+sAfF 59bqV6tUSHl4avQSC641P2jiZM57oaAJIwB+pmE= X-Google-Smtp-Source: ABdhPJyRjxWM4EN0sTyT/IV4svs8sY31KQrvB4Esa0cQkw4dfTqaDQHhCfTiaJSznTtBAq2aT5y5xc++yadW8fHjsno= X-Received: by 2002:a9f:301e:: with SMTP id h30mr3778741uab.114.1602148252542; Thu, 08 Oct 2020 02:10:52 -0700 (PDT) MIME-Version: 1.0 References: <27157.1602017061306262562@lists.yoctoproject.org> In-Reply-To: <27157.1602017061306262562@lists.yoctoproject.org> From: "Andrey Zhizhikin" Date: Thu, 8 Oct 2020 11:10:41 +0200 Message-ID: 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. To: Brian Hutchinson Cc: meta-freescale@lists.yoctoproject.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Brian, On Tue, Oct 6, 2020 at 10:44 PM Brian Hutchinson wr= ote: > > 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 w= rote: > > ... 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, vid= eo, 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 mem= ory serves me right a core-image-minimal would not boot. Only core-image-b= ase images did and they were quite large. I just did a following build: $ MACHINE=3Dimx8mmevk DISTRO=3Dfsl-wayland bitbake core-image-minimal Image produced boots fine on i.MX8M Mini EVK. Runtime device info: # cat /etc/os-release ID=3Dfsl-wayland NAME=3D"FSL Wayland" VERSION=3D"3.2-snapshot-20201008 (master)" VERSION_ID=3D3.2-snapshot-20201008 PRETTY_NAME=3D"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 =3D "linux-imx" to PREFERRED_PROVIDER_virtual/kernel_mx8mm =3D "linux-imx-fslc" >. > I do need to create my own distro but kind of would like to start from c= ore-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 appr= oach "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 =3D "". > > I've been doing TI based builds forever and recently switched over to NX= P based products so still learning the lay of the land. I finally discovere= d I don't think I want to be building based off NXP releases from codeauror= a 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 >=20 > -- Regards, Andrey.