Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Use Edison SDK + chroot to build up performance application

$
0
0

Extract more performance via Intel software techniques

Edison is a powerful IoT platform with dual-core 500MHz Atom CPU inside. By deploying Intel software techniques, more power can be extracted from it. The following comparison test is performed on Edison and the result clearly presents the performance benefit gain by using Intel optimized libraries and compiler software techniques. Can't wait to try it on your own Edison? Check it on http:// http://software.intel.com/en-us/intel-system-studio and follow the steps in this article.

 

* detection time varies among different cases of pictures/video stream.
* bottom labels are for image resolution
* ipp stands for Intel® Performance Primitives
* tbb stands for Intel® Threading Building Block
* icc stands for Intel® C++ Compiler
 

Edison SDK + chroot to facilitate the development works

In addition, Edison is designed for quick prototype/product development. Therefore, it provides its own SDK to facilitate the application development. Without using SDK, you can still build up libraries and sample application directly on the Edison target. It normally takes half day long to get the jobs done.

Edison SDK provides cross-compile setup script and here we provide another tip by using chroot linux utility + Edison SDK to ease the development environment setup. This only takes less than 3 minutes on our Core i7@3.3GHz machine to build all opencv libs and applications. Check the figure below to review final binaries.

Where to get Edison SDK? You can either download it from Edison support website (search “SDK”) or build your own one. BSP reference guide contains detailed information about how to generate Edison SDK and how to customize your Edison image. The following figure shows the final output of SDK image, one single file combined the installation script and bzip format payloads.

Once you successfully executed this installation shell script above, you should find SDK under the following directory structure.

By applying chroot to this specified root folder “…/coer2-32-poky-linux”, you will have a Linux shell working in the same root directories structures as in Edison. For example, you could update certain library packages via opkg to build or to even debug the codes in current desktop environment first (with the running kernel of current desktop machine) before deploying the test software to the real Edison target.

More information and detailed steps to build up Edison opencv application.

This attached txt file below contains the detailed commands and steps to build up an opencv face detection application under Edison SDK + chroot setup. To use Intel® C++ compiler, you have to install the latest version of Intel system studio via http://software.intel.com/en-us/intel-system-studio. Intel® C++ compiler is part of Intel System Studio.

DownloaddetailSteps.txt

Before getting this Edison SDK setup ready, you may want to know more information about Edison;
* Edison Hardware information
* How to assemble Edison boards –  Video
* How to flash the image
* How to customize Edison kernel

See also

- Building Yocto* Applications using Intel® C++ Compiler with Yocto Project* Application Development Toolkit
- Improved sysroot support in Intel C++ Compiler for cross compile
- Build and Debug Applications for Intel® Edison with Intel® System Studio

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>