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 provides also a virtual machine - a.k.a. 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
  • boot disk with the distro and pre-configured basic Linux services:
    • TFTP: with base directory /tftpboot/
    • NFS: configured through the /etc/exports file
    • MVM has: 3 CPUs, 8192MB of RAM and 300 GB of HDD
  • 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]

200px-Emblem-important.svg.png

Since your OS, where VirtualBox is running, can be different compared to the version that we using, in case of an error we suggest updating VirtualBox to the latest release patch. For example, if we used virtualbox-7.2_7.2.12r174389 version of VirtualBox to test MVM but this does not work for you, update VirtualBox to the latest version of virtualbox-7.2_7.2.XX

As previously stated, host tools are based on a Managed Virtual Machine, we used virtualbox-7.2_7.2.12r174389 to perform virtual machine. MVM OVA files can be downloaded here.

To install the Virtual Machine OVA file, please refer to this page.

Virtual Machine updates[edit | edit source]

The Ubuntu distribution may ask for an update, if available, due to the Update Notifier. The updates are not required for DESK Virtual Machine functionality.


200px-Emblem-important.svg.png

It is suggested to not install the updates. They may change or corrupt what tested and documented in our wiki pages

If this is annoying for you, it is possible to disable it.


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 the proper installer for the Soc family / SOM:


  • launch the installation file (an example is below for mx8m family):
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$