[meta-freescale] [PATCH 03/20] cst :update to 1afb40c

Chunrong Guo B40290 at freescale.com
Tue Oct 10 02:42:28 PDT 2017


From: Chunrong Guo <chunrong.guo at nxp.com>

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

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 ...rbg-fails-compilation-due-to-uninitialize.patch | 28 ++++++++++++++++++++++
 recipes-devtools/cst/cst_git.bb                    |  6 +++--
 2 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 recipes-devtools/cst/cst/0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch

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
index 0000000..0dc5c3a
--- /dev/null
+++ b/recipes-devtools/cst/cst/0001-gen_otpmk_drbg-fails-compilation-due-to-uninitialize.patch
@@ -0,0 +1,28 @@
+From 6eb82ed1ba56c398e89f04fb848c5f3c4543e772 Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <chunrong.guo at 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 at 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
+
diff --git a/recipes-devtools/cst/cst_git.bb b/recipes-devtools/cst/cst_git.bb
index fcae0c7..dc0ae5e 100644
--- a/recipes-devtools/cst/cst_git.bb
+++ b/recipes-devtools/cst/cst_git.bb
@@ -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"
 
-- 
1.9.0



More information about the meta-freescale mailing list