Technology Sharing

[Beijing Xunwei] "i.MX8MM Embedded Linux Development Guide" - Part 1 Embedded Linux Introduction - Chapter 22 Installing VMware Tool

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

The i.MX8MM processor uses the advanced 14L PCFinFET process, providing faster speed and higher power efficiency; quad-core Cortex-A53, single-core Cortex-M4, up to five cores, main frequency up to 1.8GHz, 2G DDR4 memory, 8G EMMC storage. Gigabit industrial-grade Ethernet, MIPI-DSI, USB HOST, WIFI/BT, 4G module, CAN, RS485 and other interfaces are all available. H264, VP8 video hard encoding, H.264, H.265, VP8, VP9 video hard decoding, and provide related processes, support 8-way PDM interface, 5-way SAI interface, 2-way Speaker. The system supports Android 9.0 (supports root access) Linux 4.14.78+Qt 5.10.1, Yocto, Ubuntu 20, Debian 9 systems. Suitable for smart charging piles, Internet of Things, industrial control, medical, intelligent transportation, etc., can be used for any general industrial and Internet of Things applications,

【Official Account】Xunwei Electronics

【Fan group】258811263


Chapter 22 Installing VMware Tool

The corresponding video explanation link for this chapter (watch online):

VMware Tools installation and use  https://www.bilibili.com/video/BV1M7411m7wT?p=22

From this chapter, we will build an embedded development environment. Let's install VMware Tool first. We copy something on Ubuntu, but cannot paste it on Windows because we have not installed VMware Tool. Only after installing this tool can we realize the mutual copy and paste between Ubuntu and Windows.

Next we install VMware Tool. Before installing, we first set up the virtual machine. Click Edit Virtual Machine Settings.

We selected CD/DVD 2 (SATA) and changed it to a physical drive, which originally used an ISO image file.

Similarly, CD/DVD (SATA) also needs to select the physical drive, and we need to select automatic detection for both. After setting this, we can start the virtual machine. If you do not set this option, we click Virtual Machine (M) - Install VMware Tool and this option will be grayed out.

After entering the Ubuntu desktop, click on the virtual machine, and then select the option to install VMware Tool. After a while, the compressed package will be downloaded and the interface where the compressed package is placed will pop up. VMware-tools-upgrader-64 is the installation package. As shown in the figure below.

Then open the console and enter the df -l command. We have an additional mount point /media/topeet/VMware Tools here, and then enter the ls command. We can see the installation package as shown in the figure below.

Next, the author creates a vmtool folder in the opt folder in the root directory. Because the opt folder in our root directory usually contains third-party programs, we operate in the opt folder. Here we need to execute sudo as an administrator. The name of our folder is vmtool, which is given by the author himself. Then unzip the compressed package into the vmtool folder we created. We also need to execute it as an administrator. Use the tar command directly. We wait for it to be unzipped successfully.

After successful decompression, the author enters the vmtool folder in the root directory, and then you can see the files generated by the decompression. We enter this folder, and the one ending with .pl is our installation file. Let's run this file. To run this installation file, we must also run it as an administrator. Here we have to select y and press Enter. Later we all enter y and press Enter. We can also press Enter directly because it defaults to yes.

After VMtool is installed, you need to restart Ubuntu. After the restart, we need to check whether the vmtool tool has been successfully installed. We click the virtual machine option in the menu bar and see that it is reinstalling vmtool instead of installing vmtool. If it is reinstalling, it proves that our installation is successful.

Next, we can copy the text on Ubuntu to the computer, and we can also copy the text on the Windows computer to Ubuntu.

After installing this tool, if we encounter an error during development and we don't know what it means, we can directly copy the error and paste it into the search engine on Windows to search directly. If there are some codes on Windows that need to be copied to Ubuntu, we can also directly paste them here, which greatly improves our development efficiency. If you have installed vmtool before, you don't need to install it again.