freescale-frs imx53_mentor inflexion quick start board training final

Upload: prova34

Post on 03-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    1/37

    I.MX53 QUICK START BOARD

    TRAININGLow Cost, Open Source Development Platform

    For General Embedded Market

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    2/37

    2

    Introduction

    i.MX53 Quick Start Board

    Android Development

    Inflexion UI for i.MX Processors

    Agenda

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    3/37

    Your Interfaceto the World

    i.MX families offer the most versatile platforms for multimedia and display applications,bringing personality and interactivity to a whole new world of products

    i.MX

    3

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    4/37

    4

    i.MX53 Target Markets

    Tablet Smartphone

    Personal Navigation

    Mobile Internet Devices

    Video-enabled IP Phone

    Digital Photo Frame

    Connected TV

    Smart Monitor

    Security and Surveillance Industrial HMI

    Digital Signage / Kiosks

    Barcode Scanners

    Printers

    Connectivity and Telematics Digital Instrument Clusters

    Video and Navigation

    Patient Monitors Telehealth Infusion Pumps

    Consumer Industrial

    Automotive Medical

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    5/37

    CPU: Single core400 800MHz500 1000 DMIPS

    Graphics: Basic 2D HW

    Video: QVGA D1 dec

    LCD: Segmented to WVGA

    PMIC: Integrated

    i.MX Application Processor Family Roadmap

    i.MX28Execution

    Production

    Proposal

    Samplesw/BSP

    Production

    i.MX53

    i.MX51

    i.MX27

    i.MX25

    i.MX31 i.MX35ARM9ARM11Cortex-A8Cortex-A9

    i.MX50

    i.MX233

    STMP37xx

    2011 2012 2013

    Prem

    ium

    Balanced

    Entry

    CPU: 1-2 core500MHz 1GHz650 - 7000 DMIPS

    Graphics: 2D and/or 3D HW

    Video: D1 to 1080p enc/dec

    LCD: WVGA to 1080p

    PMIC: Integrated/Separate

    CPU: 800MHz-1GHz+ multi-core2500 14,000+ DMIPS

    Graphics:Adv 2D+3D HW

    Video: >1080p enc/dec

    LCD: >1080p

    PMIC: Integrated/Separate

    i.MX 6Quad

    i.MX 6Dual

    i.MX 6Solo

    i.MX 6Solo Lite

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    6/37

    Specifications: CPU: Cortex-A8

    1.0GHz Consumer800MHzAutomotive/Industrial

    Process: 65nm, LP/GP

    Core Voltage: 0.85V-1.3V Package: 19x19 0.8mm 529 ball BGA

    12x12 0.4mm PoP (Consumer) Case Temp: -20 to 70C (Consumer)

    -40 to 85C (Automotive/Industrial)

    Key Features and Advantages High performance CPU: Cortex A8 2GB DDR2/3, LPDDR2 memory at 400MHz HDD: PATA, S-ATA interface One eSDHC ports supports MMC4.4 including DDR mode Ethernet 10/100 with IEEE1588 Delivers rich graphics and UI in HW

    OpenGL ES 2.0 3D accelerator (AMD Z430) OpenVG 1.1 graphics accelerator (AMD Z160) Neon Vector floating point co-processor Display up to UXGA (1600x1200)

    Drives high resolution video in HW Multi-format HD1080 video decode Multi-format HD720 video encode High quality video processing (resizing, de-interlacing, etc)

    Displays: Parallel, LVDS or VGA Audio:

    I2S, SPDIF Rx/Tx, ESAI Secure boot (HAB), cryptographic accelerators, TZ More analog integration: simplified system, reduced system BOM

    Temperature Monitor for smart performance control Linear supply regulators 32KHz Oscillator

    Availability: May 2011 BGA, June 2011 PoP

    i.MX53 Block Diagram

    i.MX53CPU Platform

    ConnectivitySystem Control

    Cortex-A8

    Timers

    Security

    Sahara v4

    Trust Zone

    RTIC

    SCC v2

    SRTC

    Multimedia

    Display

    Secure JTAG

    Power Mgmt

    PLL x4

    Clock Reset

    Neon

    Watch Dog x2

    Timer x3

    PWM x2

    Memory

    ROM

    RAM

    Fast IrDA

    eMMC 4.3/SD 2.1 x4

    CSPI x3

    UART x5

    Keypad

    I2C x3

    ESAI

    SSI/I2S x3

    eMMC 4.4

    SATA

    HS USB OTG +PHYHS Host+PHY

    HS ULPI Host x2

    SPDIF Tx/Rx

    GPIO

    10/100 Ethernet

    ETM

    1080p30 Video Decoder720p30 Video Encoder

    1080p30 @ 60Hz TV Out

    Resizing & Blending

    Inversion / Rotation

    Image Enhancement

    De-interlacing

    eFUSES

    Smart DMA

    32KBi-cache

    32KBd-cache

    256KBL2-cache

    Vector FloatingPoint Unit

    OpenGL ES 2.0 + VG1.1

    Camera Interface

    PATA

    Analog VGA Out

    Parallel (RGB) UXGA

    LVDS UXGA

    2GB DDR2/DDR3/LPDDR2 @ 400MHz

    SLC/MLC NANDUp to 16-bit ECC

    Ext. Memory I/F

    32kHz Osc

    Temp Monitor

    LDO Supply x2

    NOR

    CAN x2MLB50ASRC

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    7/377

    Introduction

    i.MX53 Quick Start Board

    Android Development

    Inflexion UI for i.MX Processors

    Agenda

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    8/37

    Debug

    UART DB9

    Connector

    SATA

    7-pin data

    Connector

    VGA DB15

    Connector

    8

    Expansion Port

    Connector

    Reset Button

    Power Button

    Wall 5V

    Power Jack

    HeadphoneJack

    Microphone

    Jack

    Ethernet RJ45/

    Dual USB Host

    Jack

    Micro-B USB

    Device Jack

    User Defined

    Buttons

    SD Card

    Slot

    MicroSD

    Card Slot

    JTAG Connector on back sideLVDS Connector on back side

    i.MX53 Quick Start Board

    DDR3 SDRAM

    i.MX53

    Application

    Processor

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    9/379

    i.MX53 Quick Start Board Features

    Key Features i.MX53 1Ghz Cortex-A8 Processor Dialog DA9053 PMIC

    1 GB DDR3 Memory 3 x 3 8-layer PCB

    Display LVDS connector VGA connector Parallel LCD add-on card via Expansion connector

    24 bit 4.3 800x480 WVGA with 4-wire touch screen Part # MCIMX28LCD

    HDMI add-on card via Expansion connector 24 bit HDMI output port also contains SPDIF audio Part # MCIMXHDMICARD

    Audio SPDIF output via HDMI add-on card Freescale SGTL5000 Audio Codec Microphone jack Headphone jack

    Expansion Connector Enables Parallel LCD or HDMI output Camera CSI port signals I2C, SSI, SPI signals

    Connectivity Full-size SD/MMC card slot Micro SD card slot 7-pin SATA data connector

    10/100BT Ethernet port 2x High-Speed USB Host port

    1x Micro USB Device port

    Debug JTAG connector

    DB-9 UART port

    Miscellaneous 3-axis Freescale Accelerometer (MMA8450QT) Power Supply 5V, 2A

    Included in the kit along with worldwide adapters

    OS Support Linux from Freescale

    4GB micro SD card with image included in the kit

    Android 2.2 from Adeneo Windows Embedded Compact 7 from Adeneo

    Tools Support Segger/CodeSourcery, Macgraigor, IAR debug/IDE tool

    chain Inflexion UI for i.MX processors by Mentor Embedded VMware playerto bring up image on a Windows PC

    Supported by iMXcommunity.org

    $149

    * features in bold are not present in Beagle Board

    PN# MCIMX53-START

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    10/37

    Quick Start

    An Open PlatformMar 1, 2011 launch

    Quick Start Board Value

    Feature Rich

    Integrated HD multimedia

    & HMI functionalityExpansion connectorAndroid / Linux / WinFree UI tool

    Great Out-of-boxExperience

    VMware playerFast bring up

    Low Cost Platform

    $149Low cost dev tools

    VibrantiMXcommuni ty.org

    Blogs, Forums,Photos & Videos

    Wiki at imxdev.org

    Ease ofUse

    Complete

    Price

    Community

    Ecosystem

    ComprehensiveAdeneo, Mentor Embedded,Segger, CodeSourcery,Macgraigor, IAR, etc.

    10

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    11/3711

    Introduction

    i.MX53 Quick Start Board

    Android Development

    Inflexion UI for i.MX Processors

    Agenda

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    12/37

    BSP Support on the i.MX53 Quick Start board BSP Availability

    Linux with Ubuntu from Freescale

    Android Froyo 2.2 from Adeneo

    Windows Compact 7 from Adeneo

    Optimized to use i.MX hardware

    Video Processing

    Multimedia Codecs

    Graphics

    Flash 10

    SilverLight (Compact7), X-Windows

    (Ubuntu)

    Attend Adeneos class on Windows

    Embedded Compact 7 BSP!

    Streamline your BSP &Application development

    using engineering services,technical support and

    product training offered byAdeneo

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    13/3713

    What is Android?

    A free, open source and fully customizable software platform and

    operating system targeted at mobile devices

    Optimized software stack may be used for any target market product

    (medical, industrial, automation, etc)

    Google certification only needed to access Android market-place

    Android offers a full software stack: Linux operating system, middlewareand key applications

    Android software stack also supports a rich set of APIs needed to develop

    great applications

    Also available is a free SDK to develop compelling applications in Java(with the ability to support application developed in C/C++ through NDK)

    Android is available under version 2 of the Apache Software License

    (ASL)

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    14/37

    i.MX53 Android Release Details

    Android SDK

    i.MX53

    rev1.0

    i.MX53

    rev1.0

    i.MX53

    rev1.0

    JulJunMay Aug Sep Oct Nov DecMar Apr

    2010 2011

    JanFeb MarApr MayJun OctDec

    Android R8.1

    i.MX53 EVK Rev B

    Android 2.1 (Eclair)

    Kernel: 2.6.31

    Andro id R9.2

    i.MX53 EVK Rev B

    Android 2.2 (Froyo)

    Kernel: 2.6.31

    Higher CTS pass rate

    Storage/UMS stability

    System stability

    Performance optimize(music player, Gallery3D,Live wallpaper )

    Flash10 optimization

    Android R9

    i.MX53 EVK Rev B

    Android 2.2 (Froyo)

    Kernel: 2.6.31

    Dual display with resized

    UI on TV

    Enable armv7

    OpenGL ES 2.0 GPUAcceleration

    Improved powerconsumption

    14

    i.MX53

    rev2.0

    i.MX53

    rev2.0

    Andr oid R10.x

    i.MX53 SABRE Tablet

    Android 2.3(Gingerbread)

    Kernel: 2.6.35

    i.MX53

    rev1.0

    Android R9.3

    (Adeneo)

    i.MX53 Quick Start

    Android 2.2 (Froyo)

    Kernel: 2.6.35

    Android fastboot utility

    Android R9.3

    i.MX53 SABRE Tablet

    Android 2.2 (Froyo)

    Kernel: 2.6.35

    Display: LVDS

    Capacitive Touch

    Freescale develops and optimizes the Android BSP on

    the SABRE platform for tablet reference design

    Adeneo uses this fully tested and qualified release

    and ports the BSP to the Quick Start board

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    15/3715

    Freescales Development Activities

    LINUX KERNEL

    LIBRARIES ANDROID RUNTIME

    APPLICATION FRAMEWORK

    APPLICATIONS

    Home Browser Contacts Phone

    ActivityManager

    WindowManager

    ContentProviders

    View SystemNotification

    Manager

    PackageManager

    TelephonyManager

    ResourceManager

    LocationManager

    XMPP Service

    SurfaceManager MediaFramework SQLite

    OpenGL|ES FreeType WebKit

    SGL SSL libc

    Core Libraries

    Dalvik VirtualMachine

    Display Driver Camera Driver BluetoothDriver Flash MemoryDriver Binder (IPC)Driver

    USB Driver Keypad Driver WiFi Driver Audio DriversPower

    Management

    FSL Optimizes the Android stack for i.MX53

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    16/37

    Quick Start Board Android Release Package

    16

    Source patch

    Applied to the Android and Linux source code from kernel.org Includes the patch to the Uboot bootloader

    Includes the BSP drivers and HAL support

    Patches to optimize Android libraries for the i.MX53 Quick Start

    Pre-built images

    Uboot bootloader

    Linux Kernel

    System and User data images

    Documentation

    User Guide Setting up the build environment

    Programming images on to the SD card

    Boot configurations

    Additional help

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    17/37

    Getting Started with Android on thei.MX53 Quick Start Board

    17

    Follow the User Guide to quickly create an SD card with the Android

    images

    For Touch capability, use the Quick Start with a supported LVDS or

    WVGA panel (otherwise the VGA or HDMI display interface)

    Power ON the system and youre done!

    For application development, download the Android SDK

    http://developer.android.com/sdk/index.html

    http://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.html
  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    18/37

    Linux Development on the Quick Start Board

    18

    Pre-configured

    VMware basedbuild environment

    for rapid

    development

    Video playbackdemos to

    showcase HD

    capabilities

    Graphics SDK

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    19/3719

    Graphics SDK

    SDK with a multitude of OpenGLES 1.1/2.0 and OpenVGsample code on Linux and Android

    Plenty of documents and white papers

    Tips and Tricks to create GUI

    Allows rapid development of Graphics applications whichuse Freescales Graphics hardware

    Applications developed will seamlessly scale to other i.MX

    processors from Freescale Reduce time to market

    GPU SDK is available today

    http://www.freescale.com/imx Search for GPU SDK

    Or use Inflexion UI for i.MX processors by Mentor

    Embedded to create graphics applications

    http://www.freescale.com/imxhttp://www.freescale.com/imx
  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    20/3720

    Introduction

    Quick Start Platform

    Android Development

    Inflexion UI for i.MX Processors

    Agenda

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    21/37

    Mentor Graphics Overview

    MENTOR EMBEDDED

    Embedded SW R&D team of over250 engineers

    Comprehensive technologyplatforms based on Android, Linux,Nucleus

    Significant open source contributor

    MENTOR GRAPHICS

    Established in 1981Over 4,400 employees

    Annual revenues of over $800M

    Award-winning support in53 locations worldwide

    Mentor Embedded Linux

    Multi-OSon Multicore

    AndroidCustomization

    InflexionUI

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    22/37

    Developer Tools Device Software

    Professional Services

    Tools ServicesOpen Source, Proprietary

    JTAG

    Probe

    Device SW Services

    Host Machine i.MX Hardware

    Inflexion UI Express

    IDE & Builder

    Compiler

    Debugger

    Profiler

    Applications

    Middleware & IPC

    Embedded Operating-SystemAn droid , Linu x, MeeGo, Nucleus

    Board Support Package(BSP)

    UI LayerInf lexion UI Engine

    Mentor Embedded Division

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    23/37

    What is Inflexion?

    UI Express Tool

    Drag & drop PC tool

    Allows rapid implementation of UIs

    Apply custom OpenGL/ES Shader effects

    Output runs on Graphics engine

    Graphics Engine

    Advanced 2D, 2.5D & 3D graphics

    In built software rendering or use of available hardware

    acceleration (Open GL/ES 1.1 and 2.0)

    Abstracts from Open GL/ES

    Click through process for integrating with Android

    Continue to write apps in Java

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    24/37

    24

    Inflexion Solves Your UI Implementation Problems

    Inflexion is a product used to create and

    implement UIs quickly without having towrite UI code

    From sophisticated and animated high-end

    UIs to lower-end UIs

    Breaks away from the fixed controls &widgets typical in Android

    It is available free of charge with alli.MX51, i.MX53, i.MX 6Dual and i.MX

    6Quad processors and developmentsystems

    http://www.freescale.com/imx
  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    25/37

    Example Multimedia UI

    Application Launcher with GL/ES 2.0 Effects

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    26/37

    Inflexion System Overview

    C) Auto generated API for calls to openmenus, launch services, etc

    Android Linux

    Inflexion Engine

    Porting Layer

    App App App

    UI UI UIB

    C

    B) Engine drives UI &receives UI events

    UI

    descriptionfrom

    Inflexion UIExpress

    A

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    27/37

    How It Works: Enhancing Android

    InflexionUI Engine

    Native InflexionEngine renders UI

    content using 3DOpenGL/ES API

    Java-sideframework

    forInflexion

    Example: Replacementhome screen and app

    launcher system

    Java-sideframework manages

    inclusion ofInflexion-renderedcontent within the

    Android UI

    Java App but withInflexion UI

    Inflexion doesnt change Android. Standard apps

    continue to run

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    28/37

    28

    UI Development Process

    UI DesignerSpecifies UI

    ImplementDesign usingUI Express

    Define API toApplication

    Packagetheme

    Copy file on to QuickStart via USB. No

    need to reboot

    Minutes Days Seconds

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    29/37

    Android

    Linu

    x

    29

    Application (Module) Integration

    A formal contract is defined between App & UI using an XML based file

    Using a supplied add-on and integrator tool the file is read to auto-generate the codeinterfaces between application and engine

    Integrator tool

    Integration Layer

    API Definitions

    XML Definition Files

    Dynamic Menus Input/Output Fields Function Links Plug-in Elements

    Inflexion android Add-onfor Eclipse

    .Java

    .cInterface File for each App

    Integration Layer to Engine

    Device Definitions

    List of Modules Display Parameters Keys Design Sizes

    .makeBuild script for native C/JNI code

    .cHeader File for each App

    .h

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    30/37

    How It Works: UI Designer Tool Demo

    Drag-and-dropediting view

    for full 3D layout

    WYSIWYGinteractive preview

    for instanttesting

    Use standard 2Dand 3D graphicsformats (PNG,

    Collada)

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    31/37

    31

    Inflexion Project Creator Add-on for Android

    Click through Process to Develop Inflexion Application on Android underEclipse IDE

    Inflexion and Android APIs provide theleverage to fully utilize underline

    Android framework

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    32/37

    32

    UI Development Process

    UI DesignerSpecifies UI

    ImplementDesign usingUI Express

    Define API toApplication

    Packagetheme

    Copy file on to QuickStart via USB. No

    need to reboot

    Minutes Days Seconds

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    33/37

    Advanced UIs with Inflexion

    Cell/Frame Animations

    Creating complex animations by applying

    Cell/Frame animation feature to elements. Dynamic Displacement

    Allowing a UI element to have its

    placement properties (i.e. location,

    orientation, scale, opacity, frame, color)

    altered by an underlying software

    application value. Screen transitions

    Allowing any type of animations on objects

    or even full pages during page transition.

    Element Rotation

    Rotating an element in 2D or 3D space.

    3D Models Support import of 3D COLLADA models

    Open GL/ES 2.0 Effects Including programmable shader based effects. For

    example: per pixel lighting, shadows, reflections,water effects, bumpy texture effects, etc

    Scaling Inflexion has the capability to zoom, scale and

    rotate 2D and 3D graphics

    Bitmap & Native fonts:

    Via its internal bitmap font engine or via externalengine

    Variable Design Size Allowing the layout to be chosen according to the

    screen size

    Touchdown Animations

    To enable sophisticated effects like glowing,blurring, shrinking etc

    Etc, etc, etc

    I V hi l I f t i t E l

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    34/37

    In Vehicle Infotainment Example -Implemented in 6 days

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    35/37

    Learn More About

    i.MX53 & Quick Start board Price $149

    www.freescale.com/iMXquickstart

    www.freescale.com/iMX53

    Inflexion UI for i.MX processors

    Available free of charge with select i.MX processor

    and development system purchases

    www.freescale.com/iMXinflexion

    Android Froyo 2.2 OS & BSP No source code license fee

    www.adeneo-embedded.com

    35

    http://www.freescale.com/iMXquickstarthttp://www.freescale.com/imxlinuxhttp://www.freescale.com/imxlinuxhttp://www.adeneo-embedded.com/http://www.adeneo-embedded.com/http://www.adeneo-embedded.com/http://www.adeneo-embedded.com/http://www.freescale.com/imxlinuxhttp://www.freescale.com/imxlinuxhttp://www.freescale.com/imxlinuxhttp://www.freescale.com/imxlinuxhttp://www.freescale.com/iMXquickstart
  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    36/37

    36

    Get started with the i.MX53 Quick Start board with Android

    BSP from Adeneo or Linux BSP from Freescale

    Take advantage of no-cost Inflexion UI tool to develophardware-accelerated rich, animated GUI quickly and easily

    Join iMXcommunity.org

    Take Aways

    Customer Solution =

    i.MX53 Quick Start board +Android BSP +Inflexion UI

  • 7/28/2019 Freescale-FRS iMX53_Mentor Inflexion Quick Start Board Training FINAL

    37/37

    Questions?

    Application Launcher with GL/ES 2.0 Effects