Openrg SDK Installation Guide: Jungo Software Technologies LTD
Openrg SDK Installation Guide: Jungo Software Technologies LTD
Openrg SDK Installation Guide: Jungo Software Technologies LTD
Version 4.8
Jungo Software Technologies Ltd.
Table of Contents
1. Overview ................................................................................................................................ 1 1.1. What Does the SDK Provide? .................................................................................... 1 1.2. Software and Hardware Requirements ....................................................................... 2 1.3. Windows Users ........................................................................................................... 3 2. Installation Process ................................................................................................................ 4 3. Compiling an Image .............................................................................................................. 6 4. Burning an Image .................................................................................................................. 7 5. Uninstall Process ................................................................................................................... 8 6. Troubleshooting ..................................................................................................................... 9 6.1. I Have a Missing Package .......................................................................................... 9 6.2. I Have a Compilation Problem ................................................................................... 9 6.3. My Evaluation License has Expired ........................................................................... 9 6.4. How do I Perform Multiple Installations of OpenRG on a Single Download?......... 10
iv
1
Overview
This document takes you through the OpenRG Software Development Kit (SDK) installation process, and assists you in solving potential installation difficulties.
Overview
License files (<*>.lic). Key features source code and the Linux kernel. Tools to help you work in the OpenRG environment such as compiler, linker, assembler, debugger and others.
Overview
2
Installation Process
Note: In order to install the SDK, you must have certain standard Linux packages installed. If a package is missing during the installation process, you will be prompted to install it to complete the process. The Linux packages you will need are the standard gcc, make and libc packages for your Linux distribution. If you can compile "hello world", you are ready to install the OpenRG SDK. To install the development environment on your host PC perform the following: 1. Download the SDK from http://www.jungo.com/openrg/download.html. 2. Extract the SDK archive, usually rg_sdk_install.tgz:
$ tar xvzf rg_sdk_install.tgz
4. The install script is interactive. Follow its instructions: 1. If prompted, select the target architecture to install. Enter 'y' to confirm the installation. The script will fetch and extract source packages and toolchains from the Internet. These actions may take some time, depending on your Internet connection speed. 2. If interested, change the default directory of the development tree when prompted to enter the installation directory. For example, ~/rg-4_0_11. The install script copies the toolchain to the /usr/local/openrg directory, and the OpenRG development tree and license file to the <~/rg-4_0_11>/rg directory.
1998-2007 Jungo Software Technologies Ltd. 4
Installation Process
Have the root password ready, you will need to provide it to the script when installing the toolchain. 5. After a successful installation, instructions for compiling the image appear on the screen (refer to chapterchap_compile). Note: After installing the SDK, most OpenRG configurations will require: Bison - GNU Project parser generator. Flex - Contains a utility for generating programs that perform pattern-matching on text.
3
Compiling an Image
1. Change the directory to where you installed the OpenRG development tree, for example:
$ cd ~/rg.4_8_11/rg
The "platform-specific distribution" part correlates with your board's model. The license is provided with your distribution. 3. To build the image files, execute:
make
4. The compilation process will produce openrg.img, which is a binary that can be downloaded and burnt using OpenRG's 'flash load' CLI command. You can find the image in the build subdirectory of the OpenRG development tree (i.e. rg.4_8_11/rg/build). The factory settings can be found in the build/pkg/main subdirectory (i.e. rg.4_8_11/rg/build/ pkg/main/rg_factory).
4
Burning an Image
Burn the image to the board according to the installation guide of your chosen platform. You can download installation guides for each of the platforms from: http://www.jungo.com/ openrg/install.html .
5
Uninstall Process
In order to uninstall the SDK, follow these steps: 1. Remove sources:
$ rm -rf rg-<version>
Provide an administrator password. 3. Remove toolchains, which are copied by the install script to /usr/local/openrg:
# rm -rf /usr/local/openrg
6
Troubleshooting
6.1. I Have a Missing Package
The following is an example of an error message that can appear during your installation process:
CRITICAL: Could not find package rg-build_4.0.30_src.ejpkg jpkg failed to download/extract required package.
In this case, the rg-build_4.0.30_src.ejpkg package could not be found. If you encounter a similar message, please: 1. Make sure you are connected to the Internet. 2. If this error still appears, contact Jungo's support team at [email protected], and we will provide you with the missing package.
Troubleshooting
1. You may extend your evaluation for an additional 30-day period, by contacting Jungo's support team at [email protected]. 2. If you wish to purchase a commercial license, please contact your local representative, which you can locate at http://www.jungo.com/contact.html , or write directly to [email protected].
10