The Yocto Project - An Overview - hands-on ( yp1 | 28 hours )
先决条件
- 基本熟悉在用户空间中作为最终使用者使用 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 就足够了。
描述
这个为期四天的培训将理论与实践练习相结合,以介绍 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 知识的各方。
课程大纲
介绍
- 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) 获得许可。
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