The Yocto Project - An Overview - hands-on ( yp1 | 28 hours )

Prerequisites:

先決條件

  • 基本熟悉在用戶空間中作為最終使用者使用 GNU/Linux 系統(例如 Ubuntu)
  • 基本熟悉命令行shell
  • 使用 GNU 進行使用者/內核空間程式設計的基本知識/Linux
  • 中級 C 語言程式設計知識
  • 你應該已經參加 過 Embedded GNU/Linux Systems Architecture (5 天)( 強烈推薦!),除非你已經熟悉這些培訓中提供的材料。
  • 您實際上需要有嵌入式 GNU/Linux (內核、用戶空間、根文件系統、工具)的經驗才能參加 Yocto 培訓。
  • 如果您參加 Embedded GNU/Linux Device Drivers and Kernel Internals (5 days) 可能會有所説明,但這並不是真正的先決條件。遵循 Yocto 培訓,從內核方面知道如何構建 GNU/Linux 內核、樹中/樹內的內核驅動程式和 fdt 就足夠了。
Overview:

描述

這個為期四天的培訓將理論與實踐練習相結合,以介紹 Yocto Project。
它回答了常見問題,例如:

  • 真的有必要為每個 GNU/Linux 專案使用另一個版本的 toolchain/libraries/packages 並且其頂部遵循不同的工作流程嗎?
  • 您能否確保所有開發人員/供應商的開發環境都是相同的,並且在10+年後您仍然可以生產與今天相同的版本?
  • YP 能否幫助瞭解您使用的套件在哪些軟體許可證下獲得許可?

在目標硬體上執行動手操作(例如 Beagle Bone Black Rev. C - http://beagleboard.org/BLACK)。培訓結束后,您將能夠下載預安裝了 Ubuntu 14.x 和所有依賴項的 docker 映射以及範例,以便在您自己的實驗室中使用課程材料。請注意,這不是嵌入式 GNU/Linux 的入門課程。您應該已經知道嵌入式 GNU/Linux 是如何工作的,以及如何配置/構建 GNU/Linux 內核和內核驅動程式。

誰應該參加?

你已經在你的專案中使用了 GNU/Linux,並且可能聽說過 Yocto Project,但不敢仔細研究它,或者在使用它時遇到困難。您不知道 YP 是否以及如何容納您的日常工作流程,並且通常發現 YP 相當複雜。為什麼我們需要這一切,因為要知道一切都(據說)要容易得多?培訓后,您應該能夠決定是否需要 YP。該研討會面向軟體、開發、系統工程師、測試人員、管理員、工程師和其他對 YP 感興趣,並具有紮實的嵌入式 GNU/Linux 知識的各方。

Course Outline:

課程大綱

介紹

  • Unix 的歷史/Linux, 許可證, 標準, 使用自由軟體, 查找説明, 洞穴探險, Unix 哲學

嵌入式細節

  • Linux 與嵌入式系統中的 Linux 相比,跨/原生工具鏈、預構建工具鏈、構建系統、C 庫,...

評估板

  • How does it boot?, 查看 it booting

Yocto 簡介

  • 什麼是 Yocto?為什麼使用YP?什麼是 YP?、Poky、BitBake、OE-Core、元數據

YP 自動構建器

  • 什麼是 YP Autobuilder?,Docker 容器(拉取、啟動容器)

YP 工作流程

  • 介紹
  • 工作流、OE 架構
  • 設定(使用者、元數據、電腦、分發策略)
  • 來源
  • 構建(源獲取、修補、配置/編譯/安裝、偽、配方示例、輸出分析/打包、映射生成、SDK 生成)
  • 自定義鏡像 (Intro、local.conf、IMAGE_FEATURES、自定義 .bb 檔、自定義 packagegroups)

BitBake

  • 歷史
  • 語法
  • 調試(調試級別、查找配方/圖像/包組、BitBake 環境/任務/日誌記錄、強制構建/特定任務、cleansstate、無效標記、devshell、依賴項資源管理器、殺死所有 BitBake 實例、BitBake 圖形包裝器)

  • 簡介、bitbake-layers 工具、yocto-layer 工具

BSP

  • 簡介,系統開發工作流程,BSP 開發人員指南 (bsp-tool)

內核

  • 簡介、系統開發工作流程、內核開發手冊(defconfig、defconfig + 配置片段、樹內 kmod、樹外 kmod、fdt,...)

應用程式開發工具包

  • 簡介、跨開發工具鏈、Sysroot、ADT- Eclipse Yocto 外掛程式、QEMU 模擬器、用戶空間工具
  • 安裝ADT和工具鏈
    • 使用跨工具鏈 tarball(介紹,構建/安裝跨工具鏈 tarball,跨工具鏈 + Makefile/Autotools/Autotools lib + 應用程式,配方)
    • 使用 ADT 安裝程式(簡介,Web Server,構建鏡像 + ADT 安裝程式,配置 + 執行 ADT 安裝程式,將 ADT 安裝程式添加到 Web 伺服器,主機上的 ADT 安裝程式)

日蝕

  • 簡介,應用程式開發工作流程
  • 使用 Eclipse(rootfs 功能、內核 + fdt、rootfs、安裝 JDK、安裝 Eclipse、配置 Eclipse、安裝 Yocto 外掛程式、配置 Yocto 外掛程式、創建自動工具專案、配置跨工具鏈、構建專案)

調試

  • 簡介, gdb, gdb 遠端調試, (gdb remote) 使用 Eclipse 進行調試, (遠端) 從 Eclipse 運行

分析/跟蹤

  • Intro、perf、gprof、gcov、strace、ftrace、systemtap、oprofile、LTTng + Eclipse(數據可視化)

包裝 Management

  • 使用包、IPK、創建包訂閱源、在目標上安裝帶有 opkg 的包

發 牌

  • 簡介、添加自定義許可證、開源許可證合規性

開發工具

  • Intro, devtool, 真實世界的展示 meta-cfengine

除非另有說明,否則內容和本課程大綱根據署名-非商業性使用-相同方式共用 4.0 國際 (CC BY-NC-SA 4.0) 獲得許可。

Sites Published:

Qatar - The Yocto Project - An Overview - hands-on

Egypt - The Yocto Project - An Overview - hands-on

Saudi Arabia - The Yocto Project - An Overview - hands-on

Brasil - The Yocto Project - An Overview - hands-on

澳門 - The Yocto Project - An Overview - hands-on

台灣 - The Yocto Project - An Overview - hands-on

Österreich - The Yocto Project - An Overview - hands-on

Schweiz - The Yocto Project - An Overview - hands-on

Deutschland - The Yocto Project - An Overview - hands-on

Czech Republic - The Yocto Project - An Overview - hands-on

Denmark - The Yocto Project - An Overview - hands-on

Estonia - The Yocto Project - An Overview - hands-on

Finland - The Yocto Project - An Overview - hands-on

Greece - The Yocto Project - An Overview - hands-on

Magyarország - The Yocto Project - An Overview - hands-on

Ireland - The Yocto Project - An Overview - hands-on

Israel - The Yocto Project - An Overview - hands-on

Luxembourg - The Yocto Project - An Overview - hands-on

Latvia - The Yocto Project - An Overview - hands-on

España - El Proyecto Yocto - Una Visión General - Práctico

Italia - The Yocto Project - An Overview - hands-on

Lithuania - The Yocto Project - An Overview - hands-on

Nederland - The Yocto Project - An Overview - hands-on

Norway - The Yocto Project - An Overview - hands-on

Portugal - The Yocto Project - An Overview - hands-on

România - The Yocto Project - An Overview - hands-on

Sverige - The Yocto Project - An Overview - hands-on

Türkiye - The Yocto Project - An Overview - hands-on

Malta - The Yocto Project - An Overview - hands-on

Belgique - The Yocto Project - An Overview - hands-on

France - The Yocto Project - An Overview - hands-on

日本 - The Yocto Project - An Overview - hands-on

Australia - The Yocto Project - An Overview - hands-on

Malaysia - The Yocto Project - An Overview - hands-on

New Zealand - The Yocto Project - An Overview - hands-on

Thailand - The Yocto Project - An Overview - hands-on

Vietnam - The Yocto Project - An Overview - hands-on

Argentina - El Proyecto Yocto - Una Visión General - Práctico

Chile - El Proyecto Yocto - Una Visión General - Práctico

Costa Rica - El Proyecto Yocto - Una Visión General - Práctico

Ecuador - El Proyecto Yocto - Una Visión General - Práctico

Guatemala - El Proyecto Yocto - Una Visión General - Práctico

Colombia - El Proyecto Yocto - Una Visión General - Práctico

Panama - El Proyecto Yocto - Una Visión General - Práctico

Peru - El Proyecto Yocto - Una Visión General - Práctico

Uruguay - El Proyecto Yocto - Una Visión General - Práctico

Venezuela - El Proyecto Yocto - Una Visión General - Práctico

Polska - The Yocto Project - An Overview - hands-on

United Kingdom - The Yocto Project - An Overview - hands-on

South Korea - The Yocto Project - An Overview - hands-on

Pakistan - The Yocto Project - An Overview - hands-on

Sri Lanka - The Yocto Project - An Overview - hands-on

Bulgaria - The Yocto Project - An Overview - hands-on

Bolivia - El Proyecto Yocto - Una Visión General - Práctico

Indonesia - The Yocto Project - An Overview - hands-on

Kazakhstan - The Yocto Project - An Overview - hands-on

Moldova - The Yocto Project - An Overview - hands-on

Morocco - The Yocto Project - An Overview - hands-on

Tunisia - The Yocto Project - An Overview - hands-on

Kuwait - The Yocto Project - An Overview - hands-on

Oman - The Yocto Project - An Overview - hands-on

Slovakia - The Yocto Project - An Overview - hands-on

Kenya - The Yocto Project - An Overview - hands-on

Nigeria - The Yocto Project - An Overview - hands-on

Botswana - The Yocto Project - An Overview - hands-on

Slovenia - The Yocto Project - An Overview - hands-on

Croatia - The Yocto Project - An Overview - hands-on

Serbia - The Yocto Project - An Overview - hands-on

Bhutan - The Yocto Project - An Overview - hands-on

Nepal - The Yocto Project - An Overview - hands-on