[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.
Signed-off-by: Priyanka Singh priyanka.singh@nxp.com --- include/configs/ls1028a_common.h | 8 ++++---- include/configs/ls1028aqds.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h index 98320e22e9..62639cfb39 100644 --- a/include/configs/ls1028a_common.h +++ b/include/configs/ls1028a_common.h @@ -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 \ diff --git a/include/configs/ls1028aqds.h b/include/configs/ls1028aqds.h index b0e9441a48..4eec03dcbd 100644 --- a/include/configs/ls1028aqds.h +++ b/include/configs/ls1028aqds.h @@ -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" \

Add config to enable the PFE, ETH and MMC HS200 support. Also change the pfe secure boot header address.
Signed-off-by: Priyanka Singh priyanka.singh@nxp.com --- board/freescale/ls1012ardb/Kconfig | 2 +- configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/board/freescale/ls1012ardb/Kconfig b/board/freescale/ls1012ardb/Kconfig index 51efd0fa37..dea9ba5d2f 100644 --- a/board/freescale/ls1012ardb/Kconfig +++ b/board/freescale/ls1012ardb/Kconfig @@ -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" diff --git a/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig b/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig index 342fac6083..2330105852 100644 --- a/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig +++ b/configs/ls1012ardb_tfa_SECURE_BOOT_defconfig @@ -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

-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Priyanka Singh Sent: Friday, February 21, 2020 5:57 AM To: u-boot@lists.denx.de Cc: Ruchika Gupta ruchika.gupta@nxp.com; Udit Agarwal udit.agarwal@nxp.com; Priyanka Singh priyanka.singh@nxp.com Subject: [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.
Signed-off-by: Priyanka Singh priyanka.singh@nxp.com
Applied to u-boot-fsl-qoriq after rebasing and removing HS200 enablement . Waiting upstream
Thanks Priyanka

-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Priyanka Singh Sent: Friday, February 21, 2020 5:57 AM To: u-boot@lists.denx.de Cc: Ruchika Gupta ruchika.gupta@nxp.com; Udit Agarwal udit.agarwal@nxp.com; Priyanka Singh priyanka.singh@nxp.com Subject: [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.
Signed-off-by: Priyanka Singh priyanka.singh@nxp.com
Applied to u-boot-fsl-qoriq. Waiting upstream
Thanks Priyanka
participants (2)
-
Priyanka Jain (OSS)
-
Priyanka Singh