AnsweredAssumed Answered

LSDK1906 has problems with compiling Edgescale firmware

Question asked by Peng Luo on Jul 8, 2019
Latest reply on Jul 10, 2019 by Yiping Wang

Hello

I am getting an error when compiling Edgescale firmware using LSDK1906. Executing ‘flex-builder -m ls1046ardb -a arm64’ can be done before opening Edgescale.

However, after opening Edgescale, the operation of ‘flex-builder -m ls1046ardb -a arm64’ will cause an error. The specific operations are as follows:

1,gedit configs/build_lsdk.cfg :

         CONFIG_APP_EDGESCALE=n   ------>   CONFIG_APP_EDGESCALE=y

         #SECURE_PRI_KEY=/path/srk.pri  ------->  SECURE_PRI_KEY=/path/srk.pri
         #SECURE_PUB_KEY=/path/srk.pub -------> SECURE_PUB_KEY=/path/srk.pub

2,flex-builder clean

3,flex-builder -m ls1046ardb -a arm64

.......

error:

Building SPC ...
make[2]: Entering directory '/work/flexbuild_lsdk1906/packages/apps/spc/source'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/work/flexbuild_lsdk1906/packages/apps/spc/source'
Build SPC [Done]

Building CST ...
make[2]: Entering directory '/work/flexbuild_lsdk1906/packages/apps/cst'
cp -rf scripts/* ./

#########################################
# Tools Compiled:
# create_hdr_isbc create_hdr_esbc create_hdr_pbi create_hdr_cf gen_keys gen_otpmk_drbg gen_drv_drbg gen_sign sign_embed gen_fusescr
#########################################

make[2]: Leaving directory '/work/flexbuild_lsdk1906/packages/apps/cst'
Using specified /path/srk.pri and /path/srk.pub ...
cp: cannot stat '/path/srk.pri': No such file or directory
cp: cannot stat '/path/srk.pub': No such file or directory
Makefile:233: recipe for target 'cst' failed
make[1]: *** [cst] Error 1
make[1]: Leaving directory '/work/flexbuild_lsdk1906/packages/apps'
Makefile:25: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/work/flexbuild_lsdk1906'
root@ubuntu:/work/flexbuild_lsdk1906#

 

 

 

Can you advise me what to do next?

Outcomes