Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.42 KB

build_instructions.md

File metadata and controls

39 lines (30 loc) · 1.42 KB

Xavier NX Build Instructions

Building the SDK only

SDK dependencies

To build the SDK and run the included applications and example code the following dependencies must be installed in the system:

  • v4l-utils
  • libopencv-dev
  • cmake
  • glog v0.3.5
  • libwebsockets v3.2.3
  • protocol buffers v3.9.0

The SD card image already contains all the SDK dependencies and there's no need to install them again. To update and build the SDK just follow the steps below.

AD-96TOF1-EBZ

analog@xaviernx:~/workspace/aditof_sdk$ git checkout master
analog@xaviernx:~/workspace/aditof_sdk$ git pull
analog@xaviernx:~/workspace/aditof_sdk$ cd build
analog@xaviernx:~/workspace/aditof_sdk/build$ cmake -DXAVIERNX=1 ..
analog@xaviernx:~/workspace/aditof_sdk/build$ make -j4

AD-FXTOF1-EBZ

analog@xaviernx:~/workspace/aditof_sdk$ git checkout master
analog@xaviernx:~/workspace/aditof_sdk$ git pull
analog@xaviernx:~/workspace/aditof_sdk$ cd build
analog@xaviernx:~/workspace/aditof_sdk/build$ cmake -DXAVIERNX=1 -DUSE_FXTOF1=1 ..
analog@xaviernx:~/workspace/aditof_sdk/build$ make -j4

Linux Kernel

The SD card image already contains the customized Linux kernel image and required devicetree to support the ToF Camera connected to CSI connector on Xavier. If rebuilding the kernel or devicetree is needed please follow the instructions.