I have build the fsl-image-auto image for S32V SoC
But i could not generate native sdk
bitbake fsl-image-auto -C populate_sdk
Bit bake nothing to build populate_sdk
SDK is not generated in /build/deploy/sdk path
Please any technical support
解決済! 解決策の投稿を見る。
Pls create a folder with the following command:
mkdir tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/recipe-sysroot-native/usr/lib/locale -p
Hi Vijaybhaskar Reddy ,
Hope you are doing well
Which BSP version did you generate SDK for and which ubuntu version did they build the SDK in? Could you provide commands to build the SDK so we could try to reproduce their issue?
Best Regard ,
Tushar
Hi Tushar, Greetings!
There was a typo in the below bit bake command to build sdk
$ bitbake fsl-image-auto -c populate_sdk
Earlier I have used capital "c" rather small "c".
Now i could initiate the bit bake to build sdk. I
I have used BSP23.5 from git-hub repo and followed the documentation. Host PC is ubuntu 18.04.
But I got error something like this ...
ERROR: Task (virtual:nativesdk:/home/vijay/yocto_s32v_bsp/sources/poky/meta/recipes-devtools/qemu/qemu_2.11.1.bb:do_compile) failed with exit code '1'
ERROR: nativesdk-cmake-3.10.3-r0 do_compile: Function failed: do_compile (log file is located at /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/temp/log.do_compile.14094)
ERROR: Logfile of failure stored in: /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/temp/log.do_compile.14094
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/build --target all -- -j 6
| [1/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageCommand.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageCommand.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageCommand.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestCoverageCommand.cxx
| [2/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/include -ISource --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -w -std=gnu++14 -MD -MT Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o -MF Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o.d -o Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp
| FAILED: Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o
| /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/include -ISource --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -w -std=gnu++14 -MD -MT Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o -MF Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o.d -o Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp
| /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp: In function 'std::__cxx11::string Json::{anonymous}::valueToString(double, bool, unsigned int)':
| /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:45:18: error: 'isfinite' is not a member of 'std'
| #define isfinite std::isfinite
| ^
| /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:185:7: note: in expansion of macro 'isfinite'
| if (isfinite(value)) {
| ^~~~~~~~
| [3/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureHandler.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureHandler.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureHandler.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestConfigureHandler.cxx
| [4/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureCommand.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureCommand.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureCommand.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestConfigureCommand.cxx
| [5/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildCommand.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildCommand.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildCommand.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestBuildCommand.cxx
| [6/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildHandler.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildHandler.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestBuildHandler.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestBuildHandler.cxx
| [7/371] /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot-native/usr/bin/x86_64-fslbsp-linux/x86_64-fslbsp-linux-g++ -DCMAKE_BUILD_WITH_CMAKE -IUtilities -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Utilities -ISource -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/LexerParser -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include -IUtilities/cmcompress -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest -I/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CPack -ISource/kwsys --sysroot=/home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/recipe-sysroot -O2 -pipe -std=gnu++14 -MD -MT Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.cxx.o -MF Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.cxx.o.d -o Source/CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.cxx.o -c /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/cmake-3.10.3/Source/CTest/cmCTestCoverageHandler.cxx
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-cmake/3.10.3-r0/temp/log.do_compile.14094)
ERROR: Task (virtual:nativesdk:/home/vijay/yocto_s32v_bsp/sources/poky/meta/recipes-devtools/cmake/cmake_3.10.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3309 tasks of which 3300 didn't need to be rerun and 2 failed.
Summary: 2 tasks failed:
virtual:nativesdk:/home/vijay/yocto_s32v_bsp/sources/poky/meta/recipes-devtools/qemu/qemu_2.11.1.bb:do_compile
virtual:nativesdk:/home/vijay/yocto_s32v_bsp/sources/poky/meta/recipes-devtools/cmake/cmake_3.10.3.bb:do_compile
Summary: There were 3 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
Any help from NXP please !
Hi Vijaybhaskar Reddy ,
Pls add the following line (Red text) in the file: “tmp/work/x86_64-nativesdk-fslbsp-linux/nativesdk-util-macros/1_1.19.1-r0/recipe-sysroot/opt/fsl-auto/2.5.2/sysroots/x86_64-fslbsp-linux/usr/include/c++/6.3.1/x86_64-fslbsp-linux/bits/c++config.h”:
/*********************************************************************************************/
...
# ifndef _GLIBCXX_USE_C99_WCHAR
# define _GLIBCXX_USE_C99_WCHAR _GLIBCXX98_USE_C99_WCHAR
# endif
#endif
#define _GLIBCXX_USE_C99_MATH 1
// End of prewritten config; the settings discovered at configure time follow.
...
/*****************************************************************************************/
Best Regard ,
Tushar
Hi Tusahr,
As you suggested i have updated header file with those macros .
previous issue is resolved. But I have encountered new error, at final stage of build, saying some directory is missing...
ERROR: fsl-image-auto-1.0-r0 do_populate_sdk: Cannot create locale archive: b'cannot create temporary file: /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/recipe-sysroot-native/usr/lib/locale/locale-archive.iAgS8D: No such file or directory\n'
ERROR: fsl-image-auto-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /home/vijay/yocto_s32v_bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/fsl-image-auto/1.0-r0/temp/log.do_populate_sdk.5047
ERROR: Task (/home/vijay/yocto_s32v_bsp/sources/meta-alb/recipes-fsl/images/fsl-image-auto.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4278 tasks of which 4277 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/vijay/yocto_s32v_bsp/sources/meta-alb/recipes-fsl/images/fsl-image-auto.bb:do_populate_sdk
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
any help please ?
Pls create a folder with the following command:
mkdir tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/recipe-sysroot-native/usr/lib/locale -p
Thank you Tushar,
Now the issue is resolved. Even I thought of creating folder in the the path. But I did mistake
mkdir tmp/work/x86_64-linux/cross-localedef-native/2.26-r0/recipe-sysroot-native/usr/lib/local, instead of creating "locale", i created "local".
Now I am trying to integrate VSDK in the bsp23.5 repo
I fetched bsp23.5 meta-adas repository with git init
$ repo init -u https://github.com/nxp-auto-linux/auto_yocto_bsp -b release/BSP23.5
-m adas.xml
$ repo sync
I have downloaded VisionSDK_S32V2_RTM_1_7_0.bin, and rest followed the document (S32V_LinuxBSP_23.5_User_Manual.pdf ) to build fsl-image-vsdk with the following command.
$ bitbake fsl-image-vsdk
I have encountered the following error
WARNING: sm-drv-1.0-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/autobsps32/extra/sm_drv;branch=master;protocol=https, attempting MIRRORS if available
ERROR: sm-drv-1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=8d3595113c1e43531b1eaa04656ebdc5"; export SSH_AGENT_PID="1764"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/vijay/fsl-adas-yocto-bsp/sources/poky/scripts:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot-native/usr/sbin:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot-native/usr/bin:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot-native/sbin:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/recipe-sysroot-native/bin:/home/vijay/fsl-adas-yocto-bsp/sources/poky/bitbake/bin:/home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/hosttools"; export HOME="/home/vijay"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://source.codeaurora.org/external/autobsps32/extra/sm_drv /home/vijay/yocto_s32v_bsp/downloads/git2/source.codeaurora.org.external.autobsps32.extra.sm_drv --progress failed with exit code 128, output:
Cloning into bare repository '/home/vijay/yocto_s32v_bsp/downloads/git2/source.codeaurora.org.external.autobsps32.extra.sm_drv'...
fatal: unable to access 'https://source.codeaurora.org/external/autobsps32/extra/sm_drv/': Could not resolve host: source.codeaurora.org
ERROR: sm-drv-1.0-r0 do_fetch: Fetcher failure for URL: 'git://source.codeaurora.org/external/autobsps32/extra/sm_drv;branch=master;protocol=https'. Unable to fetch URL from any source.
ERROR: sm-drv-1.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/vijay/fsl-adas-yocto-bsp/build_s32v234evb/tmp/work/s32v234evb-fsl-linux/sm-drv/1.0-r0/temp/log.do_fetch.12898
ERROR: Task (/home/vijay/fsl-adas-yocto-bsp/sources/meta-adas/recipes-kernel/sm-drv/sm-drv_1.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1888 tasks of which 1877 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/vijay/fsl-adas-yocto-bsp/sources/meta-adas/recipes-kernel/sm-drv/sm-drv_1.0.bb:do_fetch
Summary: There were 5 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
It seems it could not fetch the sm-drv recipe from codeaurora.org as codeaurora.org has been deprecated.
Any solution please ??
best regards,
Vijay