VisionSDK_S32V2_RTM_1_3_0 problems

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VisionSDK_S32V2_RTM_1_3_0 problems

1,248 Views
alan13341313
Contributor I

While reading VisionSDK_S32V2_RTM_1_3_0 userguide. Some questions occurred at 3.3.1 and 3.3.2. 

3.3.1 General Preparation
Export necessary environment variables:
o export ARCH=arm
▪ Target architecture
o export CROSS_COMPILE=aarch64-linux-gnu-
▪ Compiler prefix specification
o export LINUX_S32V234_DIR=/linux/sources/directory/for/s32v234/    //THIS ONEEEEEEEEEEE  
▪ optional, only for s32v234 Linux build
▪ Path to the Linux sources (same kernel as is running on the board)
o export PATH=/path/to/your/compiler/binaries:$PATH  //THIS ONEEEEEEE
▪ Path to the compiler binaries

Can some one give me an real example?

3.3.2 Building the Kernel Modules
Following kernel modules can be built:
• apex.ko:
s32v234_sdk/libs/apex/drivers/kernel/build-v234ce-gnu-linux-d

I got this           '' Please define LINUX_S32V234_DIR pointing to kernel directory . ''

If it the same thing as 3.3.1 , a real example plz.

Labels (1)
0 Kudos
Reply
1 Reply

959 Views
bpe
NXP Employee
NXP Employee

On my Linux machine, I have the kernel provided by Automotive BSP in
this directory:

/home/adas/work/S32V/BSP/21.0/build_s32v234sbc/tmp/work/s32v234sbc-fsl-linux/linux-s32/4.19-r0/git/

so LINUX_S32V234_DIR shell variable assignment will look like this:

export LINUX_S32V234_DIR=/home/adas/work/S32V/BSP/21.0/build_s32v234sbc/tmp/work/s32v234sbc-fsl-linux/linux-s32/4.19-r0/git/

VSDK installed the tools for Linux target to

/home/adas/work/S32V/VisionSDK_S32V2_RTM_1_3_0_HF1/compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-linux/bin/

VSDK installer updates your ~/.profile automatically so all tools
should be there in your PATH. You need to update it manually only
if you have broken your environment:

export PATH=/home/adas/work/S32V/VisionSDK_S32V2_RTM_1_3_0_HF1/compilers/gcc-6.3.1-linaro-Xarmv8-linux/i686-linux/bin:$PATH

Note, merely copying this to your machine is unlikely to work since the
exact paths depend on where and how you installed various packages and, if you are working with Yocto,
what you specified after -m to  nxp-setup-alb.sh


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply