Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
<section begin="History" />
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed3"|History|- !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"|ID#!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"|Issue Date!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:#73B2C7; padding:5px; color:white" |Issue Date! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb73B2C7; padding:5px; color:#000000white"|{{oldidNotes|18015|18015}}-|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"|19{{oldid|18015|2023/07/202319}}|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"|DESK-MP1-L-1.0.0 1 release|-! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2023/08/02! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |Updated distro information
|-
|}
<section end="History" /><section begin="Body" />
==Building the Yocto BSP==
===Quick reference===
{| class="wikitable" border="1"
!colspan="3" |Repository Information
|-
! Repository
|-
! URL
| git@https://git.dave.eu:/git/desk-mp1-l/desk-mp1-l-bsp.git| git@https://git.dave.eu:/git/desk-mp1-l/meta-desk-mp1.git
|-
! stable branch
|-
! stable tag
| desk-mp1-l-1.0.01| desk-mp1-l-1.0.01
|}
{| class="wikitable" border="1"
!colspan="23" |Build targets
|-
! NameDistro! Image name
! Description
|-
| openstlinux-eglfs
| dave-image-devel
| This image include tools for development/debugging
|-
| openstlinux-weston
| dave-image-qt5-weston
| In addition <code>dave-image-devel</code>, this image provides Qt5 libraries using the <code>weston</code> backend with <code>wayland</code> server
For more information on the Linux filesystem, please refer to http://www.thegeekstuff.com/2010/09/linux-file-system-structure/.
''desk-mp1-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>deskdave-mp1image-l-imageqt5-develweston</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>smartapt-get</code> tool. Please refer to [[Advanced_use_of_Yocto_build_system_(''deskDESK-mp1MP1-l'')#Using_pre-built_package_archiveL/Development/Management of prebuilt packages|this section]] for more details.
To generate the supported root file systems, the build of the Yocto BSP has to be run. The output of this process is an image containing the U-Boot binary file, the Linux kernel image, and the selected root file system image. The following sections describe in detail how to execute this operation.
For more general information regarding the Yocto build system, please refer the [[:Category:Yocto|dedicated category page]].
 
{{InfoMessage|text=Yocto build system can be cumbersome and its learning curve is generally quite steep for developers who have no or little familiarity with the embedded Linux world. For these reasons, "yoctoization" of users' applications as described [[Working_with_the_Yocto_build_system#Introduction|here]] may be a hard task. DAVE Embedded Systems, however, can provide consultant services to support our customers dealing with such issues. For more details, please contact our [mailto:sales@dave.eu Sales Department].}}
===How to build the Yocto BSP images including the U-Boot binary file, the Linux kernel image, and the target root file system image===
dvdk@vagrant:~/desk-mp1-l$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo-1 > repo
dvdk@vagrant:~/desk-mp1-l$ chmod a+x repo
dvdk@vagrant:~/desk-mp1-l$ ./repo init -u git@https://git.dave.eu/git/desk-mp1-l/desk-mp1-l-bsp.git -b refs/tags/desk-mp1-l-1.0.01
dvdk@vagrant:~/desk-mp1-l$ ./repo sync
dvdk@vagrant:~/desk-mp1-l$ EULA=1 DISTRO=openstlinux-eglfs weston MACHINE=desk-mp1 source ./desk-setup-release.sh
</pre>
Where <code><target-image-name></code> is one of the images listed in [[#Quick reference|here]].
Once the build process is completed, the resulting files (the ATF, U-Boot binaries, the Linux kernel image, the device tree blob, the .tar.gz xz compressed root file system image, etc.) will be available in <code>build/tmp/deploy/images/desk-mp1-l</code>. The artifacts produces by the build process include WIC files as well. These files are [https://docs.yoctoproject.org/dev-manual/wic.html partitioned images] used to create bootable SD cards as detailed [[DESK-MP1-L/Development/How to create a bootable microSD card|here]].
====Generating the SDKs====
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mp1-l$ EULA=1 DISTRO=openstlinux-eglfs weston MACHINE=desk-mp1 source ./desk-setup-release.sh
dvdk@vagrant:~/desk-mp1-l/build$
</pre>
----
[[Category:ETRA]] [[Category:ETRA_SBC]]
8,226
edits