Welcome to the independent blog:
Http://junkor.info
First of all, standing on the shoulders of giants, the first half is the previous article. I am lucky to be guided by this article, set successfully, and pass the test. The second part is the configuration of the serial port tool. Original article address
$1. Download: sudo apt-Get install minicom2, insert USB to serial port, terminal input: dmesg | grep USB .................................... ........................................ ................ [7415.893942] USB serial: USB serial driver core [7415.931116] USB 3-1: ark3116 converter now attached to ttyusb0 [7415.931141] USB core: registered new interface driver ark3116 [7430.248072] USB 3-1: USB disconnect, Address 2 [7434.588044] USB 3-1: new full speed USB device using uhci_hcd and address 3 .............................. ........................................ ....................... 3. Settings: minicom-Sserial Port setup --> serial device:/dev/ttyusb0 hardware data stream and software data stream control are set to No 4. Save and Exit 5. Run in the Command window: note: by default, Ubuntu has been installed. USB to serial drive (pl2303 ). Mine is ark3116, which is also the default installation 1, # lsmod | grep USB serial if there is USB serial, The system supports USB to serial port. Yzj @ yzj-LAPTOP :~ /Minicom $ lsmod | grep usbserialusbserial 36264 3 ark31162, plug in the USB to serial port, enter the command on the terminal # dmesg | grep ttyusb0, if the connection is successful, it indicates that the Ubuntu system has recognized the device. The usage of the primary key combination is: press Ctrl + a first, then release the two keys, and then press the z key. There are also some common key combinations. (1) s key: send the file to the target system; (2) W key: automatic screen scrolling. When more than one line is displayed, the next line is automatically wrapped. This function is useful when viewing kernel startup information. (3) Key C: Clear the display content on the screen; (4) Key B: view the historical display of minicom; (5) Key X: Exit minicom and a prompt is displayed to confirm exit. $
Okay. After the USB to serial port is configured, It is the serial port tool. Kermit is used here.
Install Kermit
$ Sudo apt-Get install ckermit
Configuration
Here, the configuration is to manually write a configuration file. kermrc, which is placed in the/home/Jun directory (of course, you are definitely not the Jun directory, that is, the current user's home directory)
$ VI. kermrc # The file content is below. Note that this file is stored in/home/Jun.
# In fact, many configuration files of the software you installed are stored in this directory, except that # is hidden. Does it start.
Set line/dev/ttyusb0
Set speed 115200
Set carrier-watch off
Set handshake none
Set flow-control none
Robust
Set file type Bin
Set file name Parameters
Set rec package 1000
Set Send package 1000
Set window 5
Run
$ Sudo Kermit-C
It starts. to close it, press Ctrl + \, press C, enter exit, and press enter to exit.
Below are some of the screen capture tools Shutter for Ubuntu. Haha
Is the output of uboot;
Is the kernel and root file output on the Board;
Download this doc