From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web11.1371.1614800895962487259 for ; Wed, 03 Mar 2021 11:48:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G+d30OXP; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: b.hutchman@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id t9so4829243pjl.5 for ; Wed, 03 Mar 2021 11:48:15 -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; bh=WY1oq+lQ3tWz3/L+kvmLrtSLLM7YsSBWqNwzvWHvcdE=; b=G+d30OXPFnTk4dmYsYK9yhlu97PNNufTxPC9p53ONvCrQxKpF5VgwVYGpwxZ0835yu FxRFqQa0W1zHbQZq7bhrP6xXe0gFAMYAGt2SN8g1m74Auz0kL2qk/97aciEc8ReE9ft6 +oAaX3YVlVlKulLzAxRIrqX7WSriZTiFp1oPFwDQnstQnPslgyMfrOx066eCJwHjmaRw QhHbQ2HSxYdaNt9q1kF6WO4aPvn8l4bRR9hb44wgra9gLxO2RGCqap0AN21kcrFs79+L NhTsFormZMNXiVs1v06FC+WwYZDT4HRpvtMgBieZM5QegrETXLJyIYFngX7R/CeiWDaO tuIw== 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; bh=WY1oq+lQ3tWz3/L+kvmLrtSLLM7YsSBWqNwzvWHvcdE=; b=NPPdvH8SetL0ev9yuPK+kQoontCmH/RunZv6RXBIovAIJKbwcALNp51mTI7bL6uNcg jFwJvaMx5qauJ8Ep9I1xSjKl0l1d3rqb0gU/ea9bVEjzp5NLQL1srSrcpLq+vkW6ZbQi ZMdzaVIYMECC/pdDZwEcVa7573pPOcNoN6ctoFK1ZrDMPD3bumsfPqx72HLVmfLUKxDj lC3vA36fJ1w5nK5HVWKLJLR2Cuh976p/i0QokKmzRwfNFhS9KhNerZ+uKxu/UeMIhAec uahn7W3x8+1MoCSvJwa8X5cDEUTg3zlaOZOuLIXXR489S7YCypaALZ5mk8h+NRpwFixD RxWg== X-Gm-Message-State: AOAM530q2wOBmIY7Z6c3ukylh6HXcblhyBneZcgSBGix4iN/Ly4xzJGf z6X2aFLGHVhzmgPR2+odwVMNDFE9dU2p9bxu+L8= X-Google-Smtp-Source: ABdhPJxlzPqFY218JMQ2TpY7z1kR5pAZn0hYLoItp47bUnKl9QIxeTG2bKB6KBzEyKncU65xYgX9LdS6916KVEeK7TM= X-Received: by 2002:a17:90a:8405:: with SMTP id j5mr697493pjn.152.1614800895413; Wed, 03 Mar 2021 11:48:15 -0800 (PST) MIME-Version: 1.0 References: <0954c3eb-70b9-9d16-e9d8-6ce45e8c2c1b@berginkonsult.se> <166889913B7B60E8.18810@lists.yoctoproject.org> <16689D843EF7BBD6.17298@lists.yoctoproject.org> <1668A8CAFCF24F79.31223@lists.yoctoproject.org> <1668DEDA4359AC1E.2939@lists.yoctoproject.org> In-Reply-To: From: "Brian Hutchinson" Date: Wed, 3 Mar 2021 14:48:04 -0500 Message-ID: Subject: Re: [meta-freescale] Want to use linux-fslc 5.10 with Dunfell To: Andrey Zhizhikin Cc: Fabio Estevam , Otavio Salvador , Peter Bergin , meta-freescale@lists.yoctoproject.org Content-Type: multipart/alternative; boundary="000000000000c1126605bca72123" --000000000000c1126605bca72123 Content-Type: text/plain; charset="UTF-8" On Wed, Mar 3, 2021 at 11:54 AM Andrey Zhizhikin wrote: > Hello Fabio, > > On Wed, Mar 3, 2021 at 5:31 PM Fabio Estevam wrote: > > > > Hi Brian, > > > > On Wed, Mar 3, 2021 at 12:42 PM Brian Hutchinson > wrote: > > > > > > Otavio, tell me again why I'm still getting this: > > > > > > [ 1.853583] imx-sdma 302c0000.dma-controller: Direct firmware load > for imx/sdma/sdma-imx7d.bin failed with error -2 > > > [ 1.861409] imx-sdma 302c0000.dma-controller: Falling back to sysfs > fallback for: imx/sdma/sdma-imx7d.bin > > > > This is normal. The sdma firmware cannot be retrieved at this point > > because it stays in the rootfs and the mmc has not been probed yet. > > > > Further in the log you will see: > > > > [ 9.479877] imx-sdma 302c0000.dma-controller: loaded firmware 4.5 > > [ 9.479881] imx-sdma 302b0000.dma-controller: loaded firmware 4.5 > > [ 9.486229] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5 > > > > which indicated that the sdma firmware was properly loaded. > > > > > It needs to be a loadable module or something? > > > > > > Anyway ... for the curious ... here's the boot messages: > > > > Glad to see you are able to get it to boot now. > > > > It would be great if someone could help to make this work > 'out-of-the-box'. > > > > From what I read here, there were many manual steps involved, such as > > changing U-Boot version, etc > > I'm working on this solution in my fork, and have it almost ready for > submission. > > If anyone would be interested to try it out and test, you can have a > look at > https://github.com/zandrey/meta-freescale/tree/boot-container-for-mx8m-fslc > > I'll be cleaning it up and getting ready for submission soon(ish). > Currently, the only things that is not supported is OP-TEE - I was not > able to boot the 2020.10 with it, so I removed it for the time being. > > What I've tested today with this implementation is: > # DISTRO=poky MACHINE=imx8mm-lpddr4-evk bitbake core-image-base > > Had it booted to the shell prompt. > > -- > Regards, > Andrey. > Since I have the hardware I'll try it out. I have a stock NXP imx8mm-evk and a custom board based off the EVK design. Regards, Brian --000000000000c1126605bca72123 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Mar 3, 2021 at 11:54 AM Andrey Zhizhikin <andrey.z@gmail.com> wrote:
Hello Fabio,

On Wed, Mar 3, 2021 at 5:31 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Brian,
>
> On Wed, Mar 3, 2021 at 12:42 PM Brian Hutchinson <b.hutchman@gmail.com> wrote= :
> >
> > Otavio,=C2=A0 tell me again why I'm still getting this:
> >
> > [=C2=A0 =C2=A0 1.853583] imx-sdma 302c0000.dma-controller: Direct= firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
> > [=C2=A0 =C2=A0 1.861409] imx-sdma 302c0000.dma-controller: Fallin= g back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
>
> This is normal. The sdma firmware cannot be retrieved at this point > because it stays in the rootfs and the mmc has not been probed yet. >
> Further in the log you will see:
>
> [=C2=A0 =C2=A0 9.479877] imx-sdma 302c0000.dma-controller: loaded firm= ware 4.5
> [=C2=A0 =C2=A0 9.479881] imx-sdma 302b0000.dma-controller: loaded firm= ware 4.5
> [=C2=A0 =C2=A0 9.486229] imx-sdma 30bd0000.dma-controller: loaded firm= ware 4.5
>
> which indicated that the sdma firmware was properly loaded.
>
> > It needs to be a loadable module or something?
> >
> > Anyway ... for the curious ... here's the boot messages:
>
> Glad to see you are able to get it to boot now.
>
> It would be great if someone could help to make this work 'out-of-= the-box'.
>
> From what I read here, there were many manual steps involved, such as<= br> > changing U-Boot version, etc

I'm working on this solution in my fork, and have it almost ready for submission.

If anyone would be interested to try it out and test, you can have a
look at https://github.co= m/zandrey/meta-freescale/tree/boot-container-for-mx8m-fslc

I'll be cleaning it up and getting ready for submission soon(ish).
Currently, the only things that is not supported is OP-TEE - I was not
able to boot the 2020.10 with it, so I removed it for the time being.

What I've tested today with this implementation is:
# DISTRO=3Dpoky MACHINE=3Dimx8mm-lpddr4-evk bitbake core-image-base

Had it booted to the shell prompt.

--
Regards,
Andrey.

Since I have the hardware I'= ;ll try it out.=C2=A0 I have a stock NXP imx8mm-evk and a custom board base= d off the EVK design.

Regards,

Brian
--000000000000c1126605bca72123--