Difference between revisions of "Yocto tests"

From ElphelWiki
Jump to: navigation, search
(Created page with "==GIT== <font size='2'> 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://gi...")
 
Line 20: Line 20:
 
* Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things:
 
* Step 3: Edit ''build/conf/local.conf'' - set MACHINE and other things:
 
<font size='2'>
 
<font size='2'>
   BB_NUMBER_THREADS = "8" (depends on your CPU capabilities)
+
   BB_NUMBER_THREADS = "8" (depends on the PC's CPU)
   PARALLEL_MAKE = "-j 8" (depends on your CPU capabilities)
+
   PARALLEL_MAKE = "-j 8" (depends on the PC's CPU)
 
   MACHINE ?= "zedboard" '''(?)'''
 
   MACHINE ?= "zedboard" '''(?)'''
 
</font>
 
</font>

Revision as of 12:15, 6 November 2013

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 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/