Original URL: http://blog.csdn.net/liaoxinmeng/article/details/5004743First of all:1. Neither the terminal nor the console is the concept of personal computers, but the concept of a small, medium-sized mainframe computer shared by many people.A host, even a lot of terminals, the terminal for the host to provide a human-computer interface, everyone through the terminal using the host resources. The terminal has two kinds of character dumb terminal and
As an embedded product, the company uses the ARM kernel and Linux operating system (not uClinux ). My recent work is to mount a previously prepared module (via serial port for communication) to the system, and control a series of work of this module through serial port, and require
Into a separate driver (not controlled by an application ). I also want to familiarize myself with the development method of th
Http://blog.sina.com.cn/s/blog_6151984a0100ejfg.html/Sbin/Getty-l 38400 ttys0 VT100Command used:Tty view which terminal to useWho views logged-on usersW. View login usersEcho "ABC">/dev/pts /*Echo "123">/dev/ttyama0 information transmission between different terminalsWhen you run a program, the process will definitely correspond to a terminal, and the printf print information will appear on the terminal. When the program enters the kernel state (such as calling the driver ), printk prints inform
Using a serial port terminal as the Linux console, you can remove the need for additional keyboards, display cards, and monitors, and use the Linux host as an embedded black box for any purpose. It is not difficult to connect a serial port terminal to a computer's serial port. You can refer to the Linux howto document
Author: gauss (posting) Source: www.linuxforum.net
Using a serial port terminal as the Linux console, you can remove the need for additional keyboards, display cards, and monitors, and use the Linux host as an embedded black box for any purpose. It is not difficult to connect a serial port terminal to a computer's serial
Author: gauss (resend) Source: www.linuxforum.net uses a serial port terminal as the Linux console, eliminating the need for additional keyboards, display cards, and monitors, while Linux hosts can be used as an embedded black box for any purpose. It is not difficult to connect the serial port terminal to the computer's seria
Article Title: how to direct the LINUX console to a serial port terminal. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Using a serial port terminal as the Linux console, you can
Turn from: Sina @walkantPart Four serial interface UART and consoleDetailed reference: http://dev.ardupilot.com/wiki/learning-ardupilot-uarts-and-the-console/UART is very important for debugging output, digital transmission, GPS module and so on.1, 5 UARTA total of 5 UART are defined, and their uses are:
The uarta– serial terminal, usually a micro USB in
14. Serial Console SetupSerial console This section is built with three main elements:1. Console Frame Setup1.1 The classification of the console is introduced:1.1.1 Menu-based console: the co
Historical origins of the terminalThe initial computer is expensive, so a computer is generally used by multiple people at the same time. In this case, a computer needs to connect many sets of keyboards and monitors for more than one person to use. In the past, there is a device that can connect to a computer, only a monitor and keyboard, and a simple processing circuit, which itself does not have the ability to process computer information, he is responsible for connecting to a normal computer
*/BreakNewcon->flags |= con_enabled;Newcon->index = c->index;if (i = = Selected_console) {Newcon->flags |= Con_consdev;Preferred_console = Selected_console;}Break}if (Newcon->flags Con_printbuffer) {//The BUF information is printed only if Con_printbuffer is set/** Console_unlock (); Would print out the buffered messages* For us.*/Raw_spin_lock_irqsave (logbuf_lock, flags);Console_seq = Syslog_seq;Console_idx = Syslog_idx;Console_prev = Syslog_prev;Raw_spin_unlock_irqrestore (logbuf_lock, flag
Console classification1. Menu-based console, select menu to execute command2. Analytic console to execute commands by entering commandsprintf (), scanf () function porting1. function with variable parameter2. Printing information to the serial port3. The key is to convert the argument to a string, and the correlation f
Console is on a serial deviceNo further output will appear on this output deviceOn the screen, the black screen shows that the console is on a serial device no further output will appear on this output device keyboard and mouse does not respond. Telnet connection should be OK, this problem was discovered when I used KV
Linux kernel print data to serial console issuesOriginal source: Http://i.cnblogs.com/EditPosts.aspx?opt=11. View the current console's print levelCat/proc/sys/kernel/printk4 4 1 7Where the first "4" represents the print level of the kernel print function PRINTK, only information that is higher than his level can be printed on the console, with 0-3 levels of info
display serial baud rate and other information:Stty-f/dev/ttyths2-a #dev/TTYTHS2 for the selected port numberparameter settings:Stty-f/dev/ttyths2 ispeed 115200 ospeed 115200 cs8Configure the baud rate 115200 data 8bit, generally set these two parameters can be, if the display data garbled, may also need to set other parameters, use man to view Stty other settings options.Send serial data:Echo 123>/DEV/TTYT
.
Compilation successful again.Since this modification only for the u-boot.bin, there is no impact on the u-boot-spl.bin, so you can just burn the u-boot.bin to the SD card fanArea 32.
Well, after transplantation for so long, the console can finally see the effect. Try the basic U-boot command:
After so many days, the results have finally been achieved, and the subsequent things have been improved on this basis. I put this version of the code here:
Wireless Serial products category, power coverage is more comprehensive, so want to use this module to build a star-shaped network.Took a few days to write the protocol stack, and on the PC with the socket is also simulated well, the effect is very good. But then transplanted to the real wireless serial port, the probl
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.