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

2024-04-04 Thread Javier Viguera
s no runtime failure. On the other hand, extending the code to get the data encryption key blob offset on the signature header gives a wrong value as the field is in the wrong order. Signed-off-by: Javier Viguera --- Notes: v2: - Improve commit log include/imx_container.h | 4 ++-

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

2024-03-26 Thread Javier Viguera
| +--+--+--+-+ | SRK Table offset| Certificate offset | +-++ | Blob offset | Signature offset | +-++ Signed-off-by: Javier Viguera

Re: [PATCH] env: mmc: fix environment on hw boot partition 2

2023-12-01 Thread Javier Viguera
on "mmcblk0boot1" (which is the **second** boot partition) and the IS_ENABLED evaluates to **0** which prevents the "hwpart = mmc_get_env_part(mmc);" to even run. Thanks for your help. -- Javier Viguera On 1/12/23 12:09, Javier Viguera wrote: SYS_MMC_ENV_PART is an integer option. If i

[PATCH] env: mmc: fix environment on hw boot partition 2

2023-12-01 Thread Javier Viguera
SYS_MMC_ENV_PART is an integer option. If it is set to 2 to use the second hardware boot partition, the IS_ENABLED check fails as it expects a boolean, and then it does not get the correct hwpart. Signed-off-by: Javier Viguera --- env/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion