DESK-MX6-L/General/DVDK Virtual Machine

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes

2021/07/16

First DESK release

2022/03/24

Add Updates note

2023/12/06

Update information based on DESK-MX6-L-4.0.0
2026/10/02 DESK-MX-L-7.0.0 release



Virtual Machine[edit | edit source]

DAVE' standard DVDK Virtual Machine provides a virtual machine, called DVDK, with the following features:

  • VirtualBox virtual machine (.OVA archive)
  • based on Lubuntu 26.04 LTS (64-bit version)
  • pre-installed VirtualBox Guest Additions
  • LXDE desktop environment
  • VSCode with dev-container plugin
  • boot disk with the distro and pre-configured basic Linux services:
    • TFTP: with base directory /tftpboot/
    • NFS: configured through the /etc/exports file
  • administrator account (dvdk) with autologin. Please note that the user account credentials are provided with the development kit (you can find them in the README file contained in the sw/dvdk folder of the kit distribution)
    • user: dvdk
    • password: dvdk

Host setup[edit | edit source]

Host tools are based on a Managed Virtual Machine tested on virtualbox-7.2_7.2.12-174389 version.

MVM can be downloaded here. For accessing DESK Reserved area please contact our helpdesk support channel. To install it, please refer to this page.


200px-Emblem-important.svg.png

DESK-MX-L and DESK-XZ-L source codes are publicly available and can be downloaded via HTTPS without authentication.
Source code for customer-specific products, on the other hand, is hosted in restricted git repositories that require SSH key access. To enable it, please refer to this page

Installing the meta-toolchain SDK[edit | edit source]

meta toolchain SDK can be installed to build U-Boot and kernel sources:

  • download from the mirror server and launch the installation file (an example is below):
dvdk@vagrant:~$ mkdir desk-mx-l && cd desk-mx-l
dvdk@vagrant:~/desk-mx-l$ wget https://yocto.dave.eu/desk-mx8m-l-7.0.0-rc0/sdk/fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-imx8mm-lpddr4-evk-toolchain-6.18-wrynose.sh
dvdk@vagrant:~/desk-mx-l$ ./fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-imx8mm-lpddr4-evk-toolchain-6.18-wrynose.sh -d /opt/yocto/desk-mx8mm-l/desk-mx8mm-l-7.0.0 -y
NXP i.MX Distro with Wayland SDK installer version 6.18-wrynose
===============================================================
You are about to install the SDK to "/opt/yocto/desk-mx8mm-l/desk-mx8mm-l-7.0.0". Proceed [Y/n]? Y
Extracting SDK........................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . /opt/yocto/desk-mx8mm-l/desk-mx8mm-l-7.0.0/environment-setup-armv8a-poky-linux

Using the SDK[edit | edit source]

Anytime it is required to compile u-boot or kernel sources, it is enough to enable it using the script:

dvdk@vagrant:~/desk-mx-l$ source /opt/yocto/desk-mx8mm-l/desk-mx8mm-l-7.0.0/environment-setup-armv8a-poky-linux 
dvdk@vagrant:~/desk-mx-l$ echo $CC
aarch64-poky-linux-gcc -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/yocto/desk-mx8mm-l/desk-mx8mm-l-7.0.0/sysroots/armv8a-poky-linux
dvdk@vagrant:~/desk-mx-l$