Skip to contentSkip to conversation

armv8: ls1028a: Update secure boot headers offset

PATCH New Priyanka Singh 2 participants 4 messages Feb 21, 2020 – Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: ls1028a: Update secure boot headers offset

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

---
 include/configs/ls1028a_common.h | 8 ++++----
 include/configs/ls1028aqds.h     | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)
include/configs/ls1028a_common.h +4 -4
index 98320e22e9..62639cfb39 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2019 NXP
+ * Copyright 2019-2020 NXP
  */
 
 #ifndef __L1028A_COMMON_H
@@ -92,14 +92,14 @@
 	"fdt_addr_r=0x90000000\0"               \
 	"ramdisk_addr_r=0xa0000000\0"           \
 	"kernel_start=0x1000000\0"		\
-	"kernelheader_start=0x800000\0"		\
+	"kernelheader_start=0x600000\0"		\
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"kernelheader_size=0x40000\0"		\
 	"kernel_addr_sd=0x8000\0"		\
 	"kernel_size_sd=0x14000\0"		\
-	"kernelhdr_addr_sd=0x4000\0"		\
-	"kernelhdr_size_sd=0x10\0"		\
+	"kernelhdr_addr_sd=0x3000\0"		\
+	"kernelhdr_size_sd=0x20\0"		\
 	"console=ttyS0,115200\0"                \
 	"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0"	\
 	BOOTENV					\
include/configs/ls1028aqds.h +3 -3
index b0e9441a48..4eec03dcbd 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright 2019 NXP
+ * Copyright 2019-2020 NXP
  */
 
 #ifndef __LS1028A_QDS_H
@@ -104,13 +104,13 @@
 	"fdt_addr_r=0x90000000\0" \
 	"ramdisk_addr_r=0xa0000000\0" \
 	"kernel_start=0x1000000\0" \
-	"kernelheader_start=0x800000\0" \
+	"kernelheader_start=0x600000\0" \
 	"kernel_load=0xa0000000\0" \
 	"kernel_size=0x2800000\0" \
 	"kernelheader_size=0x40000\0" \
 	"kernel_addr_sd=0x8000\0" \
 	"kernel_size_sd=0x14000\0" \
-	"kernelhdr_addr_sd=0x4000\0" \
+	"kernelhdr_addr_sd=0x3000\0" \
 	"kernelhdr_size_sd=0x10\0" \
 	"console=ttyS0,115200\0" \
 	"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs: ls1012ardb: secure boot: Add PFE config

Add config to enable the PFE, ETH and MMC HS200 support. Also change the pfe secure boot header address.

---
 board/freescale/ls1012ardb/Kconfig           | 2 +-
 configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
board/freescale/ls1012ardb/Kconfig +1 -1
index 51efd0fa37..dea9ba5d2f 100644
@@ -35,7 +35,7 @@ config SYS_LS_PFE_FW_ADDR
 
 config SYS_LS_PFE_ESBC_ADDR
 	hex "PFE Firmware HDR Addr"
-	default 0x40700000
+	default 0x40640000
 
 config DDR_PFE_PHYS_BASEADDR
 	hex "PFE DDR physical base address"
configs/ls1012ardb_tfa_SECURE_BOOT_defconfig +3 -0
index 342fac6083..2330105852 100644
@@ -60,3 +60,6 @@ CONFIG_RSA_SOFTWARE_EXP=y
 CONFIG_DM_I2C=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_RTC=y
+CONFIG_MMC_HS200_SUPPORT=y
+CONFIG_FSL_PFE=y
+CONFIG_DM_ETH=y
Signature · 1 line
2.17.1
#2 lore raw

PATCH 1/1 configs: ls1012ardb: secure boot: Add PFE config

Quoted 8 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Priyanka Singh
Sent: Friday, February 21, 2020 5:57 AM
To: u-boot at lists.denx.de
Cc: Ruchika Gupta <[email protected]>; Udit Agarwal <[email protected]>; Priyanka Singh <[email protected]>
Subject: [PATCH 1/1] configs: ls1012ardb: secure boot: Add PFE config

Quoted 5 lines

Add config to enable the PFE, ETH and MMC HS200 support. Also change the pfe secure boot header address.

---

Applied to u-boot-fsl-qoriq after rebasing and removing HS200 enablement . Waiting upstream

Thanks
Priyanka

#3 lore raw

PATCH 1/1 armv8: ls1028a: Update 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: Friday, February 21, 2020 5:57 AM
To: u-boot at lists.denx.de
Cc: Ruchika Gupta <[email protected]>; Udit Agarwal <[email protected]>; Priyanka Singh <[email protected]>
Subject: [PATCH 1/1] armv8: ls1028a: Update secure boot headers offset

Quoted 6 lines

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

---

Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka