Open main menu

DAVE Developer's Wiki β

Changes

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"|2024/01/xx31|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"|First DESK-MX9-L -5.0.0 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" |2024/04/09| 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" |DESK-MX9-L-5.1.0 release
|-
|}
|-
! stable tag
| desk-mx9-l-5.01.0| desk-mx9-l-5.01.0
|}
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/yocto$ python3 ./repo init -u git@git.dave.eu:desk-mx-l/desk-mx-l-bsp.git -b refs/tags/desk-mx9-l-5.01.0
dvdk@vagrant:~/desk-mx-l/yocto$ python3 ./repo sync
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/yocto$ DISTRO=fsl-imx-wayland MACHINE=desk-mx9 mx93-rev1 source desk-setup-release.sh -b build-wayland
...
Do you accept the EULA you just read? (y/n) y
==== 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 50GiB 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
* Assuming that the host system has the required resources, extending the hardware capabilities of the default MVM (e.g. adding more cores and disk space).
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 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/desk-mx9-l-5.0.0mx39</code>.
====Generating the SDKs====
</pre>
Again, replace <code><target-image-name></code> with one of the images listed in [[#Quick reference|here]].
 
====Generating the Toolchain====
Toolchain can be created by the following command:
 
<pre class="workstation-terminal">
bitbake meta-toolchain
</pre>
 
==== Building additional packages ====
To build additional packages the user must first enter select the directory where ''DISTRO'' and source the <code>desk-mx9-l-5.0.0-bspsetup-init-envrelease.sh</code> is placed and source itscript
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/yocto$ source DISTRO=fsl-imx-wayland MACHINE=desk-mxmx93-l/yocto-bsprev1 source desk-initsetup-envrelease.sh-b build-waylanddvdk@vagrant:~/desk-mx-l/yocto/build-wayland$
</pre>
</pre>
The resulting packages (the default format is <code>deb</code>) can be found inside ''tmp/deploy/rpm/images/desk-mx9mx93-l-5.0.0''.
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/yocto/build-wayland$ ls -l tmp/deploy/images/desk-mx9-l-5.0.0deb/armv8a/memtester*-rw-r--r-- 1 2 dvdk dvdk 10692 Sep 12 16 7548 Jan 28 13:05 54 tmp/deploy/images/desk-mx9-l-5.0.0deb/armv8a/memtester_4.56.10-r0_arm64.deb-rw-r--r-- 1 2 dvdk dvdk 27693 Sep 12 1621956 Jan 28 13:05 54 tmp/deploy/imagesdeb/deskarmv8a/memtester-mx9-l-5dbg_4.6.0-r0_arm64.0deb-rw-r--r-- 2 dvdk dvdk 876 Jan 28 13:54 tmp/deploy/deb/armv8a/memtester-dbg-4dev_4.56.10-r0_arm64.deb-rw-r--r-- 1 2 dvdk dvdk 2872 Sep 12 163072 Jan 28 13:05 54 tmp/deploy/images/desk-mx9-l-5.0.0deb/armv8a/memtester-dev-4doc_4.56.10-r0_arm64.deb-rw-r--r-- 1 2 dvdk dvdk 5903 Sep 12 166672 Jan 28 13:05 54 tmp/deploy/images/desk-mx9-l-5.0.0deb/armv8a/memtester-doc-4src_4.56.10-r0_arm64.deb
</pre>
dave_user
226
edits