Difference between revisions of "Yocto tests"
From ElphelWiki
m |
|||
Line 2: | Line 2: | ||
<font size='2'> | <font size='2'> | ||
git clone -b dylan git://git.yoctoproject.org/poky.git | git clone -b dylan git://git.yoctoproject.org/poky.git | ||
− | git clone -b dylan https://github.com/Xilinx/meta-xilinx.git | + | git clone -b dylan https://github.com/Xilinx/meta-xilinx.git meta-xilinx |
− | git clone git://git.code.sf.net/p/elphel/meta-elphel393 | + | git clone git://git.code.sf.net/p/elphel/meta-elphel393 meta-elphel393 |
</font> | </font> | ||
Line 14: | Line 14: | ||
* Step 2: Edit ''build/conf/bblayers.conf'' - add paths to BBLAYERS: | * Step 2: Edit ''build/conf/bblayers.conf'' - add paths to BBLAYERS: | ||
<font size='2'> | <font size='2'> | ||
− | <absolute-path> | + | <absolute-path>/meta-xilinx \ |
− | <absolute-path> | + | <absolute-path>/meta-xilinx/meta-zedboard \ |
− | <absolute-path> | + | <absolute-path>/meta-elphel393 \ |
</font> | </font> | ||
* Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things: | * Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things: |
Revision as of 09:55, 7 November 2013
GIT
git clone -b dylan git://git.yoctoproject.org/poky.git git clone -b dylan https://github.com/Xilinx/meta-xilinx.git meta-xilinx git clone git://git.code.sf.net/p/elphel/meta-elphel393 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>/meta-xilinx \ <absolute-path>/meta-xilinx/meta-zedboard \ <absolute-path>/meta-elphel393 \
- Step 3: Edit build/conf/local.conf - set MACHINE and other things:
BB_NUMBER_THREADS = "8" (depends on the PC's CPU) PARALLEL_MAKE = "-j 8" (depends on the PC's CPU) 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/