Difference between revisions of "Getting Started Guide for the AM35x EVM"

From RidgeRun Developer Connection
Jump to: navigation, search
(System requirements)
(System requirements)
Line 34: Line 34:
 
*** To host the NFS server to boot the EVM with NFS as root filesystem .  
 
*** To host the NFS server to boot the EVM with NFS as root filesystem .  
  
*CodeSourcery ARM tool chain version 2009-q1. [http://www.codesourcery.com/sgpp/lite/arm/portal/release858]
+
**CodeSourcery ARM tool chain version 2009-q1. [http://www.codesourcery.com/sgpp/lite/arm/portal/release858]
  
 
To install the toolchain, follow the sequence below. These are to be executed on the Linux host platform.
 
To install the toolchain, follow the sequence below. These are to be executed on the Linux host platform.

Revision as of 14:48, 17 March 2010

About this section

RidgeRun SDK for am35x EVM is a small footprint Linux support package that provides support for EVM evaluation board, and can be easily ported to custom hardware, while holding a minimal footprint and the functionality that you expect from a Linux distribution.

am35x-EVM SDK includes:

  • U-boot v2009.01 for OMAP-L138 DVEVM with SPI booting support.
  • Linux Kernel 2.6.29 (PSP ).
  • Variety file system support.
  • Developer tools for debugging and profiling.
  • Integrated configuration system.
  • SDK installer for using with U-boot.

This section describes how to configure , compile, install and work with RidgeRun SDK Platform for AM35x platform running Linux.This SDK provides a fundamental software platform for development, deployment and execution on.

The instructions contains the information necessary to:

  • Install the SDK.
  • Build the sources contained.
  • Configure the drivers/ modules.

The document also provides detailed description of drivers and modules specific to this platform.

System requirements

Hardware Requirements:

  • AM3517 Beta EVM.

Software Requirements:

  • Building and running all of the PSP components requires:
    • A Linux machine with ubuntu 9.04 or higher helpful for:
      • Compiling U-Boot and Linux kernel.
      • To host the TFTP server required for downloading kernel and file system images from U-Boot using Ethernet.
      • To host the NFS server to boot the EVM with NFS as root filesystem .
    • CodeSourcery ARM tool chain version 2009-q1. [1]

To install the toolchain, follow the sequence below. These are to be executed on the Linux host platform.

$ mkdir –p /home/<useracct>/toolchain
$ cp arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 /home/<useracct>/toolchain
$ cd /home/<useracct>/toolchain
$ tar -jxvf  arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
$ rm arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

Configuration of the SDK

The default configuration of the SDK is for booting from nand flash, unless stated otherwise on the release notes of the specific SDK.

>$ make config
  
  Ridgerun Linux SDK
  Board configuration: LogicPD AM35x EVM
 
  Processing toolchain...
  Processing kernel...
  Processing fs...
    Entering host-apps...
    Entering apps...
    Entering /home/ezuniga/devdirs/SITARA-ALPHA/toolchain...
    Entering arch...
    Entering mach...
    Entering proprietary_src...
    Entering myapps...
  Processing bootloader...
  Processing installer... 
  • The menu obtained by the sdk will be :
 RidgeRun SDK Configuration
 ────────────────────────────────────────────────────────────────────────────────────
  ┌───────────────────────── RidgeRun SDK Configuration ──────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted   │  
  │  letters are hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes   │  
  │  features.  Press <Esc><Esc> to exit, <?> for Help, </> for Search.  Legend:  │  
  │  [*] built-in  [ ] excluded  <M> module  < > module capable                   │  
  │ ┌───────────────────────────────────────────────────────────────────────────┐ │  
  │ │        Architecture configurations  --->                                  │ │  
  │ │        Installer Configuration  --->                                      │ │  
  │ │        Bootloader Configuration  --->                                     │ │  
  │ │        File System Configuration  --->                                    │ │  
  │ │        User Applications  --->                                            │ │  
  │ │        Kernel configuration  --->                                         │ │  
  │ │        Toolchain configurations  --->                                     │ │  
  │ │        Proprietary software  --->                                         │ │  
  │ │    ---                                                                    │ │  
  │ │        Load an Alternate Configuration File                               │ │  
  │ │        Save an Alternate Configuration File                               │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ │                                                                           │ │  
  │ └───────────────────────────────────────────────────────────────────────────┘ │  
  ├───────────────────────────────────────────────────────────────────────────────┤  
  │                       <Select>    < Exit >    < Help >                        │  
  └───────────────────────────────────────────────────────────────────────────────┘