Skip to contentSkip to conversation

colibri-imx8x: snvs and firmware info

PATCH New Andrejs Cainikovs 2 participants 6 messages Apr 3, 2023 – Jul 12, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

cover colibri-imx8x: snvs and firmware info

This series updates recent Colibri iMX8X support refresh with following:

* initialize secure non-volatile storage, aka snvs
* print firmware versions during boot

Andrejs Cainikovs (2):
colibri-imx8x: print firmware versions
board: colibri-imx8x: initialize snvs

 board/toradex/colibri-imx8x/colibri-imx8x.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 colibri-imx8x: print firmware versions

Print firmware versions during U-Boot start:

BuildInfo:
- SCFW f5623878, SECO-FW c9de51c0, IMX-MKIMAGE 0, ATF c6a19b1
- U-Boot 2022.04-00335-g65192567f81-dirty

---
 board/toradex/colibri-imx8x/colibri-imx8x.c | 2 ++
 1 file changed, 2 insertions(+)
board/toradex/colibri-imx8x/colibri-imx8x.c +2 -0
index 6ed9cc4fa80..4f4d45fe0f3 100644
@@ -170,6 +170,8 @@ int board_late_init(void)
 	env_set("board_rev", "v1.0");
 #endif
 
+	build_info();
+
 	select_dt_from_module_version();
 
 	return 0;
Signature · 1 line
2.34.1
#2 lore raw

PATCH 1/2 colibri-imx8x: print firmware versions

Quoted 5 lines

Print firmware versions during U-Boot start:
BuildInfo:
- SCFW f5623878, SECO-FW c9de51c0, IMX-MKIMAGE 0, ATF c6a19b1
- U-Boot 2022.04-00335-g65192567f81-dirty

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]
=====================================================================
#3 lore raw

PATCH 2/2 board: colibri-imx8x: initialize snvs

In reply to Andrejs Cainikovs

Initialize Secure Non-Volatile Storage, aka SNVS.

---
 board/toradex/colibri-imx8x/colibri-imx8x.c | 8 ++++++++
 1 file changed, 8 insertions(+)
board/toradex/colibri-imx8x/colibri-imx8x.c +8 -0
index 4f4d45fe0f3..03fc88a54bd 100644
@@ -12,6 +12,7 @@
 #include <asm/arch/imx8-pins.h>
 #include <asm/arch/iomux.h>
 #include <asm/arch/sci/sci.h>
+#include <asm/arch/snvs_security_sc.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/gpio.h>
 #include <asm/io.h>
@@ -139,6 +140,13 @@ int board_init(void)
 {
 	board_gpio_init();
 
+	if (IS_ENABLED(CONFIG_IMX_SNVS_SEC_SC_AUTO)) {
+		int ret = snvs_security_sc_init();
+
+		if (ret)
+			return ret;
+	}
+
 	return 0;
 }
 
Signature · 1 line
2.34.1
#4 lore raw

PATCH 2/2 board: colibri-imx8x: initialize snvs

Quoted 2 lines

Initialize Secure Non-Volatile Storage, aka SNVS.

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]
=====================================================================
#5 lore raw

PATCH 2/2 board: colibri-imx8x: initialize snvs

In reply to Andrejs Cainikovs
Quoted 2 lines

Initialize Secure Non-Volatile Storage, aka SNVS.

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]
=====================================================================