Getting Started with ODROID-XU4

1. Installing a new OS onto the memory card
2. Boot up the ODROID-XU4 (Be patient....)
3. Delete "lock" file located at /var/lib/apt/lists/

sudo rm -R /var/lib/apt/lists/lock

4. Update & Upgrade

Reference: User manual (paper), odroid-xu4-user-manual.pdfhttps://wiki.odroid.com/odroid-xu4/odroid-xu4



5. Install Compute Library (version 18.08)

Reference: ComputeLibraryhttps://www.cnx-software.com/2018/05/13/how-to-get-started-with-opencl-on-odroid-xu4-board-with-arm-mali-t628mp6-gpu/

Keypoint1: While setupping the vender ICD file, command should be:

sudo sh -c 'echo "/usr/lib/arm-linux-gnueabihf/mali-egl/libOpenCL.so" > /etc/OpenCL/vendors/armocl.icd'

Keypoint2: While building the sources, command should be:

scons Werror=1 -j2 debug=0 neon=1 opencl=1 embed_kernels=1 os=linux arch=armv7a build=native

6. Install OpenCV (The part of "BUILDING ON UBUNTU")

Reference: 
(1) https://github.com/cesco345/OpenCV-With-the-ODROID-XU4Q/blob/master/opencv_installation.txt
(2) https://stackoverflow.com/questions/31257688/build-opencv-with-opencl-enabled-and-on

7. Install ffmpeg (Newest version should be 4)

Reference: https://forum.odroid.com/viewtopic.php?t=669

Other links:
(1) Build kernel: https://www.cnx-software.com/2018/05/07/review-of-ubuntu-18-04-on-odroid-xu4q-development-board/
(2) Link for cross-compile: https://hux062303.github.io/2017/12/16/odroidxu-cross-compile/

留言

這個網誌中的熱門文章

Tuing PID parameters in QGroundcontrol (2)

Useful PX4 Parameters

Burn linux image to eMMC storage on Banana Pi M3