Firebolt SDK lets you build native apps using C/C++ specific to each device. Native apps are developed for high performance and customized applications and they help you to reuse the existing C/C++ libraries. It is available for Raspberry-Pi platform for the development environment. Firebolt SDK toolset includes the following,
- C/C++ cross-compiling toolchains.
- Platform/device specific libraries, headers and symbols.
- Open source libraries (eg: Gstreamer, Opengl, curl, etc).
- Additional third-party requirements.
Install on Raspberry Pi
Raspberry Pi 3 Model B+
Raspberry Pi 3 Model B
Raspberry Pi 3 Model A+
Etcher provides easy way to flash the image on SD card across all the platforms, Windows, Mac, and Linux. Flash the image on Raspberry-Pi using Etcher.Step 3
Connections on Raspberry Pi
Your setup should resemble the one in the picture
- Connect HDMI
- Connect Ethernet
- Connect USB Keyboard
- Connect USB Mouse
- Insert the SD card with the Firebolt image flashed
- Power on the Raspberry-Pi
Learn the basics of Firebolt for Raspberry Pi
A USB keyboard or remote control (on supported systems) can be used on the device to launch an app on Raspberry-Pi.The following actions are supported:
The arrow keys will move the cursor selector
Supsend is available for Native Apps.Open “Controls” tab on the UI to enable/disable Suspend mode
Select an app and press Enter or Ok
Terminal Access on Raspberry-Pi
- Once the Pi is booted-up completely, Pi gets valid ethernet connection.
- The IP address will be displayed on the bottom right of the display/TV connected to Pi.
- Login to Raspberry-Pi using ssh into the box from a PC on the same network.
Login is root, password is empty.
ssh email@example.comThen press enter twice to get ssh terminal access to the box.
Access our GitHub examplesStep 7
Build Sample Apps using Firebolt SDK
A. Software Prerequisites
- System Requirements
Ubuntu 14.4 64 bit OS or higher 8GB of RAM
Install the following command-
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev xterm
B. Download Firebolt SDK
C. Install the SDK
- Go the directory where Firebolt SDK is downloaded.
Untar the Firebolt SDK bundle.
tar -zxvf raspberrypi-rdk-mc-RNE-SDK-0.4-bundle.tgzIn the above command, raspberrypi-rdk-mc-RNE-SDK-0.4-bundle.tgz is the Firebolt SDK bundle name.
Run the following commands
- chmod +x raspberrypi-rdk-mc-RNE-SDK-2.0.sh
- Follow the instructions in the screen regarding installation directory. If you don’t want to change the default directory, please press ENTER and proceed. You will need sudo permissions to install in the same directory. It’s easiest to run the above script in an empty directory and type to install in the current directory. If you don’t have sudo permissions install in a different directory.
D. Install Cross-Compiler tools
Assuming that the SDK is installed in sdk_root directory, issue the following command.
source sdk_root/environment-setup- chipset-rdk-linux-gnueabiExample:
source RNE-3.0/environment-setup-cortexa7t2hf-vfp-vfpv4-neon-rdk-linux-gnueabiIn the above command, RNE-3.0 is sdk_root directory
- Now all the cross compiler tools are available for development.
E. Build Sample apps
To build the samples, go to the samples directory and execute the following command:
- After the samples are built they are contained in a partnerapps directory for copying to the Raspberry-Pi.
Launch Sample Apps on Raspberry Pi
- Once the sample applications are built with the provided sdk a partnerapps folder will be created at the root of the samples directory.
- Place this directory at the root of the USB storage device.
- Insert the USB stick into the pi.
- Use a USB keyboard and press “Ctrl + E “ to reload the app manager.
- You will now see all the sample apps in the list.
- Select “Launch” tab to launch any app.
- To go back to the menu listing all the apps, press “Ctrl + m”.
- You can also have the app manager launch your own binary by renaming the binary partnerapp and placing it in the partnerapps folder at the root of the USB storage device.