DESK-MX9-L/General/DVDK Virtual Machine

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

2024/07/25

DESK-MX9-L-5.x.x release
2026/02/17 DESK-MX9-L-6.x.x



Virtual Machine[edit | edit source]

DAVE' standard DVDK Virtual Machine contains all the required software and documentation to start developing Linux applications on the AURA platforms. In particular, DESK-MX9-L provides a virtual machine, called DVDK, with the following features:

  • VirtualBox virtual machine (.OVA archive)
  • based on Lubuntu 20.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/desk-mx9-l/
    • NFS: configured through the /etc/exports file
  • Disk containing source code and tools:
    • bootloader (U-Boot) source tree cloned from DAVE Embedded Systems public git repository
    • Linux kernel source tree cloned from DAVE Embedded Systems public git repository
    • external pre-built toolchain
    • Yocto BSP for AURA SOM
  • pre-installed Yocto-based root file systems with setup scripts, makefiles, example applications, ...
  • 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

Please note that U-Boot and kernel source trees are derived from the official trees released by NXP/Freescale; these trees have been customized to add support for the AURA SOMs.

Host setup[edit | edit source]

As stated previously, AURA SOM host tools are based on a Managed Virtual Machine. As indicated here, microSD card delivered along with AURA Evaluation Kit includes basic version of MVM that is the default option.

Please follow the README file on the SD card to extract the *.ova archive and to install the MVM.

It is also worth remembering that access to git repositories is required to download the target source code. To enable it, please refer to this page.

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

The DESK-MX9L-L Ubuntu 20.04 Virtual Machine - used up to DESK-MX9-L-5.x.x release - is still valid.

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

DESK-MX9-L-6.0.0 meta toolchain SDK can be installed to build U-Boot and kernel sources:

dvdk@vagrant:~$ cd desk-mx-l/
dvdk@vagrant:~/desk-mx-l$ wget https://mirror.dave.eu/desk-mx-l/desk-mx9-l-6.0.0/fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh
dvdk@vagrant:~/desk-mx-l$ chmod +x fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh
dvdk@vagrant:~/desk-mx-l$ ./fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh -d /opt/yocto/sdk/desk-mx9-l/desk-mx9-l-6.0.0 -y
NXP i.MX Release Distro SDK installer version 6.6-scarthgap
===========================================================
Enter target directory for SDK (default: /opt/fsl-imx-wayland/6.6-scarthgap): ^C
dvdk@vagrant:~/desk-mx-l$ ./fsl-imx-wayland-glibc-x86_64-meta-toolchain-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh -d /opt/yocto/sdk/desk-mx9-l/desk-mx9-l-6.0.0 -y
NXP i.MX Release Distro SDK installer version 6.6-scarthgap
===========================================================
You are about to install the SDK to "/opt/yocto/sdk/desk-mx9-l/desk-mx9-l-6.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/sdk/desk-mx9-l/desk-mx9-l-6.0.0/environment-setup-armv8a-poky-linux
dvdk@vagrant:~/desk-mx-l$

Installing the application SDK[edit | edit source]

DESK-MX9-L-6.0.0 application SDK can be installed to build userspace application:

dvdk@vagrant:~$ cd desk-mx-l/
dvdk@vagrant:~/desk-mx-l$ wget https://mirror.dave.eu/desk-mx-l/desk-mx9-l-6.0.0/fsl-imx-wayland-glibc-x86_64-dave-image-minimal-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh
dvdk@vagrant:~/desk-mx-l$ chmod +x fsl-imx-wayland-glibc-x86_64-dave-image-minimal-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh
dvdk@vagrant:~/desk-mx-l$ ./fsl-imx-wayland-glibc-x86_64-dave-image-minimal-armv8a-desk-mx93-rev1-toolchain-6.6-scarthgap.sh -d /home/dvdk/desk-mx-l/sdk/desk-mx9-l-6.0.0 -y

Using the SDK[edit | edit source]

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

 source /opt/yocto/sdk/desk-mx9-l/desk-mx9-l-6.0.0/environment-setup-armv8a-poky-linux