Build IMX257 development environment under Linux

Source: Internet
Author: User

< Span style= "font-size:xx-large;" > build Linux under Span style= "Font-family:ar PL UKai CN;" > IMX257 development environment

2015-03-09 Li Hai along


has been playing developmentIMX257are usedWindows,then you have to open a Super card virtual machine and then use theSecureCRTTelnet in the virtual machineLinuxand through the serial port to log on to the Development BoardLinuxsystem.

here, let's move all the development environment work to Linux Under the operating system, we don't have to suffer from a computer card caused by a virtual machine.

Next, we might as well:

< Span style= "font-size:large;" > in linux We can do this in two ways: minicom and C-kerimit Two different methods.

< Span style= "font-size:large;" > I just started using < Span lang= "en-US" >minicom But the main reason is < Span lang= "en-US" >minicom The use of the lack of garbled, do not know what is going on, tossing a while, no way, replaced by the c-kermit, after experimentation, it's really a powerful software.

C-kermitthe specific installation method is no longer described here and can be found at the command line$sudoapt-get Install Ckermit Download the installation, simple point can also be Linux implemented in your own software installation.

The installation is complete and the next step is configuration.

1. Configure Kermit:

per-userKermitthe configuration file in~/.MYKERMRC, if the file does not exist, thenKermitwill use/ETC/KERMIT/KERMRCthe file is initialized.

Edit ~/.MYKERMRC Use the command:

$vim ~/.MYKERMRC

Enter the content:

Setline/dev/ttyusb2

Setspeed 115200

Setcarrier-watch off

Sethandshake None

Setflow-control None

Robust

Setfile Type Bin

Setfile name lit

Setrec Pack 1000

Setsend Pack 1000

Setwindow 5

C

ls/dev/tty* used to view the serial number of the current system

< Span style= "font-size:x-large;" >2 start running kermit :

On the system command line, enter " Kermit " can be started and connected to the serial port (because the last line in front of us has a C )







Press C or Connect is to connect the serial port

< Span style= "font-size:large;" > Press " ctrl+ \ " re-enter " c kermit interface

< Span style= "font-size:large;" > press q quit kermit interface

Logging:

againKermitunder normal operation, press the "Ctrl + \ "and then enter "C", Return toKermitthe command line,Enter thelogsession "The log will be saved in the current directory asSesion.log.















Build IMX257 development environment under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.