All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.
@ 2017-05-02 12:13 Udit Agarwal
  2017-05-02 12:13 ` [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation Udit Agarwal
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Udit Agarwal @ 2017-05-02 12:13 UTC (permalink / raw)
  To: u-boot

Add the secure boot defconfig for QSPI boot on LS2088ARDB
platform.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.ozlabs.org/patch/756250/

 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 50 +++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig

diff --git a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
new file mode 100644
index 0000000..749ad1d
--- /dev/null
+++ b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
@@ -0,0 +1,50 @@
+CONFIG_ARM=y
+CONFIG_TARGET_LS2080ARDB=y
+CONFIG_SECURE_BOOT=y
+CONFIG_FSL_LS_PPA=y
+CONFIG_QSPI_AHB_INIT=y
+CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2088a-rdb-qspi"
+# CONFIG_SYS_MALLOC_F is not set
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_OF_STDOUT_VIA_ALIAS=y
+CONFIG_SYS_EXTRA_OPTIONS="LS2080A"
+CONFIG_QSPI_BOOT=y
+CONFIG_BOOTDELAY=10
+CONFIG_CMD_GREPENV=y
+# CONFIG_CMD_IMLS is not set
+CONFIG_CMD_GPT=y
+CONFIG_CMD_MMC=y
+CONFIG_CMD_SF=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_CACHE=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_FAT=y
+CONFIG_OF_CONTROL=y
+CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_DM=y
+CONFIG_FSL_CAAM=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_NETDEVICES=y
+CONFIG_E1000=y
+CONFIG_PCI=y
+CONFIG_DM_PCI=y
+CONFIG_DM_PCI_COMPAT=y
+CONFIG_PCIE_LAYERSCAPE=y
+CONFIG_SYS_NS16550=y
+CONFIG_DM_SPI=y
+CONFIG_FSL_QSPI=y
+CONFIG_FSL_DSPI=y
+CONFIG_CMD_USB=y
+CONFIG_RSA=y
+CONFIG_RSA_SOFTWARE_EXP=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_STORAGE=y
+CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation
  2017-05-02 12:13 [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot Udit Agarwal
@ 2017-05-02 12:13 ` Udit Agarwal
  2017-05-17 16:44   ` york sun
  2017-05-02 12:13 ` [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot Udit Agarwal
  2017-05-15 20:19 ` [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot york sun
  2 siblings, 1 reply; 7+ messages in thread
From: Udit Agarwal @ 2017-05-02 12:13 UTC (permalink / raw)
  To: u-boot

Validates the images in the ESBC phase for LS2088ARDB platform
and QSPI boot using esbc_validate command. Add images validation
in default environment under mcinitcmd prior to MC initialization.

Adds header address for PPA to be validated during ESBC phase for
ARCH_LS2088 and QSPI_BOOT.

Moves sec_init prior to ppa_init as for validation of PPA sec must
be initialised before the PPA is initialised.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.ozlabs.org/patch/756250/

 arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  1 +
 board/freescale/ls2080aqds/ls2080aqds.c   |  2 +-
 board/freescale/ls2080ardb/ls2080ardb.c   |  7 ++++---
 include/configs/ls2080ardb.h              | 22 ++++++++++++++++++++++
 4 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 57660e8..8b39e00 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -216,6 +216,7 @@ config SYS_LS_PPA_ESBC_ADDR
 	default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1046A
 	default 0x40680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1012A
 	default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
+	default 0x20680000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
 	default 0x580680000 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
 	default 0x680000 if SYS_LS_PPA_FW_IN_MMC
 	default 0x680000 if SYS_LS_PPA_FW_IN_NAND
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c
index ba3347b..00f4bb1 100644
--- a/board/freescale/ls2080aqds/ls2080aqds.c
+++ b/board/freescale/ls2080aqds/ls2080aqds.c
@@ -229,7 +229,7 @@ int board_init(void)
 	select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT);
 	rtc_enable_32khz_output();
 #ifdef CONFIG_FSL_CAAM
-        sec_init();
+	sec_init();
 #endif
 
 #ifdef CONFIG_FSL_LS_PPA
diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c
index edb6b33..c25f8ab 100644
--- a/board/freescale/ls2080ardb/ls2080ardb.c
+++ b/board/freescale/ls2080ardb/ls2080ardb.c
@@ -233,6 +233,10 @@ int board_init(void)
 #ifdef CONFIG_FSL_QIXIS
 	QIXIS_WRITE(rst_ctl, QIXIS_RST_CTL_RESET_EN);
 #endif
+
+#ifdef CONFIG_FSL_CAAM
+	sec_init();
+#endif
 #ifdef CONFIG_FSL_LS_PPA
 	ppa_init();
 #endif
@@ -241,9 +245,6 @@ int board_init(void)
 	/* invert AQR405 IRQ pins polarity */
 	out_le32(irq_ccsr + IRQCR_OFFSET / 4, AQR405_IRQ_MASK);
 #endif
-#ifdef CONFIG_FSL_CAAM
-        sec_init();
-#endif
 
 	return 0;
 }
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 711241a..5a1d516 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -366,6 +366,27 @@ unsigned long get_board_sys_clk(void);
 /* Initial environment variables */
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #ifdef CONFIG_SECURE_BOOT
+#ifdef CONFIG_QSPI_BOOT
+#define CONFIG_EXTRA_ENV_SETTINGS		\
+	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
+	"scriptaddr=0x80800000\0"		\
+	"kernel_addr_r=0x81000000\0"		\
+	"pxefile_addr_r=0x81000000\0"		\
+	"fdt_addr_r=0x88000000\0"		\
+	"ramdisk_addr_r=0x89000000\0"		\
+	"loadaddr=0x80100000\0"			\
+	"kernel_addr=0x100000\0"		\
+	"ramdisk_size=0x2000000\0"		\
+	"fdt_high=0xa0000000\0"			\
+	"initrd_high=0xffffffffffffffff\0"	\
+	"kernel_start=0x21000000\0"		\
+	"mcmemsize=0x40000000\0"		\
+	"mcinitcmd=esbc_validate 0x20700000;"	\
+	"esbc_validate 0x20740000;"		\
+	"fsl_mc start mc 0x20a00000"		\
+	" 0x20e00000 \0"			\
+	BOOTENV
+#else /* !(CONFIG_QSPI_BOOT) */
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
 	"scriptaddr=0x80800000\0"		\
@@ -389,6 +410,7 @@ unsigned long get_board_sys_clk(void);
 	"fsl_mc start mc 0x580300000"           \
 	" 0x580800000 \0"                       \
 	BOOTENV
+#endif
 #else
 #ifdef CONFIG_QSPI_BOOT
 #define CONFIG_EXTRA_ENV_SETTINGS		\
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot
  2017-05-02 12:13 [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot Udit Agarwal
  2017-05-02 12:13 ` [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation Udit Agarwal
@ 2017-05-02 12:13 ` Udit Agarwal
  2017-05-25 15:03   ` york sun
  2017-05-15 20:19 ` [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot york sun
  2 siblings, 1 reply; 7+ messages in thread
From: Udit Agarwal @ 2017-05-02 12:13 UTC (permalink / raw)
  To: u-boot

This patch adjusts memory map for secure boot headers on LS2080AQDS
and LS2080ARDB platforms.

Secure boot headers are placed on NOR flash at offset 0x00600000.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.ozlabs.org/patch/756250/

 board/freescale/ls2080aqds/README |  1 +
 board/freescale/ls2080ardb/README |  1 +
 include/configs/ls2080aqds.h      | 10 +++++-----
 include/configs/ls2080ardb.h      | 10 +++++-----
 4 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/board/freescale/ls2080aqds/README b/board/freescale/ls2080aqds/README
index fd0e25a..cad860e 100644
--- a/board/freescale/ls2080aqds/README
+++ b/board/freescale/ls2080aqds/README
@@ -96,6 +96,7 @@ RCW+PBI				0x00000000
 Boot firmware (U-Boot)		0x00100000
 Boot firmware Environment	0x00300000
 PPA firmware			0x00400000
+Secure Headers			0x00600000
 DPAA2 MC			0x00A00000
 DPAA2 DPL			0x00D00000
 DPAA2 DPC			0x00E00000
diff --git a/board/freescale/ls2080ardb/README b/board/freescale/ls2080ardb/README
index f228d80..205c45c 100644
--- a/board/freescale/ls2080ardb/README
+++ b/board/freescale/ls2080ardb/README
@@ -92,6 +92,7 @@ RCW+PBI				0x00000000
 Boot firmware (U-Boot)		0x00100000
 Boot firmware Environment	0x00300000
 PPA firmware			0x00400000
+Secure Headers			0x00600000
 Cortina PHY firmware		0x00980000
 DPAA2 MC			0x00A00000
 DPAA2 DPL			0x00D00000
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index d646197..efc3d5b 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -369,14 +369,14 @@ unsigned long get_board_ddr_clk(void);
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
 	"initrd_high=0xffffffffffffffff\0"	\
-	"kernel_start=0x581100000\0"		\
+	"kernel_start=0x581000000\0"		\
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcmemsize=0x40000000\0"		\
-	"mcinitcmd=esbc_validate 0x580c80000;"  \
-	"esbc_validate 0x580cc0000;"            \
-	"fsl_mc start mc 0x580300000"           \
-	" 0x580800000 \0"
+	"mcinitcmd=esbc_validate 0x580700000;"  \
+	"esbc_validate 0x580740000;"            \
+	"fsl_mc start mc 0x580a00000"           \
+	" 0x580e00000 \0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 5a1d516..6abf54b 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -400,15 +400,15 @@ unsigned long get_board_sys_clk(void);
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
 	"initrd_high=0xffffffffffffffff\0"	\
-	"kernel_start=0x581100000\0"		\
+	"kernel_start=0x581000000\0"		\
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcmemsize=0x40000000\0"		\
 	"fdtfile=fsl-ls2080a-rdb.dtb\0"		\
-	"mcinitcmd=esbc_validate 0x580c80000;"  \
-	"esbc_validate 0x580cc0000;"            \
-	"fsl_mc start mc 0x580300000"           \
-	" 0x580800000 \0"                       \
+	"mcinitcmd=esbc_validate 0x580700000;"  \
+	"esbc_validate 0x580740000;"            \
+	"fsl_mc start mc 0x580a00000"           \
+	" 0x580e00000 \0"                       \
 	BOOTENV
 #endif
 #else
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.
  2017-05-02 12:13 [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot Udit Agarwal
  2017-05-02 12:13 ` [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation Udit Agarwal
  2017-05-02 12:13 ` [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot Udit Agarwal
@ 2017-05-15 20:19 ` york sun
  2017-05-17 16:39   ` york sun
  2 siblings, 1 reply; 7+ messages in thread
From: york sun @ 2017-05-15 20:19 UTC (permalink / raw)
  To: u-boot

On 05/02/2017 05:15 AM, Udit Agarwal wrote:
> Add the secure boot defconfig for QSPI boot on LS2088ARDB
> platform.
>
> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
> ---
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756222%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=Y%2BHozPqSb6MSs9t3rUXi%2FLbDJ3Yups0eSk876rv2VPE%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756221%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=vGcpFar3OLsspPz7%2FWlHz45NE2u%2BDuqDriVs%2FTnFrf8%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756250%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=mmux45TOPLFMRxdP3MdD8a%2FGpQABsulOM%2BJiFMNd3%2FY%3D&reserved=0
>
>  configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 50 +++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>  create mode 100644 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
>
> diff --git a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
> new file mode 100644
> index 0000000..749ad1d
> --- /dev/null
> +++ b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
> @@ -0,0 +1,50 @@
> +CONFIG_ARM=y
> +CONFIG_TARGET_LS2080ARDB=y
> +CONFIG_SECURE_BOOT=y
> +CONFIG_FSL_LS_PPA=y
> +CONFIG_QSPI_AHB_INIT=y
> +CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2088a-rdb-qspi"
> +# CONFIG_SYS_MALLOC_F is not set
> +CONFIG_FIT_VERBOSE=y
> +CONFIG_OF_BOARD_SETUP=y
> +CONFIG_OF_STDOUT_VIA_ALIAS=y
> +CONFIG_SYS_EXTRA_OPTIONS="LS2080A"

This is not needed, and not allowed. Please fix. Make sure you test your 
patches on the top of latest upstream master branch.

York

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot.
  2017-05-15 20:19 ` [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot york sun
@ 2017-05-17 16:39   ` york sun
  0 siblings, 0 replies; 7+ messages in thread
From: york sun @ 2017-05-17 16:39 UTC (permalink / raw)
  To: u-boot

On 05/15/2017 01:19 PM, york sun wrote:
> On 05/02/2017 05:15 AM, Udit Agarwal wrote:
>> Add the secure boot defconfig for QSPI boot on LS2088ARDB
>> platform.
>>
>> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
>> ---
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756222%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=Y%2BHozPqSb6MSs9t3rUXi%2FLbDJ3Yups0eSk876rv2VPE%3D&reserved=0
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756221%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=vGcpFar3OLsspPz7%2FWlHz45NE2u%2BDuqDriVs%2FTnFrf8%3D&reserved=0
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756250%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cbb4048d4e8f54f7a92f108d49154f10c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=mmux45TOPLFMRxdP3MdD8a%2FGpQABsulOM%2BJiFMNd3%2FY%3D&reserved=0
>>
>>  configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 50 +++++++++++++++++++++++++++
>>  1 file changed, 50 insertions(+)
>>  create mode 100644 configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
>>
>> diff --git a/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
>> new file mode 100644
>> index 0000000..749ad1d
>> --- /dev/null
>> +++ b/configs/ls2088ardb_qspi_SECURE_BOOT_defconfig
>> @@ -0,0 +1,50 @@
>> +CONFIG_ARM=y
>> +CONFIG_TARGET_LS2080ARDB=y
>> +CONFIG_SECURE_BOOT=y
>> +CONFIG_FSL_LS_PPA=y
>> +CONFIG_QSPI_AHB_INIT=y
>> +CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2088a-rdb-qspi"
>> +# CONFIG_SYS_MALLOC_F is not set
>> +CONFIG_FIT_VERBOSE=y
>> +CONFIG_OF_BOARD_SETUP=y
>> +CONFIG_OF_STDOUT_VIA_ALIAS=y
>> +CONFIG_SYS_EXTRA_OPTIONS="LS2080A"
>
> This is not needed, and not allowed. Please fix. Make sure you test your
> patches on the top of latest upstream master branch.
>

Please also update the MAINTAINER file when you respin this patch.

York

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation
  2017-05-02 12:13 ` [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation Udit Agarwal
@ 2017-05-17 16:44   ` york sun
  0 siblings, 0 replies; 7+ messages in thread
From: york sun @ 2017-05-17 16:44 UTC (permalink / raw)
  To: u-boot

On 05/02/2017 05:15 AM, Udit Agarwal wrote:
> Validates the images in the ESBC phase for LS2088ARDB platform
> and QSPI boot using esbc_validate command. Add images validation
> in default environment under mcinitcmd prior to MC initialization.
>
> Adds header address for PPA to be validated during ESBC phase for
> ARCH_LS2088 and QSPI_BOOT.
>
> Moves sec_init prior to ppa_init as for validation of PPA sec must
> be initialised before the PPA is initialised.
>
> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
> ---
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756222%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cefbc55c412914cf4faf808d49154fc09%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=%2FeexbUyXknE0uXMdkcdC3tUEcvGo0YS2EENAaUo9%2BhA%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756221%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cefbc55c412914cf4faf808d49154fc09%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=nYyB0OSlm2IYaFUjG9TPf%2BVgth5ElzRl4ZIi8TKNqV0%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756250%2F&data=01%7C01%7Cyork.sun%40nxp.com%7Cefbc55c412914cf4faf808d49154fc09%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=9boHaBRQFKflABEDX6KRGO478gAC3AfjdZvtVOYGJco%3D&reserved=0
>
>  arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  1 +
>  board/freescale/ls2080aqds/ls2080aqds.c   |  2 +-
>  board/freescale/ls2080ardb/ls2080ardb.c   |  7 ++++---
>  include/configs/ls2080ardb.h              | 22 ++++++++++++++++++++++
>  4 files changed, 28 insertions(+), 4 deletions(-)

Shouldn't you put this patch before patch 1/3 in this set? You would 
need this patch to have secure boot working, wouldn't you?

York

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot
  2017-05-02 12:13 ` [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot Udit Agarwal
@ 2017-05-25 15:03   ` york sun
  0 siblings, 0 replies; 7+ messages in thread
From: york sun @ 2017-05-25 15:03 UTC (permalink / raw)
  To: u-boot

On 05/02/2017 05:16 AM, Udit Agarwal wrote:
> This patch adjusts memory map for secure boot headers on LS2080AQDS
> and LS2080ARDB platforms.
>
> Secure boot headers are placed on NOR flash at offset 0x00600000.
>
> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
> ---
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756222%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=%2F24KZSQmFPgDKMXGn%2FFN1proLxz5jJb0PwBJUa4PbXc%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756221%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=KYe3oxt56jKRG3FqIuB%2BVeR59cYj7TEJdHPt%2F1pZLfI%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756250%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=4crHHfSCgpHTj3n%2BmyVhyb53ioD5WkQNue4c1wmaDnY%3D&reserved=0
>
>  board/freescale/ls2080aqds/README |  1 +
>  board/freescale/ls2080ardb/README |  1 +
>  include/configs/ls2080aqds.h      | 10 +++++-----
>  include/configs/ls2080ardb.h      | 10 +++++-----
>  4 files changed, 12 insertions(+), 10 deletions(-)
>

Applied to fsl-qoriq master, awaiting upstream. Thanks.

York

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-25 15:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02 12:13 [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot Udit Agarwal
2017-05-02 12:13 ` [U-Boot] [PATCH 2/3] LS2080ARDB: QSPI boot: Secure Boot image validation Udit Agarwal
2017-05-17 16:44   ` york sun
2017-05-02 12:13 ` [U-Boot] [PATCH 3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot Udit Agarwal
2017-05-25 15:03   ` york sun
2017-05-15 20:19 ` [U-Boot] [PATCH 1/3] LS2080ARDB: Secure Boot defconfig for QSPI boot york sun
2017-05-17 16:39   ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.