]> code.ossystems Code Review - meta-freescale.git/commitdiff
cst :update to 1afb40c
authorChunrong Guo <chunrong.guo@nxp.com>
Wed, 18 Oct 2017 05:06:12 +0000 (13:06 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 18 Oct 2017 13:42:30 +0000 (11:42 -0200)
*This includes the following changes:
1afb40c - Make SRK table default option
1650003 - Make ls1088_ls2088.sh executable
4ae056a - Generate SRK hash value
c3e7c34 - LS1088 QSPI: Change in address in input file
fe4e0da - LS104x_1012: Add signing of bootscript_decap in case of NAND
8f42212 - LS1088 SD: Add input files for LS1088ardb SD
88b3f45 - Merge pull request #73 in SDK/cst from ~B57223/cst-create-pbi:master to master
63bfb68 - To enable blob, added input file
d124628 - LS1021ATWR: Change SPL hdr load address
12c489f - LS2088_1088: Add uni_sign input files for sd boot
04ac1a0 - LS2088_1088: Sample uni_pbi input file for sd boot
23bf3b7 - LS2088_1088: Modify tool to add pbi commands for sd secure
46f4045 - Enable cmd line flag "--u" urand option for gen_otpmk_drbg

*Fix fails compilation due to uninitialized variables

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-devtools/cst/cst/0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch [new file with mode: 0644]
recipes-devtools/cst/cst_git.bb

diff --git a/recipes-devtools/cst/cst/0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch b/recipes-devtools/cst/cst/0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch
new file mode 100644 (file)
index 0000000..0dc5c3a
--- /dev/null
@@ -0,0 +1,28 @@
+From 6eb82ed1ba56c398e89f04fb848c5f3c4543e772 Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <chunrong.guo@nxp.com>
+Date: Wed, 20 Sep 2017 13:22:34 +0800
+Subject: [PATCH] gen_otpmk_drbg: fails compilation due to uninitialized
+ variables
+
+Upstream-Status: Submitted
+Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
+---
+ tools/key_generation/gen_otpmk_drbg.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/key_generation/gen_otpmk_drbg.c b/tools/key_generation/gen_otpmk_drbg.c
+index 6465367..33e5ea6 100644
+--- a/tools/key_generation/gen_otpmk_drbg.c
++++ b/tools/key_generation/gen_otpmk_drbg.c
+@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
+ {
+       char otpmk_in[2];
+       int c, i, l, ret;
+-      char *string;
++      char *string = NULL;
+       char urand_flag = 0;
+       printf("\n\t#----------------------------------------------------#");
+-- 
+2.7.4
+
index fcae0c79e0e4ddeca29543d805164aa9eebc8434..dc0ae5e8c8a7062ea579b930384d3539ee16874b 100644 (file)
@@ -9,8 +9,10 @@ RDEPENDS_${PN} = "bash"
 
 inherit kernel-arch
 
-SRC_URI = "git://github.com/qoriq-open-source/cst.git;nobranch=1"
-SRCREV = "6424157985568df3f42a46e24222e38671455ddb"
+SRC_URI = "git://github.com/qoriq-open-source/cst.git;nobranch=1 \
+    file://0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch \
+"
+SRCREV = "1afb40c13097fc9e8a641aa5d0420498fea01c65"
 
 S = "${WORKDIR}/git"