AnsweredAssumed Answered

How to build image with visionSDK supported

Question asked by yager0203@163.com on Dec 2, 2018
Latest reply on Dec 6, 2018 by Paul Vlase

I follow the instructions from Quick-Start-Package-S32V234 to build the Linux image containing the VSDK support.

 

The following step is done:

By default meta-adas layer does not support SBC-S32V234 board. To include the support for this
board copy the patch “0001-s32v234sbc-add-SBC-board-in-the-meta-adas-compatible.patch” into
the folder “path_to_fsl-auto-yocto-bsp/sources/meta-adas”
Patch is available in Quick Start Package. Please run s32v234_meta-adas-patch_SW_1.0.exe file in
Windows machine to extract the patch file.

 

Apply the patch using following command:
patch -p1 < 0001-s32v234sbc-add-SBC-board-in-the-meta-adas-compatible.patch

 

 

and I got some error while applying patch:


patching file recipes-demos/common-demos.inc
Hunk #1 FAILED at 65.
1 out of 1 hunk FAILED -- saving rejects to file recipes-demos/common-demos.inc.rej
patching file recipes-kernel/sm-drv/sm-drv_1.0.bb
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file recipes-kernel/sm-drv/sm-drv_1.0.bb.rej
can't find file to patch at input line 41
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/recipes-libs-3rdparty/common-3rdparty.inc b/recipes-libs-3rdparty/common-3rdparty.inc
|index 6eeaaaf..b44edf2 100644
|--- a/recipes-libs-3rdparty/common-3rdparty.inc
|+++ b/recipes-libs-3rdparty/common-3rdparty.inc
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patching file recipes-libs-3rdparty/fftw/fftw_3.3.4.bbappend
Hunk #1 FAILED at 48.
1 out of 1 hunk FAILED -- saving rejects to file recipes-libs-3rdparty/fftw/fftw_3.3.4.bbappend.rej
patching file recipes-libs/common-libs.inc
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- saving rejects to file recipes-libs/common-libs.inc.rej

 

when I run:  bitbake fsl-image-vsdk

Loading cache: 100% |###########################################################################################################| Time: 0:00:00
Loaded 3424 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################| Time: 0:00:02
Parsing of 2515 .bb files complete (2514 cached, 1 parsed). 3424 targets, 180 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'fsl-image-vsdk'. Close matches:
fsl-image-sim
fsl-image-base
fsl-image-flash

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

Got error above.

 

Any help is appreciated

 

thanks

Outcomes