Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6-L/Development/Building the Yocto BSP

718 bytes removed, 10:49, 9 October 2020
no edit summary
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X1.Y0.Z0|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month YearOct 2020|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD|-|-|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD|-First DESK release
|}
<section end=History/>
! URL
| git@git.dave.eu:desk-mx-l/desk-mx-l-bsp.git
| git@git.dave.eu:desk-mx-l/meta-desk-mx-l.git
|-
! stable branch
| desk-mx-l-''TBD''| ''TBD (e.g. Yocto version)sumo
|-
! stable tag
! Description
|-
| deskdave-mximage-l-imagedevel| Minimal This imageinclude tools for development/debugging
|-
| desk-mx-l-image-develx11| This image include tools for development/debugginga X11 graphic backend
|-
| desk-mx-l-image-networkingqt5| In addition <code>desk-mx-l-image-devel</code>, this This image provides several networking toolsinclude a Qt5 graphic backend with OpenGL ES accelerated framebuffer
|}
For more information on the Linux filesystem, please refer to http://www.thegeekstuff.com/2010/09/linux-file-system-structure/.
''desk-mx-l'' provides one (or more) pre-built root file system, that can be used during the evaluation/development/deployment cycle. For instance, the root file system included in the <code>desk-mx-ldave-image-devel</code> image is suited for the development phase, since it provides a relatively rich set of packages including tools and libraries used to debug the application code. The pre-built root file systems are located here: <code>/home/dvdk/<target_name>/rfs/<kit_name></code>.
Besides the pre-built root file systems, DAVE also provides a rich repository containing pre-built applications and libraries. These packages can be easily installed on the target by using the <code>smart</code> tool. Please refer to [[Advanced_use_of_Yocto_build_system_(''desk-mx-l'')#Using_pre-built_package_archive|this section]] for more details.
''desk-mx-l'' Yocto BSP uses [https://code.google.com/p/git-repo/ git-repo] tool to fetch all the required git repositories. To install it, please use the following commands:
<pre class="workstation-terminal">
dvdk@vagrant:~/{{{kitdesk-repo}}}mx-l$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repodvdk@vagrant:~/{{{kitdesk-repo}}}mx-l$ chmod a+x repodvdk@vagrant:~/{{{kitdesk-mx-repo}}}l$ ./repo init -u git@git.dave.eu:{{{kitdesk-repo}}}mx-l/{{{kitdesk-repo}}}mx-l-bsp.git -b {{{kit-repo}}}-''TBD''sumodvdk@vagrant:~/{{{kitdesk-repo}}}mx-l$ ./repo syncdvdk@vagrant:~/{{{kitdesk-repo}}}mx-l$ source {{{kitdesk-mx-repo}}}l-bsp-init-env.sh
</pre>
Once completed the initialization phase, developers can launch the Yocto image build process with the following commands:
<pre class="workstation-terminal">
dvdk@vagrant:~/{{{kitdesk-repo}}}mx-l/build$ bitbake <target-image-name>
</pre>
Where <code><target-image-name></code> is one of the images listed in [[#Quick reference|here]].
<pre class="workstation-terminal">
dvdk@vagrant:~/{{{kitdesk-repo}}}mx-l$ source {{{kitdesk-repo}}}mx-l-bsp-init-env.shdvdk@vagrant:~/{{{kitdesk-mx-repo}}}l/build$
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/{{{kitdesk-repo}}}mx-l/build$ bitbake memtester
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/{{{kitdesk-repo}}}mx-l/build$ ls -l tmp/deploy/rpm/cortexa9hf_neon/memtester*
-rw-r--r-- 1 dvdk dvdk 10692 Sep 12 16:05 tmp/deploy/rpm/cortexa9hf_neon/memtester-4.3.0-r0.cortexa9hf_neon.rpm
-rw-r--r-- 1 dvdk dvdk 27693 Sep 12 16:05 tmp/deploy/rpm/cortexa9hf_neon/memtester-dbg-4.3.0-r0.cortexa9hf_neon.rpm
8,226
edits