Skip to contentSkip to conversation

armv8: ls1088a: Updates secure boot headers offset

PATCH New Priyanka Singh 2 participants 3 messages Jan 22, 2020 – Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 armv8: ls1088a: Updates secure boot headers offset

Updates the secure boot headers offsets of Kernel and other firmware images for SD and QSPI boot sources used by esbc_validate command.

---
 include/configs/ls1088aqds.h |  6 ++--
 include/configs/ls1088ardb.h | 60 ++++++++++++++++++------------------
 2 files changed, 33 insertions(+), 33 deletions(-)
include/configs/ls1088aqds.h +3 -3
index 85e20617e6..f3a87df26a 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2017 NXP
+ * Copyright 2017, 2020 NXP
  */
 
 #ifndef __LS1088A_QDS_H
@@ -421,9 +421,9 @@ unsigned long get_board_ddr_clk(void);
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcinitcmd=sf probe 0:0;sf read 0xa0a00000 0xa00000 0x100000;"	\
-	"sf read 0xa0700000 0x700000 0x4000; esbc_validate 0xa0700000;"	\
+	"sf read 0xa0640000 0x640000 0x4000; esbc_validate 0xa0640000;"	\
 	"sf read 0xa0e00000 0xe00000 0x100000;"	\
-	"sf read 0xa0740000 0x740000 0x4000;esbc_validate 0xa0740000;"	\
+	"sf read 0xa0680000 0x680000 0x4000;esbc_validate 0xa0680000;"	\
 	"fsl_mc start mc 0xa0a00000 0xa0e00000\0"			\
 	"mcmemsize=0x70000000 \0"
 #else /* if !(CONFIG_SECURE_BOOT) */
include/configs/ls1088ardb.h +30 -30

133 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 armv8: ls2088a: Updates secure boot headers offset

Updates the secure boot headers offsets of Kernel and other firmware images for SD and NOR boot sources used by esbc_validate command.

---
 include/configs/ls2080aqds.h | 12 ++++-----
 include/configs/ls2080ardb.h | 52 ++++++++++++++++++------------------
 2 files changed, 32 insertions(+), 32 deletions(-)
include/configs/ls2080aqds.h +6 -6
index e2a897557d..f71bf95978 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2017, 2019 NXP
+ * Copyright 2017, 2019-2020 NXP
  * Copyright 2015 Freescale Semiconductor
  */
 
@@ -365,8 +365,8 @@ unsigned long get_board_ddr_clk(void);
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcmemsize=0x40000000\0"		\
-	"mcinitcmd=esbc_validate 0x580700000;"  \
-	"esbc_validate 0x580740000;"            \
+	"mcinitcmd=esbc_validate 0x580640000;"  \
+	"esbc_validate 0x580680000;"            \
 	"fsl_mc start mc 0x580a00000"           \
 	" 0x580e00000 \0"
 #else
@@ -394,7 +394,7 @@ unsigned long get_board_ddr_clk(void);
 	"kernel_size=0x2800000\0"               \
 	"kernel_size_sd=0x14000\0"               \
 	"load_addr=0xa0000000\0"		            \
-	"kernelheader_addr=0x580800000\0"	\
+	"kernelheader_addr=0x580600000\0"	\
 	"kernelheader_addr_r=0x80200000\0"	\
 	"kernelheader_size=0x40000\0"		\
 	"BOARD=ls2088aqds\0" \
@@ -447,7 +447,7 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_TFABOOT
 #define SD_BOOTCOMMAND						\
 			"env exists mcinitcmd && env exists secureboot "\
-			"&& mmcinfo && mmc read $load_addr 0x3c00 0x800 " \
+			"&& mmcinfo && mmc read $load_addr 0x3600 0x800 " \
 			"&& esbc_validate $load_addr; "			\
 			"env exists mcinitcmd && run mcinitcmd "	\
 			"&& mmc read 0x80d00000 0x6800 0x800 "		\
@@ -457,7 +457,7 @@ unsigned long get_board_ddr_clk(void);
 
 #define IFC_NOR_BOOTCOMMAND						\
 			"env exists mcinitcmd && env exists secureboot "\
-			"&& esbc_validate 0x580780000; env exists mcinitcmd "\
+			"&& esbc_validate 0x5806C0000; env exists mcinitcmd "\
 			"&& fsl_mc lazyapply dpl 0x580d00000;"		\
 			"run nor_bootcmd; "		\
 			"env exists secureboot && esbc_halt;"
include/configs/ls2080ardb.h +26 -26

139 lines not on this page · raw message

Signature · 1 line
2.17.1
#2 lore raw

PATCH 1/2 armv8: ls1088a: Updates secure boot headers offset

In reply to Priyanka Singh
Quoted 8 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Priyanka Singh
Sent: Wednesday, January 22, 2020 4:03 PM
To: u-boot at lists.denx.de
Cc: Udit Agarwal <[email protected]>; Ruchika Gupta <[email protected]>; Arun Pathak <[email protected]>
Subject: [PATCH 1/2] armv8: ls1088a: Updates secure boot headers offset

Quoted 5 lines

Updates the secure boot headers offsets of Kernel and other firmware images for SD and QSPI boot sources used by esbc_validate command.

---

Series applied (after rebase) on u-boot-fsl-qoriq/master. Awaiting upstream -priyankajain