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
nt 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.
us
there is 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
|
+--+--+--+-+
| SRK Table offset| Certificate offset |
+-++
| Blob offset | Signature offset |
+-++
Signed-off-by: Javier Viguera
FFFC000
ccimx93-dvk_defconfig:CONFIG_ENV_OFFSET=0xC000
ccimx93-dvk_defconfig:CONFIG_ENV_OFFSET_REDUND=0xC000
After all, the symbol gets translated to a signed s64 variable.
--
Javier Viguera
Digi International Inc.
,
Javier Viguera
6 matches
Mail list logo