-
Notifications
You must be signed in to change notification settings - Fork 0
Yocto project
Adrián Santos Marrero edited this page Sep 21, 2016
·
9 revisions
- https://www.yoctoproject.org/
- https://jmtorres.webs.ull.es/me/2013/01/yocto-poky-y-bitbake/
- https://jmtorres.webs.ull.es/me/2013/01/crea-tu-propia-distro-de-linux-con-yocto/
- http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html
-
Instalamos dependencias:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo \ gcc-multilib build-essential chrpath socat libsdl1.2-dev xterm
-
Clonamos repo:
$ git clone git://git.yoctoproject.org/poky
-
Inicializamos entorno:
$ cd poky $ source oe-init-build-env
-
Generamos imagen:
$ bitbake -k core-image-sato
-
Ejecutamos imagen:
$ runqemu qemux86
-
Clonamos el repo donde está el layer de raspi:
$ git clone git://git.yoctoproject.org/meta-raspberrypi
-
Añadimos el nuevo layer en
build/conf/bblayers.conf
:BBLAYERS ?= " \ /home/adrian/git/poky/meta \ /home/adrian/git/poky/meta-poky \ /home/adrian/git/poky/meta-yocto-bsp \ /home/adrian/git/poky/meta-raspberrypi \ "
-
Cambiar la variable MACHINE en
build/conf/local.conf
:MACHINE ??= "raspberrypi"