To use the serial port for Linux running on a virtual machine, you must set it in the Virtual Machine. Choose VM> Settings> hardware> Add to add the serial port. You can set COM1, com2 is added, you can also choose to automatically detect, then, disable Linux, and restart VMware. in this way, you can use the serial port. However, to use the serial port to download the kernel to the Development Board, you still need to set a minicom.
First, type "minicom" in the Command terminal to start the minicom software. By default, minicom performs initialization configuration when it is started. For example:
Next, you can type ctrl + a z to view the help information of minicom. You can enter "O" to configure the serial port parameters of minicom, or press Ctrl + A + O to configure the parameters. As shown in.
In this configuration box, select the subitem "Serial Port setup" To Go To The following configuration page.
The configuration of minicom is listed above. You can enter each subitem by entering the corresponding letter. For example, if you type A, the cursor is transferred to the corresponding position of item. In this way, you can change the following options. After the changes, you can enter the Enter key, confirm, and return.
Note: In minicom, "ttys0" corresponds to "COM1" and "ttys1" corresponds to "com2 ". the hardware is COM1, but ttys1 is required during the configuration process to connect successfully.
Next, you can configure the baud rate, data bit, and stop bit, and enter "E" to enter the configuration interface.
On the configuration change page, you can enter the corresponding letter, such as the baud rate and stop bit, to implement the configuration. After the configuration is complete, press the Enter key to exit the configuration interface. After confirming that the configuration is correct, you can enter the Enter key to return to the configuration interface of the upper level, and save it.
Then you can restart minicom to make the configuration take effect.
Here we will introduce a powerful screenshot capture tool, shutter, which is very good and powerful.