Je vous présente dans cette vidéo le projet GNU/Linux Yocto.
Le projet Yocto permet de créer votre propre linux embarqué pour tout
ordinateurs ou Raspberry Pi, Beaglbone etc...
Le site web du Yocto Project :
https://www.yoctoproject.org/
Le projet Yocto créé dans la vidéo :
http://www.yoctoproject.org/docs/2.2.1/yocto-project-qs/yocto-project-qs.html
Voici comment créer une image yocto pour virtualbox :
http://twoerner.blogspot.ch/2013/12/using-oeyocto-to-create-vms.html
Pour toutes questions le chanel IRC #yocto sur le serveur
freenode
Les commandes bitbake :
https://community.nxp.com/docs/DOC-94953
Yocto project Smart package manager :
https://www.yoctoproject.org/blogs/khem/2013/get-smart-smart-package-manager
Voici quelques exemples de modifications du fichier
conf/local.conf
Dans le fichier /conf/local.conf
Choix de la machine cible :
MACHINE ?=
"qemuarm"
MACHINE ?=
"qemumips"
MACHINE ?=
"qemuppc"
MACHINE ?=
"qemux86"
MACHINE ?=
"qemux86-64"
MACHINE ?=
"genericx86"
MACHINE ?=
"genericx86-64"
MACHINE ?=
"beaglebone"
MACHINE ?=
"mpc8315e-rdb"
MACHINE ?=
"edgerouter"
Décomenter celle de votre choix
Cloner deux git yocto sur la même branche :
git clone git://git.yoctoproject.org/poky -b morty
git clone git://git.openembedded.org/meta-openembedded -b
morty
Afficher les layers pour ajouter des applications ou des
fonctions :
bitbake-layers show-layers
Ajouter la gestion des paquets :
IMAGE_FEATURES += "package-management"
Ajouter Wayland weston :
CORE_IMAGE_EXTRA_INSTALL += "wayland
weston"
Ajouter une application :
IMAGE_INSTALL_append = " package"
Il faut aussi ajouter le layer qui contient l'application
I present in this video the project GNU / Linux Yocto. The
Yocto project allows you to create your own embedded linux for any computer or
Raspberry Pi, Beaglbone etc ...
The Yocto Project website:
https://www.yoctoproject.org/
The Yocto project created in the video:
http://www.yoctoproject.org/docs/2.2.1/yocto-project-qs/yocto-project-qs.html
Here's how to create a yocto image for virtualbox:
http://twoerner.blogspot.ch/2013/12/using-oeyocto-to-create-vms.html
For any questions the #yocto IRC channel on the freenode
server
The bitbake commands:
https://community.nxp.com/docs/DOC-94953
Yocto project Smart package manager :
https://www.yoctoproject.org/blogs/khem/2013/get-smart-smart-package-manager
Here are some examples of changes to the conf / local.conf
file
In the file /conf/local.conf
Choice of the target computer :
MACHINE ?=
"qemuarm"
MACHINE ?=
"qemumips"
MACHINE ?=
"qemuppc"
MACHINE ?=
"qemux86"
MACHINE ?=
"qemux86-64"
MACHINE ?=
"genericx86"
MACHINE ?=
"genericx86-64"
MACHINE ?=
"beaglebone"
MACHINE ?=
"mpc8315e-rdb"
MACHINE ?=
"edgerouter"
Uncoment your choice.
Clone two git yocto on the same branch :
git clone git://git.yoctoproject.org/poky -b morty
git clone git://git.openembedded.org/meta-openembedded -b
morty
Show layers to add applications or functions:
bitbake-layers show-layers
Add Package Management:
IMAGE_FEATURES += "package-management"
Add Wayland weston :
CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
Add a software :
IMAGE_INSTALL_append = " package"
You must also add the layer that contains the application
Aucun commentaire:
Enregistrer un commentaire