D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
1Preface
1.1About this manual
This manual describes the DIVA Embedded Linux Kit (DIVELK)
and serves as a quick guide for start working with the
development kit.
1.2Copyrights/Trademarks
Ethernet® is a registered trademark of XEROX Corporation.
All other products and trademarks mentioned in this manual
are property of their respective owners.
All rights reserved. Specifications may change any time without
notification.
1.3Standards
DAVE Embedded Systems is certified to ISO 9001 standards.
1.4Disclaimers
DAVE Embedded Systems does not assume any responsibility
for availability, supply and support related to all products
mentioned in this manual that are not strictly part of the DIVA
CPU module, the DIVAEVB-Lite carrier board and the DACU
carrier board.
DIVA CPU Modules are not designed for use in life support
appliances, devices, or systems where malfunctioning of these
products can reasonably be expected to result in personal
injury. DAVE Embedded Systems customers who are using or
selling these products for use in such applications do so at their
own risk and agree to fully indemnify DAVE Embedded Systems for any damage resulting from such improper use or
sale.
July, 20155/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
1.5Warranty
DIVA SOM, DIVAEVB-Lite and DACU are guaranteed against
defects in material and workmanship for the warranty period
from the shipment date. During the warranty period, DAVE Embedded Systems will at its discretion decide to repair or
replace defective products. Within the warranty period, the
repair of products is free of charge provided that warranty
conditions are observed.
The warranty does not apply to defects resulting from improper
or inadequate maintenance or handling by the customer,
unauthorized modification or misuse, operation outside of the
product’s specifications or improper installation or
maintenance.
DAVE Embedded Systems will not be responsible for any
defects or damages to other products not supplied by DAVE Embedded Systems that are caused by a faulty DIVA module,
DIVAEVB-Lite or DACU.
1.6Technical Support
We are committed to making our products easy to use and will
help customers use our CPU modules in their systems.
Technical support is delivered through email for registered kits
owners. Support requests can be sent to support-diva@dave.eu.
Software upgrades are available for download in the restricted
download area of DAVE Embedded Systems web site:
http://www.dave.eu/reserved-area. An account is required to
access this area.
Please refer to our Web site at
http://www.dave.eu/dave-cpu-module-am335x-diva.html for the
latest product documents, utilities, drivers, Product Change
Notices, Board Support Packages, Application Notes,
mechanical drawings and additional tools and software.
July, 20156/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
Building
Embedded Linux
Systems By Karim
Yaghmour.
http://wiki.dave.eu/index.php/DivaEVB-Li
te
Provided with kit documentation
This book covers all matters involved in
developing software for embedded
systems. It is not a reference guide, but
it provides a complete and exhaustive
overview that helps the developer save
a lot of time in searching for such
information on the Internet
July, 20157/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
DocumentLocation
Training and Docs
sections of Free
Electrons website.
Tab. 1: Related documents
Brief but still exhaustive overview of the
Linux and Embedded Linux world.
1.8Conventions, Abbreviations, Acronyms
AbbreviationDefinition
BTNButton
DIVELKDIVA Embedded Linux Kit
EMACEthernet Media Access Controller
GPIGeneral purpose input
GPIOGeneral purpose input and output
GPOGeneral purpose output
PCBPrinted circuit board
PMICPower Management Integrated Circuit
PRUProgrammable Real-Time Unit
PSUPower supply unit
RTCReal time clock
SOCSystem-on-chip
SO-DIMMSmall Outline Dual In-line Memory
Module
SOMSystem-on-module
WDTWatchdog
Tab. 2: Abbreviations and acronyms used in this manual
July, 20158/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
Revision History
VersionDateNotes
1.0.0June 2013First official release
1.0.1June 2013Added pictures
Minor fixes
1.0.2January 2014Minor fixes
1.0.3October 2014Updated for DIVELK 2.0.0 release
1.0.4November 2014Minor fixes
1.0.5June 2015Updated for DIVELK 2.1.0 release
1.0.6July 2015Minor fixes
July, 20159/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
2Introduction
2.1DIVA SOM
DIVA is a family of
system-on-modules (SOM) that
belongs to DAVE Embedded SystemsLite Line product
class. DIVA is based on Texas
Instruments "Sitara" AM335x
Cortex-A8 application processor
and is built with SO-DIMM 204
pin form factor.
Fig. 1: DIVA CPU module
DIVA offers lots of graphics,
processing, peripherals and industrial interface options,
allowing customers to implement cost-effective design. The
Programmable Real-Time Unit and Industrial Communication
Subsystem (PRU-ICSS) adds further flexibility and enables
additional peripheral interfaces and real-time protocols such as
EtherCAT, PROFINET, EtherNet/IP, PROFIBUS, Ethernet
Powerlink.
Typical applications for DIVA are:
●Industrial sensors and I/O units
●Industrial drives with integrated
communications and multi-axis
motor control
●Programmable logic/automation
controllers (PLC/PAC) with
integrated industrial
communications such as
PROFIBUS, CAN and Ethernet
●Home and Building Automation
For further information, please refer
to DIVA Hardware Manual.
July, 201510/52
Fig. 2: DIVA plugged on
DIVAEVB-Lite
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
2.2Embedded Linux
When we talk in general about Embedded Linux1, we refer to
an embedded system running Linux operating system. As the
reader probably knows, Linux was first developed on the PC
platform, based on the famous x86 architecture. Typical
embedded systems using an operating system (O.S. for short),
are equipped with much lighter software. Recent hardware
advances made these systems so powerful that now they can
run a complex O.S. such as Linux. This choice has several
benefits:
●The developer can count on a reliable and efficient software,
developed and maintained by a large community all over the
world
●The software is open-source, so developers have access to the
whole source code
●Since Linux runs on many different platforms (x86, PowerPC,
ARM, SuperH, MIPS etc.), applications are portable by definition
●There are a lot of open-source applications running on top of
Linux that can easily be integrated in the embedded system
●Last but not least, there are no license fees.
The typical Embedded Linux system is composed of:
●the bootloader – this software is run by the processor after
exiting the reset state. It performs basic hardware initialization,
retrieves the Linux kernel image (for example from a remote
server via the TFTP protocol) and launches it by passing the
proper arguments (command line and tags)
●the Linux kernel
●the root file system – this file system is mounted (which means
"made available", "attached") by the kernel during the boot
process on the root directory (“/”).
The typical developing environment for an Embedded Linux
system is composed of a host machine and a target machine.
The host is used by the developer to compile the code that will
1An exhaustive description of this topic is beyond the scope of this document. We recommend reading
specific documents, eg Building Embedded Linux Systems By Karim Yaghmour.
July, 201511/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
run on the target. In our case the target is obviously the DIVA
module, while the host is assumed to be a PC running the Linux
operating system. The Linux kernel running on the target can
mount the root file system from different physical media. For
example, during the software development, we strongly
recommend using a directory exported via NFS by the host for
this purpose (see the example configuration called net_nfs);
however, for system deployed to the field, the root file system
is usually stored into a flash device.
2.3DIVELK
DIVA Embedded Linux Kit (DIVELK for short) provides all the
necessary components required to set up the developing
environment for:
●building the bootloader (U-Boot)
●building and running Linux operating system on DIVA-based
systems
●building Linux applications that will run on the target
The heart of DIVA SOM is Texas Instruments "Sitara" AM335x
microprocessors. From a software point of view, Texas
Instruments supports this processor family through so-called
Linux EZ Software Development Kit (EZSDK for short). EZSDK
releases are published on a regular basis. For more details
please refer to:
DIVA Embedded Linux Kit, in turn, is directly derived from
EZSDK. Hence DIVELK documentation often refers to EZSDK
resources.
DAVE Embedded Systems adds to the latest EZSDK from
Texas Instruments the customization required to support the
DIVA platform. For this reason most of the documentation
provided by TI remains valid for the DIVELK development kit.
However, some customization is required, in particular at
bootloader and linux kernel levels.
DIVELK 2.0.0 introduces support for the Yocto build system,
July, 201512/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
an open source collaboration project that provides templates,
tools and methods to help creating custom Linux-based systems
for embedded products. It is derived from OpenEmbedded, but
it provides a less steep learning curve, a graphical interface for
Bitbake and very good documentation. DAVE Embedded Systems provides the so-called recipes/meta-repositories
required to build all the DIVELK software components
(bootloader, kernel and root file system) with the Yocto build
system. For further details, please refer to
https://wiki.yoctoproject.org/wiki/FAQ.
July, 201513/52
D I V E L K Q u i c k S t a r t G u i d ev . 1 . 0 . 6
2.3.1Kit Contents
The following table lists the DIVELK components
ComponentDescription
DIVA SOM
CPU: TI AM3359
SDRAM: 512 MB DDR3
NOR: bootable SPI flash 32 MB
NAND: 1GB