Skip to contentSkip to conversation

imx: hab: Use CONFIG_SPL_LOAD_FIT_ADDRESS in the CSF example

PATCH In review Marek Vasut 3 participants 3 messages Aug 31, 2023 – Oct 16, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: hab: Use CONFIG_SPL_LOAD_FIT_ADDRESS in the CSF example

The SPL authenticates image starting from CONFIG_SPL_LOAD_FIT_ADDRESS address, update the csf_fit.txt to match.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>

---
 doc/imx/habv4/csf_examples/mx8m/csf_fit.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/imx/habv4/csf_examples/mx8m/csf_fit.txt +1 -1
index 3d79edf2813..97f3eea573b 100644
@@ -27,4 +27,4 @@
   Verification index = 2
   # FIXME:
   # Line 1 -- fitImage
-  Blocks = 0x401fcdc0 0x57c00 0xffff "flash.bin"
+  Blocks = CONFIG_SPL_LOAD_FIT_ADDRESS 0x57c00 0xffff "flash.bin"
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Marek Vasut

The SPL authenticates image starting from CONFIG_SPL_LOAD_FIT_ADDRESS address, update the csf_fit.txt to match.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tim Harvey <[email protected]>

---
 doc/imx/habv4/csf_examples/mx8m/csf_fit.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/imx/habv4/csf_examples/mx8m/csf_fit.txt +0 -0
index 3d79edf2813..97f3eea573b 100644

doc/imx/habv4/csf_examples/mx8m/csf_fit.txt line 30

Quoted 5 lines
doc/imx/habv4/csf_examples/mx8m/csf_fit.txt +1 -1
@@ -27,4 +27,4 @@
   Verification index = 2
   # FIXME:
   # Line 1 -- fitImage
-  Blocks = 0x401fcdc0 0x57c00 0xffff "flash.bin"
+  Blocks = CONFIG_SPL_LOAD_FIT_ADDRESS 0x57c00 0xffff "flash.bin"

Thanks

#2 lore raw

PATCH 1/1 imx: hab: Use CONFIG_SPL_LOAD_FIT_ADDRESS in the CSF example

In reply to Marek Vasut
Quoted 4 lines

The SPL authenticates image starting from CONFIG_SPL_LOAD_FIT_ADDRESS address, update the csf_fit.txt to match.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================