pimg64 image pointer is dependent on ESBC_ADDR_64BIT config, which is
getting disabled, due to dependency on ESBC_HDR_LS.
ESBC_HDR_LS is required for LS-CH3 platforms.
So, removing the dependency on ESBC_HDR_LS.
Signed-off-by: Kshitiz Varshney
---
arch/Kconfig.nxp | 2 +-
1 file changed, 1
This commit adds configs required for using dcp_rng driver in imx6ull
defconfig files.
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
configs/mx6ull_14x14_evk_defconfig| 4
configs/mx6ull_14x14_evk_plugin_defconfig | 4
2 files changed, 8 insertions(+)
diff --git a
This commit initializes dcp_rng device driver inside
arch_misc_init() function.
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
arch/arm/mach-imx/mx6/soc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
index
This commit introduces Random number generator to uboot. It uses DCP
driver for number generation.
RNG driver can be invoked by using below command on uboot prompt:-
rng
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
Reviewed-by: Simon Glass
---
drivers/crypto/fsl/Kconfig
Implemented Data Co-Processor random number generation driver.
usage command:
rng
Kshitiz Varshney (3):
Uboot RNG Driver using Data Co-processor
Added dcp_rng driver initialization code
Added configs required for dcp_rng driver
arch/arm/mach-imx/mx6/soc.c | 10 ++
configs
-Original Message-
From: Peng Fan (OSS)
Sent: Monday, September 12, 2022 1:01 PM
To: Kshitiz Varshney ; u-boot@lists.denx.de; Horia
Geanta ; Pankaj Gupta ; Varun Sethi
; Gaurav Jain ; Rahul Kumar Yadav
; Vabhav Sharma ; Sahil
Malhotra ; Ye Li ; Heinrich Schuchardt
Cc: Stefano
-Original Message-
From: Heinrich Schuchardt
Sent: Friday, September 9, 2022 1:10 AM
To: Kshitiz Varshney
Cc: Stefano Babic ; Fabio Estevam ; Peng
Fan ; Sughosh Ganu ;
u-boot@lists.denx.de; Ye Li ; Gaurav Jain ;
Rahul Kumar Yadav ; Vabhav Sharma
; Varun Sethi ; Sahil Malhotra
Please see the comment inline.
Regards,
Kshitiz
-Original Message-
From: Heinrich Schuchardt
Sent: Friday, September 9, 2022 1:00 AM
To: Kshitiz Varshney
Cc: U-Boot Mailing List ; Horia Geanta
; Pankaj Gupta ; Varun Sethi
; Gaurav Jain ; Rahul Kumar Yadav
; Vabhav Sharma ; Sahil
Please find comment inline.
Regards,
Kshitiz
-Original Message-
From: Simon Glass
Sent: Thursday, September 8, 2022 11:49 PM
To: Kshitiz Varshney
Cc: U-Boot Mailing List ; Horia Geanta
; Pankaj Gupta ; Varun Sethi
; Gaurav Jain ; Rahul Kumar Yadav
; Vabhav Sharma ; Sahil
Malhotra
Regards,
Kshitiz
-Original Message-
From: Simon Glass
Sent: Thursday, September 8, 2022 11:49 PM
To: Kshitiz Varshney
Cc: U-Boot Mailing List ; Horia Geanta
; Pankaj Gupta ; Varun Sethi
; Gaurav Jain ; Rahul Kumar Yadav
; Vabhav Sharma ; Sahil
Malhotra ; Ye Li ; Heinrich
From: Kshitiz
This commit adds configs required for using dcp_rng driver in imx6ull
defconfig files.
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
configs/mx6ull_14x14_evk_defconfig| 4
configs/mx6ull_14x14_evk_emmc_defconfig | 4
configs
From: Kshitiz
This commit introduces Random number generator to uboot. It uses DCP
driver for number generation.
RNG driver can be invoked by using below command on uboot prompt:-
rng
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
drivers/crypto/fsl/Kconfig | 10
From: Kshitiz
This commit manually binds dcp_rng device driver and initalizes it inside
arch_misc_init() function.
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
arch/arm/mach-imx/mx6/soc.c | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/mach-imx/mx6
From: Kshitiz
Added entry for rngb in imx6ull device tree which is required for
Random number generation in u-boot.
Signed-off-by: Kshitiz Varshney
Reviewed-by: Ye Li
---
arch/arm/dts/imx6ull.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/dts/imx6ull.dtsi b/arch/arm
If enable SPL_DM without SPL_OF_CONTROL,
build errors "undefined reference to fdt_get_resource",
is coming in function `caam_jr_probe'.
Added SPL_OF_CONTROL to remove the error.
Signed-off-by: Kshitiz Varshney
---
configs/ls1043ardb_nand_SECURE_BOOT_defconfig
Remove Double free issue from calc_img_key_hash() and
calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using lx2162aqds board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 28 ++-
drivers/crypto/fsl/fsl_hash.c
Removed Double free issue from calc_img_key_hash() and
calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using lx2162aqds board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 28 ++-
drivers/crypto/fsl/fsl_hash.c
Free dynamically allocated memory before every return statement
in calc_img_key_hash() and calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using ls1046afrwy board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 36 ---
1
Free dynamically allocated memory before every return statement
in calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using ls1046afrwy board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 25 ++---
1 file changed, 18 insertions
Free dynamically allocated memory before every return statement
in calc_img_key_hash() function.
Verified the secure boot changes using ls1046afrwy board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 10 --
1 file changed, 8 insertions(+), 2 deletions
20 matches
Mail list logo