Formation Buildroot: a Firmware Generator for Embedded Systems

Code formation

buildroot

Durée

7 heures (généralement 1 jours pauses comprises)

Pré requis

  • The participant must have built a kernel at least once for a traditional desktop (non-embedded) Linux system.
  • Knows what components the Linux userspace on a desktop system is composed of.
  • Knows how to generate and use patches.
  • Must be able to explain what is GNU Make, Autotools, what other build systems exist.
  • Ideally, maintains at least one Linux package, either as an upstream author, or in any traditional Linux desktop distribution.
  • Prior experience with embedded development is not required, and is not a substitute for the knowledge about traditional Linux desktops specified above.

Aperçu

Buildroot est un projet open source contenant des scripts qui produisent une chaîne d'outils de compilation croisée, une image de système de fichiers racine personnalisable et un Linux Linux pour les périphériques intégrés. Au cours de ce cours pratique, les participants apprendront à l'utiliser:

  • Comment sélectionner un logiciel qui va dans le système de fichiers racine.
  • Comment ajouter de nouveaux packages et modifier ceux existants.
  • Comment ajouter un support pour les nouvelles cartes embarquées.

Pendant le cours, des images de système de fichiers de démarrage seront produites. Les cours à distance sont dispensés à l'aide de l'émulateur QEMU , tandis qu'en salle de classe, il est possible d'utiliser QEMU ou de véritables tableaux embarqués au choix du formateur.

Le projet Yocto et OpenWRT sont d’autres projets aux objectifs similaires. Veuillez utiliser ces présentations pour déterminer lequel convient le mieux à vos besoins.

Machine Translated

Plan du cours

  1. Getting started
    1. Obtaining Buildroot
    2. Build system requirements
    3. Cross-compiler terminology: build, host, target, sysroot
    4. Choosing the correct target
    5. Building a minimal embedded system and booting it
    6. Contents of the resulting filesystem image
    7. Parallel builds
    8. Full and partial rebuilds
  2. Design goals of Buildroot
  3. Choices to be made
    1. C library: glibc or uClibc or musl?
    2. Init system: busybox vs sysVinit vs systemd
    3. Managing device nodes in /dev
    4. Selecting other packages
  4. Understanding the build instructions
    1. Syntax of Kconfig (Confog.in) files
    2. Features of GNU Make used by Buidroot Makefiles
    3. Style guide for Config.in and *.mk files
    4. How to add a simple Autotools-based package
    5. The difference between staging and target directories
    6. The need for host packages
    7. How to express dependencies and optional features
    8. Support for languages other than C and build systems other than Autotools
    9. Debugging Makefiles
    10. Rebuilding a single package
  5. Analyzing the build results
    1. What took so much build time?
    2. What took so much disk space?
    3. Why has this package been built?
  6. Organizing external package trees
  7. Workflow for application developers
    1. How to use a local source directory
    2. Overriding build instructions
    3. Debugging your application
    4. Speeding up rebuilds
    5. Viewing build logs
  8. Dealing with common cross-compilation issues
    1. How to write your own software so that it is friendly to cross-compilers
  9. Workflow for kernel developers
    1. How the kernel boots on an embedded system
    2. Changing configuration options and adding patches
    3. Module loading mechanisms
  10. Making a finished product
    1. Running daemons at startup
    2. Providing custom configuration files
    3. Available firmware update mechanisms
    4. Upgrading to a new Buildroot version
    5. Complying with open-source licenses

Nos Clients témoignent

★★★★★
★★★★★

Catégories Similaires

Cours Similaires

Réduction spéciale

Newsletter offres spéciales

Nous respectons le caractère privé de votre adresse mail. Nous ne divulguerons ni ne vendrons votre adresse email à quiconque
Vous pouvez toujours modifier vos préférences ou vous désinscrire complètement.

Nos clients

is growing fast!

We are looking for a good mixture of IT and soft skills in Belgium!

As a NobleProg Trainer you will be responsible for:

  • delivering training and consultancy Worldwide
  • preparing training materials
  • creating new courses outlines
  • delivering consultancy
  • quality management

At the moment we are focusing on the following areas:

  • Statistic, Forecasting, Big Data Analysis, Data Mining, Evolution Alogrithm, Natural Language Processing, Machine Learning (recommender system, neural networks .etc...)
  • SOA, BPM, BPMN
  • Hibernate/Spring, Scala, Spark, jBPM, Drools
  • R, Python
  • Mobile Development (iOS, Android)
  • LAMP, Drupal, Mediawiki, Symfony, MEAN, jQuery
  • You need to have patience and ability to explain to non-technical people

To apply, please create your trainer-profile by going to the link below:

Apply now!

This site in other countries/regions