Difference between revisions of "Installing EMAC OE 4.0 SDK"

From wiki.emacinc.com
Jump to: navigation, search
Line 1: Line 1:
{{todo|Polish|Michael Gloff|project=oe 4,Revise, mg}}
+
{{todo|Polish|Michael Gloff|project=oe 4,Revise, mg, InProgress}}
  
{{EMAC OE SDK Conventions}}
+
Before beginning installation of the SDK, it is important that the development system has the required tool. These tools can either be command line interface (CLI) or graphical utilities. Both options are described in this guide.
  
Before beginning installation of the SDK, it is important to prepare the development system with the tools necessary to get the job done. These tools can either be command line interface (CLI) or graphical utilities. Both options are described in this guide.
+
{{mbox | type = notice | style = margin-left: 0; margin-bottom: 1em; | text = The SDK archive and directory names will differ based on which SDK is being installed. For example, the toolchain binary names will reflect the target CPU architecture. What is shown in this guide is for demonstration purposes only.}}
 
 
{{mbox | type = notice | style = margin-left: 0; margin-bottom: 1em; | text = The SDK archive and directory names will differ based on which SDK is being installed. For example, the toolchain binary names will reflect the target CPU architecture. What is shown in this guide is for demonstration's sake.}}
 
  
 
== Required tools ==
 
== Required tools ==
* Web browser (recommended [https://www.mozilla.org/en-US/firefox/new/ Mozilla Firefox], [https://www.gnu.org/software/gnuzilla/ Gnuzilla Icecat], [http://www.konqueror.org/download/ KDE Konqueror])
+
* Web browser (recommended [https://www.mozilla.org/en-US/firefox/new/ Mozilla Firefox], [https://www.google.com/intl/en/chrome/browser/ Google Chrome], [http://www.konqueror.org/download/ KDE Konqueror])
 
* Archiving tool. There are two options available:
 
* Archiving tool. There are two options available:
** Graphical tools ([[Ark]] for KDE, [[File Roller]] for GNOME)
+
** Graphical: [http://utils.kde.org/projects/ark/ Ark] for KDE, [http://fileroller.sourceforge.net/ File Roller] for GNOME
** CLI tool ([[tar]] is standard)
+
** CLI: [http://www.gnu.org/software/tar/ Tar] is standard
 
* <code>dialog</code> required for CLI use of SDK ([[see the developer's website]]).
 
* <code>dialog</code> required for CLI use of SDK ([[see the developer's website]]).
  
 
== Recommendations ==
 
== Recommendations ==
The following are some recommended install opations
+
The following are some recommended install options:
 
* The SDK should be kept in the user's home directory. For example,  
 
* The SDK should be kept in the user's home directory. For example,  
 +
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
# /path/to/sdk/ might expand to something like
+
# /path/to/sdk/ might be located on the filesystem at:
/home/user_name/cust_software/
+
/home/user_name/EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/
 
</syntaxhighlight>
 
</syntaxhighlight>
To clarify, this is the location where <code>EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/</code> will end up.
+
 
 +
This is the location where the downloaded SDK eg. <code>EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/</code> will end up.
 
* The default SDK root folder name should be kept at its default name since this preserves the version information for the EMAC OE SDK.
 
* The default SDK root folder name should be kept at its default name since this preserves the version information for the EMAC OE SDK.
  
Line 27: Line 27:
  
 
<cl>
 
<cl>
1. Download the SDK. The latest version can be found on the public EMAC FTP site. Be sure to download the SDK that matches the architecture of your target system. Contact EMAC if unsure.
+
1. Download the SDK. The latest version can be found on the [ftp://ftp.emacinc.com/Controllers/Development_Kits/EMAC_Open_Tools/Linux/ EMAC ftp site]. Be sure to download the SDK that matches the architecture of your target system.  
 
* Uncompress the SDK.
 
* Uncompress the SDK.
  * Using a graphical archiving tool, uncompress the archive files to the chosen development directory. If you need assistance with this, please see the documentation for your graphical archiving tool.
+
  * Using a graphical archiving tool, double click the archive file and click extract. If you need assistance with this, please see the documentation for your graphical archiving tool.
 
  * Alternatively, you can uncompress the archive from the CLI using tar:  
 
  * Alternatively, you can uncompress the archive from the CLI using tar:  
 +
 
  <syntaxhighlight lang="bash">
 
  <syntaxhighlight lang="bash">
  developer@ldc:~$ cd /target/directory
+
  developer@ldc:~$ cd /install/directory
  developer@ldc:~$ bzip2 -cd /download/directory/EMAC-OE-arm-linux-gnuabi-SDK_XX.YY.rZZ.tar.bz2 | tar xvf -
+
  developer@ldc:~$ tar -xjvf /download/directory/EMAC-OE-arm-linux-gnuabi-SDK_XX.YY.rZZ.tar.bz2
 
  </syntaxhighlight>
 
  </syntaxhighlight>
This will produce a subdirectory within the target directory:
+
 
 +
<br />
 +
The list of extracted files will be output to the screen. This may take a minute.
 
  <syntaxhighlight lang="bash">
 
  <syntaxhighlight lang="bash">
 
  developer@ldc:~$ ls
 
  developer@ldc:~$ ls
 
  </syntaxhighlight>
 
  </syntaxhighlight>
 +
<br />
 +
 +
A subdirectory within the installation directory will be created containing the SDK:
 
  <syntaxhighlight lang="console">
 
  <syntaxhighlight lang="console">
 
  ...
 
  ...

Revision as of 18:45, 13 November 2013

TODO: {{#todo:Polish|Michael Gloff|oe 4,Revise, mg, InProgress}}

Before beginning installation of the SDK, it is important that the development system has the required tool. These tools can either be command line interface (CLI) or graphical utilities. Both options are described in this guide.

Required tools

Recommendations

The following are some recommended install options:

  • The SDK should be kept in the user's home directory. For example,
# /path/to/sdk/ might be located on the filesystem at:
/home/user_name/EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/

This is the location where the downloaded SDK eg. EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/ will end up.

  • The default SDK root folder name should be kept at its default name since this preserves the version information for the EMAC OE SDK.

Procedure

  1. Download the SDK. The latest version can be found on the EMAC ftp site. Be sure to download the SDK that matches the architecture of your target system.

  2. Uncompress the SDK.

    • Using a graphical archiving tool, double click the archive file and click extract. If you need assistance with this, please see the documentation for your graphical archiving tool.

    • Alternatively, you can uncompress the archive from the CLI using tar:

       developer@ldc:~$ cd /install/directory
       developer@ldc:~$ tar -xjvf /download/directory/EMAC-OE-arm-linux-gnuabi-SDK_XX.YY.rZZ.tar.bz2
      

    The list of extracted files will be output to the screen. This may take a minute.

     developer@ldc:~$ ls
    


    A subdirectory within the installation directory will be created containing the SDK:

     ...
     EMAC-OE-arm-linux-gnueabi-SDK_XX.YY/
     ...
    

Next Steps

Once the EMAC SDK is installed, the next step is to configure the SDK .