Switch the debugging serial port to normal serial port in ARM + linux

Source: Internet
Author: User

Development Board model: friendly micro2440 (with a 7-inch screen -- awesome !)

 

Bootload: Vivi

 

System: Linux (The Development Board comes with 2.6.29)

 

Reference: http://www.100ask.net/showtopic.aspx? Forumid = 2 & topicid = 15 & go = next

 

Http://www.linuxforum.net/forum/showflat.php? Cat = & board = embedded & number = 606916 & page = & view = & SB = & O = & fpart = 1 & Vc = 1

 

Due to work needs, I studied how to release the debug serial port on the Development Board. Now remember to keep a record to prevent forgetting-it is also for others' reference.

 

At the beginning (the method I learned after reminders and reading some articles) in the VIVI command line, enter the following command "Param set linux_cmd_line" console = ttysac0 115200n8 "to display that the setting is successful. Then, enter" Boot "to check that the kernel is started, but the system prompts" MTD "Mounting Error.... Information such as the MTD driver cannot be found. I searched the internet for related materials... After thinking for a long time, I found that there is a parameter setting prompt in vivi (the prompt is as follows: Linux Command Line: noinitrd root =/dev/mtdblock2 init =/linuxrc console = ttysac0 ). Enter "Param set linux_cmd_line" root =/dev/mtdblock2 init =/linuxrc console = ''" as prompted, and then enter "Boot "... Oh, everything is normal. I tested the serial port debugging again... Hey, it's done!

 

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.