Difference between revisions of "Naon Embedded Linux Kit (NELK)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Quick start)
(Quick start)
Line 82: Line 82:
==Quick start==
==Quick start==
Quick start procedure depends on the carrier board you are working with. Please click on the appropriate link below:
Quick start procedure depends on the carrier board you are working with. Please click on the appropriate link below:
* [[Quick start (DDS)]]
* [[DDS carrier board#Quick start]]
* Quick start (NADP) (coming soon)
* Quick start (NADP) (coming soon)

Revision as of 15:00, 26 April 2012

Info Box
Naon am387x-dm814x.png Applies to Naon

Introduction[edit | edit source]

What is[edit | edit source]

Major software components of an embedded linux system are:

  • bootloader
  • operating system kernel
  • root file system, including user-space application and libraries
  • tool chain (on development host)

Naon Embedded Linux Kit (NELK for short) provides all the necessary stuff required to set up the developing environment to:

  • build the bootloader (U-Boot)
  • build and run Linux operating system on Naon-based systems
  • build Linux applications that will run on the target.

The kit is composed by:

  • hardware platform composed by Naon system-on-module (SOM for short) and carrier board. Supported carrier boards are:
    • DDS
    • NADP (coming soon)
  • U-Boot bootloader sources
  • Linux kernel sources
  • Technical documentation such hardware manuals, mechanical drawings, reference schematics, application notes etc.

The documentation related to the software issues helps the user to start and configure the bootloader and the operating system quickly by hiding most of complexity of underlying hardware. For more details about hardware characteristics Naon, please refer to Hardware Manual (TBD). Access to source files is granted to registered kit owners' only.

What is not[edit | edit source]

The kit is not a complete Linux programming guide nor a Linux Reference Guide. Internet provides tons of information, tutorials and examples about writing applications and drivers for this operating system and how to work with it from the user's point of view (just try to type “Linux programming” in your favourite search engine for example). As the kit is heavily based on open-source community-maintained software projects, NELK does not provide exhaustive documentation for these software items but it points out where to find the information on the Internet or books. For example, for the U-Boot bootloader, the kit does not list all the commands it handles but provides the link to the on-line documentation and to the public mailing list used by its community.

For novice users who have no experience at all about embedded Linux systems, reading of this book http://shop.oreilly.com/product/9780596002220.do is strongly recommended. Practically speaking, that book covers all the issues involved in developing software for such systems (from tool chain organization to the most famous file systems running on top of MTD). It is not a reference guide, but it provides a complete and exhaustive overview that makes the developer to save a lot of time in searching such information over the Internet. If you need a briefer but still exhaustive overview of the Linux and Embedded Linux world, please have a look at the training section of Free Electrons web site: http://www.free-electrons.com.

Support service[edit | edit source]

Technical support is delivered through email exclusively. Only registered kit owners' can access the support service. The address is support-naon@dave.eu. Technical support and access to download area are lifetime for processor module buyers and one year for the other customers.

The big picture[edit | edit source]

The heart of Naon SOM is Texas Instruments DaVinci Digital Media Processor TMS320DM8148 (http://www.ti.com/product/tms320dm8148). From software standpoint, Texas Instruments supports this processor - and its derivatives such as Sitara AM387x http://www.ti.com/product/am3874 - through so-called Linux EZ Software Development Kit (EZSDK for short). EZSDK releases are publishedon a regular basis. For more details please refer to:

Naon Embedded Linux Kit, in turn, is directly derived from EZSDK. Hence NELK documentation often refers to EZSDK resources.

The following table shows how NELK releases are related to EZSDK releases.

NELK version
Naon module (PCb version)
Supported carrier boards
U-Boot version
Linux version
TI EZSDK 5.03 (December 2011)

Dave adds to the latest EZSDK the customization required to support Dave's platforms (e.g. Naon)

For this reason most of the documentation provided by TI itself is valid in the SDK provided by us too. Anyway some customization is required

NELK contains all the required software to develop Linux application on Naon platform:

  • u-boot bootloader source code and pre-build binaries
  • Linux kernel source code and pre-build binaries
  • pre-build OMX libraries (most OMX source code is under NDA from TI)
  • gstreamer source code
  • sample development (huge!) root file system
  • sample production (small enough to fit Naon on-board storage) root file system
  • tools and utilities

Naon overview[edit | edit source]

Please refer to Naon SOM for an overview about Naon system-on-module architecture.

Quick start[edit | edit source]

Quick start procedure depends on the carrier board you are working with. Please click on the appropriate link below:

Developing environment[edit | edit source]

HowTo Build[edit | edit source]

Generally speaking, if you are using Dave Virtual Development Kit building the whole kit is a matter of:

  1. startup and login into the virtual machine
  2. enter the right directory
  3. execute make all && sudo make install

The make all command will build all the components of the development kit (e.g. U-Boot binaries, Linux kernel, custom libraries and utilities) and install them into the root file system.