Changes

Jump to: navigation, search

Building the Yocto BSP (DIVELK)

425 bytes removed, 14:29, 20 June 2017
Build DIVELK Yocto BSP
<pre class="workstation-terminal">
dvdk@vagrant-ubuntu-trusty-64:~/diva$ DISTRO=fsl-imx-fb MACHINE=diva source diva-bsp-init-env.sh -b build-fb -e fbdvdk@vagrant-ubuntu-trusty-64:~/diva/build$ bitbake divadivelk-image-networkingmatrix
</pre>
The resulting files (kernel, devicetree and u-boot binaries, plus .tar.gz root file system) will then be available inside ''build/tmp/deploy/images/diva''.
=== Build additional packages === To build additional packages the user must first enter the directory where the <code>diva-bsp-init-envan SDK that can be used with Eclipe Yocto ADT, use a image based SDK, e.sh</code> is placed and source itg.:
<pre class="workstation-terminal">
dvdk@vagrant-ubuntu-trusty-64:~/diva/build$ DISTRO=fsl-imx-fb MACHINE=sbc-lynx source lynx-setup-release.sh bitbake -b buildc populate_sdk divelk-fb image-e fbdvdk@vagrant-ubuntu-trusty-64:~/diva/build$devel
</pre>
And then === Build the Qt5 image === To build an SDK that can run any of be used with QT Creator to build QT5 applications, use the [httpfollowing target://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#usingpoky-components-bitbake bitbake] command.
<pre class="workstation-terminal">
dvdk@vagrant-ubuntu-trusty-64:~/diva/build$ bitbake memtestermeta-toolchain-arago-tisdk
</pre>
The resulting packages (the default format is ipk) can be found inside ''build/tmp/deploy/rpm''.=== Other images ===
<pre class="workstation divelk-terminal">dvdk@vagrantimage-ubuntu-trusty-64devel:~/diva/build$ ls -l tmp/deploy/rpm/cortexa7hf_vfp_neon/memtester*a small image with some useful development and debugging tools divelk-rw-r--rimage-- 1 dvdk dvdk 9967 Sep 7 05networking:43 tmp/deploy/rpm/cortexa7hf_vfp_neon/memtesterbased on divelk-4.1.3image-r0.cortexa7hf_vfp_neon.rpmdevel, add lots of networking tools === Build additional packages === To build additional packages the user must first enter the directory where the <code>diva-rwbsp-rinit--r-- 1 dvdk dvdk 25544 Sep 7 05:43 tmpenv.sh</deploy/rpm/cortexa7hf_vfp_neon/memtester-dbg-4.1.3-r0.cortexa7hf_vfp_neon.rpmcode> is placed and source it -rw-r--r-- 1 dvdk dvdk 2884 Sep 7 05And then can run any of the [http:42 tmp/deploy/rpm/cortexa7hf_vfp_neon/memtester-dev-4.1.3-r0www.cortexa7hf_vfp_neonyoctoproject.rpm-rw-r--r-- 1 dvdk dvdk 5611 Sep 7 05:44 tmporg/deploydocs/rpmlatest/cortexa7hf_vfp_neonmega-manual/memtestermega-docmanual.html#usingpoky-4.1.3components-r0bitbake bitbake] command.cortexa7hf_vfp_neon.rpm</pre>
8,154
edits

Navigation menu