Yocto tests
From ElphelWiki
GIT
git clone -b dylan git://git.yoctoproject.org/poky.git git clone -b dylan https://github.com/Xilinx/meta-xilinx.git poky/meta-xilinx git clone git://git.code.sf.net/p/elphel/meta-elphel393 poky/meta-elphel393
Configure
- Step 1: Init environment
cd poky . ./oe-init-build-env
- Step 2: Edit build/conf/bblayers.conf - add paths to BBLAYERS:
<absolute-path>/poky/meta-xilinx \ <absolute-path>/poky/meta-xilinx/meta-zedboard \ <absolute-path>/poky/meta-elphel393 \
- Step 3: Edit build/conf/local.conf - set MACHINE and other things:
BB_NUMBER_THREADS = "8" (depends on your CPU capabilities) PARALLEL_MAKE = "-j 8" (depends on your CPU capabilities) MACHINE ?= "zedboard" (?)
Build kernel
bitbake linux-xlnx
Build ramdisk.image.gz
bitbake elphel393
Build toolchain
- Step 1: build
bitbake meta-toolchain
- Step 2: install - launch installer from <some-path>/poky/build/tmp/deploy/