This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
agl-distro:developer_resources [2016/08/09 11:14] sdesneux [Build BSP and SDK] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This page contains a list of developer resources. | ||
- | ====== AGL for Renesas Porter board ====== | ||
- | ===== Automotive Grade Linux 2.0 ===== | ||
- | |||
- | The system DevKit allows developers to rebuild a complete bootable image from | ||
- | source code. It uses Yocto/Poky version 2.x with latest version of Renesas BSP | ||
- | and enables low-level development of drivers and system services as well as high level applications. | ||
- | |||
- | The following documents/components are available: | ||
- | * A quick guide: Kickstart on Renesas Porter boards | ||
- | * A Docker container ready to build AGL distribution (Yocto 2.x), SDK and contains extra useful tools. | ||
- | * A documentation guide on how to build from scratch an image and its SDK for Renesas Porter board | ||
- | * A documentation guide on how to build AGL applications | ||
- | * A documentation guide on how to bake a new low level system service | ||
- | |||
- | ==== Kickstart 2.0 ==== | ||
- | |||
- | This document explains step by step how to bootstrap a Porter board with AGL | ||
- | distribution and latest Renesas BSP then run a sample AGL application. | ||
- | |||
- | The following topics are covered: | ||
- | * instructions to build an embedded image of AGL 2.0 “Brillant Blowfish” based on Yocto Project 2.0 and Renesas BSP (meta-renesas) | ||
- | * instructions on how to install and boot the image on Porter board | ||
- | * instructions on how to add and run a “Hello World” application in the runtime system | ||
- | |||
- | [[http://iot.bzh/download/public/2016/sdk/AGL-Kickstart-on-Renesas-Porter-board.pdf|AGL-Kickstart-on-Renesas-Porter-board.pdf]] | ||
- | |||
- | ==== Build BSP and SDK ==== | ||
- | |||
- | The AGL DevKit allows developers to rebuild a complete bootable image and its | ||
- | associated SDK from source code. It uses Yocto/Poky version 2.x with latest | ||
- | version of Renesas BSP and enables low-level development of drivers and | ||
- | system services. This guide describes how to create a Docker container able to | ||
- | build AGL images and associated SDKs. The container is also suitable to | ||
- | build AGL Applications independently of Yocto/Bitbake. | ||
- | |||
- | [[http://iot.bzh/download/public/2016/sdk/AGL-Devkit-Image-and-SDK-for-porter.pdf|AGL-Devkit-Image-and-SDK-for-porter.pdf]] | ||
- | |||
- | Applications templates are available on Github: [[https://github.com/iotbzh/app-framework-templates]] | ||
- | ==== Build Applications ==== | ||
- | |||
- | This document describes the next step: using the SDK to build | ||
- | applications and deploy them on a target board running an AGL image. | ||
- | |||
- | Application templates and demos allow developers to start | ||
- | developing various types of applications: | ||
- | * Services | ||
- | * Native applications | ||
- | * HTML5 applications | ||
- | * ... | ||
- | This guide focuses on how to use these applications templates. | ||
- | |||
- | [[http://iot.bzh/download/public/2016/sdk/AGL-Devkit-Build-your-1st-AGL-Application.pdf|AGL-Devkit-Build-your-1st-AGL-Application.pdf]] | ||
- | |||
- | ==== Build low-level system service ==== | ||
- | |||
- | This document focuses on the procedure to add a new low level system service | ||
- | to the target firmware image. More specially, it highlights the integration of | ||
- | the system daemon named “hostapd” in the Yocto image built within the | ||
- | Devkit container | ||
- | |||
- | [[http://iot.bzh/download/public/2016/bsp/AGL_Phase2-Devkit-HowTo_bake_a_service.pdf|AGL_Phase2-Devkit-HowTo_bake_a_service.pdf]] | ||
- | |||
- | ===== Automotive Grade Linux 1.0 ===== | ||
- | ==== Kickstart 1.0 ==== | ||
- | |||
- | This document explains step by step how to bootstrap a Porter board with AGL 1.0 distribution and latest Renesas BSP then run a sample AGL application. | ||
- | |||
- | The following topics are covered: | ||
- | * instructions to build an embedded image of AGL 1.0 “Albacore” based on Yocto Project 1.7 and Renesas BSP (meta-renesas) | ||
- | * instructions on how to install and boot the image on Porter board | ||
- | * instructions on how to add and run a “Hello World” application in the runtime system | ||
- | |||
- | [[http://iot.bzh/download/public/2016/sdk/AGL-Kickstart-on-Renesas-Porter-board_1.0.pdf|AGL-Kickstart-on-Renesas-Porter-board_1.0.pdf]] | ||
- | |||
- | ==== Prebuilt AGL 1.0 SDcard image ==== | ||
- | |||
- | For convenience, the development images built in the previous document are made available at the | ||
- | following location: http://iot.bzh/download/public/2016/sdk/porter_images/ . They can be used as a starting point to boot the Porter board in development mode (see below SDK Kickstart). | ||
- | |||
- | ==== SDK 1.0 Kickstart ==== | ||
- | |||
- | This document explains step by step how to setup the development environment (SDK) for Porter board with AGL distribution and latest Renesas BSP. | ||
- | |||
- | The following topics are covered: | ||
- | * instructions to setup the SDK environment | ||
- | * build and debug a cross-platform C/C++ application | ||
- | * build and debug an HTML5 application | ||
- | * build and debug a hybrid (HTML5 UI and C/C++ service) application | ||
- | |||
- | [[http://iot.bzh/download/public/2016/sdk/AGL-Application-SDK-Kickstart-on-Renesas-Porter-board.pdf|AGL-Application-SDK-Kickstart-on-Renesas-Porter-board.pdf]] | ||
- | |||
- | ====== AGL under Qemu ====== | ||
- | |||
- | TBD | ||
- | |||
- | ====== Generic build instructions ====== | ||
- | |||
- | The [[https://git.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=blob_plain;f=README-AGL.md;hb=HEAD|README-AGL.md]] file located in [[https://git.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=summary|meta-agl repository]] is updated regularly to reflect the latest changes in the distribution. | ||
- | |||
- | Generic instructions are covered [[agl-distro:source-code|in this article]] |