User's Guide
II-VI Incorporated
375 Saxonburg Boulevard
Saxonburg, PA 16056
T. 724.352.4455 | F. 724.352.5284 | www.ii-vi.com
5 SDK usage to build new application for XMF-H
This section provides procedure to build new application for XMF-H using SDK. XMF-H_SDK provides
pre-compiled MIPS toolchain designed to cross compile packages.
After building the application, user needs to transfer built application or IPK file using SCP to XMF-H. This
transferred / installed applications will be retained over reboot.
Tasks you can do with the XMF-H_SDK:
• Compile additional applications, libraries for a specific release while ensuring feature
compatibility
• Compile newer versions of certain packages for a specific release
• Recompile existing packages with custom patches or different features
Follow procedure in below section to setup and compile packages using XMF-H_SDK.
5.1 SETUP SDK PREREQUISITE ON HOST MACHINE
Prerequisite:
• Linux machine (Ubuntu 16.04 LTS)
• Install following XMF-H_SDK prerequisite on Host Linux machine.
Linux_Prompt$ sudo apt install subversion g++ zlib1g-dev build-essential git python python3
Linux_Prompt$ sudo apt install libncurses5-dev gawk gettext unzip file libssl-dev wget
Linux_Prompt$ sudo apt install libelf-dev ecj fastjar java-propose-classpath
5.2 BUILD AND EXECUTE NEW APPLICATION ON XMF-H
These steps explain process to compile application on host machine using XMF-H_SDK.
1. Unzip XMF-H_SDK.zip. It contains APP and SDK directories.
APP directory contains sample applications.
SDK directory has XMF-H toolchain and necessary files from provided supports in rootfs.
2. Enter SDK directory and Extract the "SDK.tar.bz2" on Host Linux machine.
Linux_Prompt$ cd SDK
Banner file available at this location indicates Release version associated with this SDK.
Linux_Prompt$ tar -xvjf SDK.tar.bz2