Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Debian Containers For Cross Development

Using Debian Containers For Cross Development

Containers are getting a more and more popular way to distribute and run applications on servers, and its use is beginning to gain ground among embedded systems. In this talk we will discuss, in practice with development boards, the challenges of cross-development for embedded systems and how Debian containers can be a powerful option to help.

Matheus Castello

July 21, 2019
Tweet

More Decks by Matheus Castello

Other Decks in Programming

Transcript

  1. MATHEUS DE BARROS CASTELLO 28 year old, BS in Computer

    Science Embedded SW Engineer Linux Kernel Developer - v4.18 contributions WHO I AM ?
  2. DUAL CORE - ARM A9 @1Ghz 512MB DDR3 4GB eMMC

    Vivante GC880 - GPU 3D Graphics UP TO 154 GPIOs 4X ANALOG INPUTS I2C / PWM / USB / UART HARDWARE FOR DEMOS
  3. User Space Kernel BSP Bootloader Development Toolchain Yocto - build

    your own Linux Distro Distro optimized for you hardware
  4. Yocto - build your own Linux Distro Distro optimized for

    you hardware Learning Curve User Space Kernel BSP Bootloader Development Toolchain
  5. CHROOT - create/copy/config your sysroot Use a ready arm distro

    base (gcc --sysroot) It is not so easy to deploy/document/duplicate
  6. Development x86 Target Device ARMv7 Docker Image Dockerfile Docker Image

    Docker container Dockerhub CROSS-DEV WITH CONTAINTER - hello.c example
  7. Development x86 Target Device ARMv7 Docker Image Dockerfile Docker Image

    Docker container Dockerhub CROSS-DEV WITH CONTAINTER - hello.c example
  8. Q&A