Difference between revisions of "DESK-MX6UL-L/General/DVDK Virtual Machine"

From DAVE Developer's Wiki
Jump to: navigation, search
(Host setup)
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
|-  
 
|-  
 +
!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"|Version
 
!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"|Issue Date
 
!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"|Issue Date
 
!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:#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"|{{oldid|14305|2021/07/21}}
+
|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"|1.0.1
 +
|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"|Jun 2021
 
|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-MX6UL release
 
|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-MX6UL 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" |2023/12/06
 
! 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" |Update information based on DESK-MX6UL-L-4.0.1
 
 
|-
 
|-
 
|}
 
|}
 
<section end=History/>
 
<section end=History/>
__FORCETOC__
 
 
<section begin=Body/>
 
<section begin=Body/>
 +
 +
__TOC__
 +
  
 
==Virtual Machine==
 
==Virtual Machine==
  
[[DESK-MX6UL-L | DESK-MX6UL-L]] contains all the required software and documentation to start developing Linux application on the AXEL ULite platform. In particular, [[DESK-MX6UL-L | DESK-MX6UL-L]] provides a virtual machine, called DVDK, with the following features:
+
[[AXEL ULite SOM/DESK-MX6UL-L | DESK-MX6UL-L]] contains all the required software and documentation to start developing Linux application on the AXEL ULite platform. In particular, [[AXEL ULite SOM/DESK-MX6UL-L | DESK-MX6UL-L]] provides a virtual machine, called DVDK, with the following features:
  
 
* VirtualBox virtual machine (.OVA archive)
 
* VirtualBox virtual machine (.OVA archive)
* based on Lubuntu 20.04 LTS (64-bit version)
+
* based on Lubuntu 16.04 LTS (64-bit version)
 
* pre-installed VirtualBox Guest Additions
 
* pre-installed VirtualBox Guest Additions
 
* LXDE desktop environment
 
* LXDE desktop environment
Line 40: Line 41:
 
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 [[AXEL ULite SOM]].
 
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 [[AXEL ULite SOM]].
  
=== Guest Addictions ===
+
===Host setup===
''Guest Addictions'' installation may fail if the VirtualBox version is different from the VM linux kernel version.
+
As stated previously, [[AXEL ULite SOM]] host tools are based on a [[Managed_Virtual_Machine_(MVM)|Managed Virtual Machine]]. As indicated [[AXEL ULite/AXEL ULite Evaluation Kit/Getting started/Unboxing#microSD_Layout|here]], microSD card delivered along with [[AXEL ULite SOM/AXEL ULite Evaluation Kit | AXEL ULite Evaluation Kit]] includes basic version of MVM that is the default option.
 
 
In case of VBox error message:
 
 
 
Error: kernel headers not found
 
  
as suggested [https://askubuntu.com/questions/98416/error-kernel-headers-not-found-but-they-are-in-place here], install the correct kernel header using the following command:
+
Please follows the README file on the SD card to extract the ''*.ova'' archive and to install the MVM.
  
sudo apt-get install linux-headers-`uname -r`
+
It is also worth remembering that access to git repositories is required to download target source code. To enable it, please refer to [[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|this page]].
  
and the run the Guest Addictions install
+
MVM can be downloaded [https://cloud.dave.eu/ws-RA-DESK-MX/ here]. For accessing <b><i>DESK Reserved area</i></b> please contact our [mailto:helpdesk@dave.eu helpdesk support channel]
 
 
<pre class="workstation-terminal">
 
dvdk@vagrant:/media/dvdk/VBox_GAs_6.1.18$ sudo ./VBoxLinuxAdditions.run
 
Verifying archive integrity... All good.
 
Uncompressing VirtualBox 6.1.18 Guest Additions for Linux........
 
VirtualBox Guest Additions installer
 
Removing installed version 6.1.16 of VirtualBox Guest Additions...
 
update-initramfs: Generating /boot/initrd.img-4.4.0-197-generic
 
Copying additional installer modules ...
 
Installing additional modules ...
 
VirtualBox Guest Additions: Starting.
 
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
 
modules.  This may take a while.
 
VirtualBox Guest Additions: To build modules for other installed kernels, run
 
VirtualBox Guest Additions:  /sbin/rcvboxadd quicksetup <version>
 
VirtualBox Guest Additions: or
 
VirtualBox Guest Additions:  /sbin/rcvboxadd quicksetup all
 
VirtualBox Guest Additions: Building the modules for kernel 4.4.0-197-generic.
 
update-initramfs: Generating /boot/initrd.img-4.4.0-197-generic
 
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
 
VirtualBox Guest Additions: Running kernel modules will not be replaced until
 
the system is restarted
 
dvdk@vagrant:/media/dvdk/VBox_GAs_6.1.18$
 
</pre>
 
 
 
===Host setup===
 
As stated previously, [[AXEL ULite SOM]] host tools are based on a [[Managed_Virtual_Machine_(MVM)|Managed Virtual Machine]]. MVM OVA files can be downloaded [https://cloud.dave.eu/ws-RA-DESK-MX/ here]. For accessing <b><i>DESK Reserved area</i></b> please contact our [mailto:helpdesk@dave.eu helpdesk support channel]
 
  
 
To install it, please refer to [[VirtualBox_Starting_DVDK_Virtual_Machine#Using_a_.ova_file|this page]].
 
To install it, please refer to [[VirtualBox_Starting_DVDK_Virtual_Machine#Using_a_.ova_file|this page]].
 
It is worth remembering that access to git repositories is required to download target source code. To enable it, please refer to [[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|this page]].
 
  
 
----
 
----
  
 
[[Category:AXEL ULite]]
 
[[Category:AXEL ULite]]

Revision as of 08:33, 1 July 2021

History
Version Issue Date Notes
1.0.1 Jun 2021 First DESK-MX6UL release



Virtual Machine[edit | edit source]

DESK-MX6UL-L contains all the required software and documentation to start developing Linux application on the AXEL ULite platform. In particular, DESK-MX6UL-L provides a virtual machine, called DVDK, with the following features:

  • VirtualBox virtual machine (.OVA archive)
  • based on Lubuntu 16.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 /srv/tftp/
    • NFS: configured through the /etc/exports file
  • secondary 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 AXEL ULite 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 AXEL ULite SOM.

Host setup[edit | edit source]

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

Please follows 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 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.