Changes

Jump to: navigation, search

Building the Yocto BSP (BELK/BXELK)

8 bytes added, 13:30, 23 September 2021
no edit summary
For more general information regarding the Yocto build system, please refer the [[:Category:Yocto|dedicated category page]].
===How to build the Yocto BSP images including the U-Boot binary file, the Linux kernel image, and the target root file system image===
{{ImportantMessage|text=The following procedure requires the access to the DAVE Embedded Systems' git repositories. The access to such repositories is granted to development kit's owners only. Please refer to [[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|this page]] for detailed instructions on how to get it.}}
{{ImportantMessage|text=This process requires a lot of hardware resources in terms of disk storage, RAM, and processing power. For this reason, it also is recommended to consider the use of a physical machine. For more details on this topic, please refer to [[Advanced_use_of_Yocto_build_system_(BELK/BXELK)|this document]] which talks about the advanced use of the Yocto build system.}}
==== Initialize the build environment ====
Before running the build, the environment must be initialized properly.
</pre>
==== Running the build ====
Please note that even the basic root file system requires a few hours to build on a mid/hi range desktop (4-6 cores, 8-12 GiB RAM) also depending on your Internet connection speed (all sources are fetched from the network). Nearly 20GiB of disk space is required for the build. The process may be slowed down significantly since the performances of a virtual machine are reduced if compared to the physical hardware. Thus, it's recommended to check the hardware capabilities of the host system and, when building with Yocto is required, to consider the following options:
* Migrating the build system to a physical machine
Once the build process is completed, the resulting files (the U-Boot binaries, the Linux kernel image, the device tree blob, the .tar.gz compressed root file system image, etc.) will be available in <code>build/tmp/deploy/images/bora</code>.
====Generating the SDKs====
After creating an image as described in the previous version, the corresponding SDK can be generated by issuing the following command:
<pre class="workstation-terminal">
8,221
edits

Navigation menu