1.Yocto简介:Yocto 是一个开源社区,它通过提供模版、工具和方法帮助开发者创建基于linux内核的定制系统,支持ARM, PPC, MIPS, x86 (32 & 64 bit)硬件体系架构。2.Yocto定制准备工作(1)确保电脑能联网,并且有100G的空闲,电脑配置不低于4核(2)获取yocto脚本:$git clone git://git.yoctoproject.org/poky(3)获取硬件相关层:$git clone git://git.yoctoproject.org/meta-intel.git(4)关于yocto的帮助:http://www.yoctoproject.org/documentation3.开始搭建环境(1)$source poky/oe-init-build-env xxxxxx$cd confxxx/conf$ vim bblayers.conf# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf# changes incompatiblyLCONF_VERSION = "4"BBFILES ?= ""BBLAYERS ?= " /hda5/hmi/x86/yocto/poky/meta /hda5/hmi/x86/yocto/poky/meta-yocto /hda5/hmi/x86/yocto/poky/meta-intel /hda5/hmi/x86/yocto/poky/meta-intel/meta-crownbay (2)修改local.confxxx/conf$ vim local.conf#MACHINE ??= "qemux86"MACHINE ??= "crownbay"4.开始编译注:(官方下载的只是脚本,yocto一边下载一边编译所以很慢而且还受资源下载限制和电脑配置,下载的文件在工作目录中的downloads中,第一次下载后保存好downloads以后就方便了)(1)配置内核xxx$ bitbake linux_yocto -c menuconfig(2)定制微型yoctoxxx$ bitbake core-image-minimal(3)定制桌面型yoctoxxx$ bitbake coure-image-sato(4) hob configxxx$ hob可以在图形化界面中方便的定制系统Ubuntu 12.04 wpa/wpa2无线上网手动配置Solr 的edismax与dismax比较与分析相关资讯 嵌入式Linux Yocto Yocto系统
- 2015年嵌入式和移动Linux领域的几 (01月06日)
- OpenWRT嵌入式Linux故障排除一例 (01/17/2015 13:04:14)
- 10款专为嵌入式系统打造的Linux平 (06/27/2014 14:27:09)
| - 解决嵌入式Linux中的时区问题 (09/13/2015 13:49:19)
- 嵌入式Linux开发环境搭建 (08/19/2014 05:49:14)
- 嵌入式Linux中GPS信息读取与处理 (04/08/2014 19:31:47)
|
本文评论 查看全部评论 (0)