How to build image with visionSDK supported

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to build image with visionSDK supported

1,843 次查看
yager0203
Contributor I

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

标签 (1)
0 项奖励
回复
3 回复数

1,508 次查看
paulvlase
NXP Employee
NXP Employee

Hi yager0203@163.com‌,

We do not build the linux image for NXP Vision Toolbox for Matlab. Instead we use the one from the VSDK.

kushalshah can you help here?

0 项奖励
回复

1,508 次查看
yager0203
Contributor I

Thanks.

I encountered the problem while following "TUTORIAL: CREATE BSP WITH VSDK SUPPORT", which is main content in 2a_Create_BSP_with_VSDK_support.pdf. 

I just want a bsp with vsdk support for s32v234sbc.

0 项奖励
回复

1,510 次查看
paulvlase
NXP Employee
NXP Employee

Hi yager0203@163.com‌,

For NXP Vision Toolbox for Matlab we are using the linux image for S32V234 SBC that is shipped with the Vision SDK 1.2.0. It has vsdk support and you don't have to build anything.

0 项奖励
回复