RE: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-04-04 Thread Viguera, Javier
Hi Fabio, First, sorry for the delay. I was out of the office (Easter). -Original Message- From: Fabio Estevam Could you elaborate more about this and share more details? Have you seen a run-time error or did you catch it by code inspection? The struct has the fields in the wrong

Re: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-04-04 Thread Fabio Estevam
Hi Javier, On Thu, Apr 4, 2024 at 8:58 AM Viguera, Javier wrote: > The struct has the fields in the wrong order according to other documentation > from NXP (see for example the AN13994 - Encrypted Boot on AHAB-enabled > devices). > > In the current upstream u-boot code there is NO runtime

RE: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Peng Fan
+Ye > Subject: [PATCH] arm: imx: fix signature_block_hdr struct fields order > > According to the documentation (for example AN13994), for AHAB-enabled > devices the format of the signature block is: > > +--+--+--+-+ > |

Re: [PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Fabio Estevam
Hi Javier, On Tue, Mar 26, 2024 at 8:07 AM Javier Viguera wrote: > > According to the documentation (for example AN13994), for AHAB-enabled > devices the format of the signature block is: > > +--+--+--+-+ > | Tag | Length - msb |

[PATCH] arm: imx: fix signature_block_hdr struct fields order

2024-03-26 Thread Javier Viguera
According to the documentation (for example AN13994), for AHAB-enabled devices the format of the signature block is: +--+--+--+-+ | Tag | Length - msb | Length - lsb | Version |