yocto之yocto概述

来源:互联网 发布:api原油数据分析 编辑:程序博客网 时间:2024/05/22 09:42

一、什么是yocto

Yocto计划(英文名Yocto Project™)是Linux基金会旗下的一个专案计划,其目标为提供独立于指令架构的工具和流程来协助嵌入式软件开发。该项目在2010年由Linux基金会发布,在2011年3月,该计划和类似目标的OpenEmbedded计划合并。 Yocto计划是一个开源的项目,它提供跨平台工具、元数据以及流程以利于快速和可复制的开发Linux嵌入式系统。[1]   

二、yocto的用处及基本组成

用英文表述更到位:  

The Yocto Project is an open-source collaboration project focused on embedded Linux developers. Among other things, the Yocto Project uses a build system based on the OpenEmbedded (OE) project, which uses the BitBake tool, to construct complete Linux images. The BitBake and OE components are combined together to formPoky, a reference build system.

I f you don't have a system that runs Linux and you want to give the Yocto Project a test run, you might consider using the Yocto Project Build Appliance. The Build Appliance allows you to build and boot a custom embedded Linux image with the Yocto Project using a non-Linux development system.[2]

  如上图所示,yocto主要包括3个组成部分:

  (1)食谱(recipes),即metadata(upstream sources,包括内核、中间件、应用程序包等)和配置(conf、bb、bbclass)文件;

  (2)烹饪工具(bitbake),即一个通用的任务执行引擎;

  (3)美食,即output,包括images,rootfs和sdk。

其中,生成工具bitbake是yocto的核心,没有它,有再多再好的“食材”,都没办法做成“美食”。本系列博客,以bitbake为起始,逐步介绍yocto。知其然,还要知其所以然,本文力求做到code级的分析,以期达到对yocto的全面细致的把握。



reference:

【1】wiki:yocto project;

【2】yocto project documentation:yocto quick start。


0 0
原创粉丝点击