Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-16 Thread Fabio Estevam
Hi Andrey, On Sun, Oct 16, 2022 at 7:17 AM ZHIZHIKIN Andrey wrote: > Yes, but this was not picked up... At least, I do not see it applied on the > master. > > From the entire series [1], the patch that shall solve the issue is [2], and > it is > the one I do not see applied onto master. Corre

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-16 Thread ZHIZHIKIN Andrey
alle ; Tommaso > Merciai ; Michael Trimarchi > ; Marek Vasut ; Simon Glass > ; Patrick Delaunay ; Stefan > Roese > ; Horia Geanta ; Pankaj Gupta > ; Varun Sethi ; Ye Li ; > dl- > uboot-imx ; trini > Subject: Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on

Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-14 Thread Fabio Estevam
Hi Andrey, On Fri, Oct 14, 2022 at 3:53 PM ZHIZHIKIN Andrey wrote: > `imx8mp.dtsi` however was not sync'd in, so the JR0 disabling is left out. :( > This does explain why the SHA calculation are not operable for that SoC. Marcel has submitted the dts sync patch: https://lists.denx.de/pipermail/

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-14 Thread ZHIZHIKIN Andrey
gt; ; Tommaso Merciai ; > Michael Trimarchi ; Marek Vasut ; > Simon Glass ; Patrick Delaunay > ; > Stefan Roese ; Horia Geanta ; Pankaj Gupta > ; Varun Sethi ; Ye Li ; > dl- > uboot-imx ; trini > Subject: Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > ser

Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-14 Thread Rasmus Villemoes
On 14/10/2022 03.00, Peng Fan wrote: > >>> Right now I am not sure what could cause the issue. >>> As per our previous discussions, JR0 can not be used in uboot, so you >>> need to >>> mark it as disabled until kernel device tree is not sync. >> >> Actually, I've given this a try by setting `statu

Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-13 Thread Peng Fan
Walle ; Tommaso Merciai ; Michael Trimarchi ; Marek Vasut ; Simon Glass ; Patrick Delaunay ; Stefan Roese ; Horia Geanta ; Pankaj Gupta ; Varun Sethi ; Ye Li ; dl- uboot-imx Subject: RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled Hello Andrey Right now

Re: [EXT] Re: [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-13 Thread Rasmus Villemoes
On 13/10/2022 08.20, Gaurav Jain wrote: > Hi Fabio > > Thanks for the patch information. > @Rasmus Villemoes I hope this fixed your problem? > Sort of, kind of. I monkey-patched arch/arm/dts/imx8mp-u-boot.dtsi to include that +&sec_jr0 { + status = "disabled"; +}; + because I don't want

RE: [EXT] Re: [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-12 Thread Gaurav Jain
@nxp.com> > Subject: [EXT] Re: [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series with CAAM enabled > > Caution: EXT Email > > Hi Rasmus, > > On Mon, Oct 10, 2022 at 11:07 AM Rasmus Villemoes > wrote: > > > This is still broken in v2022.10. Are the

Re: [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-10 Thread Fabio Estevam
Hi Rasmus, On Mon, Oct 10, 2022 at 11:07 AM Rasmus Villemoes wrote: > This is still broken in v2022.10. Are there any plans to fix this? If I recall correctly the fix for this issue is to sync imx8m dts files with Linux so that the following commit can be in place: https://git.kernel.org/pub/sc

Re: [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-10-10 Thread Rasmus Villemoes
On 15/07/2022 14.40, ZHIZHIKIN Andrey wrote: > Hello Gaurav, > > In the new v2022.07, I've stumbled upon the issue with calculating the SHA256 > of > memory blocks with CAAM hashing. This causes the FIT image not to pass the > hash > validation, and also `sha256` command not operable. > > I'm a

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread Gaurav Jain
t; Glass ; Patrick Delaunay > ; Stefan Roese ; Horia Geanta > ; Pankaj Gupta ; Varun > Sethi ; Ye Li ; dl-uboot-imx i...@nxp.com>; trini > Subject: RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series with CAAM enabled > > Caution: EXT Email > &g

Re: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread Fabio Estevam
Hi Andrey, On Fri, Jul 15, 2022 at 12:06 PM ZHIZHIKIN Andrey wrote: > From what I can see, since patch from Fabio [2] is planned for inclusion to > linux-5.20.y (see [3] for PR) - it might be that the SHA computation will stay > broken on i.MX8M derivatives until v2022.10 at least, or the HW has

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread ZHIZHIKIN Andrey
erciai ; > Michael Trimarchi ; Marek Vasut ; > Simon Glass ; Patrick Delaunay > ; > Stefan Roese ; Horia Geanta ; Pankaj Gupta > ; Varun Sethi ; Ye Li ; > dl- > uboot-imx > Subject: RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series > with CAAM e

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread Gaurav Jain
; Stefan Roese ; Horia Geanta > ; Pankaj Gupta ; Varun > Sethi ; Ye Li ; dl-uboot-imx i...@nxp.com> > Subject: RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series with CAAM enabled > > Caution: EXT Email > > Hello Gaurav, > > > -Origina

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread ZHIZHIKIN Andrey
Vasut ; > Simon Glass ; Patrick Delaunay > ; > Stefan Roese ; Horia Geanta ; Pankaj Gupta > ; Varun Sethi ; Ye Li ; > dl- > uboot-imx > Subject: RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series > with CAAM enabled > > Hello Andrey >

RE: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread Gaurav Jain
; Ye Li ; dl-uboot-imx i...@nxp.com> > Subject: [EXT] [REGRESSION]: v2022.07: SHA256 hash is broken on imx8m > series with CAAM enabled > > Caution: EXT Email > > Hello Gaurav, > > In the new v2022.07, I've stumbled upon the issue with calculating the > SHA256

[REGRESSION]: v2022.07: SHA256 hash is broken on imx8m series with CAAM enabled

2022-07-15 Thread ZHIZHIKIN Andrey
Hello Gaurav, In the new v2022.07, I've stumbled upon the issue with calculating the SHA256 of memory blocks with CAAM hashing. This causes the FIT image not to pass the hash validation, and also `sha256` command not operable. I'm also wondering if any i.MX8M-based board maintainers have seen the