From: Chunrong Guo Date: Wed, 18 Oct 2017 05:06:12 +0000 (+0800) Subject: cst :update to 1afb40c X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=22c8da98de535a01ce74b8300c373aea0c0371de;p=meta-freescale.git cst :update to 1afb40c *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 Signed-off-by: Otavio Salvador --- 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 00000000..0dc5c3a6 --- /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 +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 +--- + 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 fcae0c79..dc0ae5e8 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"