The root cause of this behavior is the initialization of serial port
during linux kernel boot. In xmon init, we configured the serial port to:
・ Baudrate: 115200
・ Data: 8bit
・ Stop bit:1
During Linux boot, it will re-configure serial port to its default value.
There’s 2 ways to resolve this:
1. After login, open the terminal with minicom and set the “BPS/Par/Bits” to “115200
2. If you want the log from boot (before login), you should configure the serial
port correctly in grub for the kernel command, like:
kernel /boot/ vmlinuz-2.6.18-92.el5 ro root=LABEL=/ console=tty0 console=ttyS0,115200n8
Solution 1 is simple. Solution 2 can got log before login.
Hope it can help you.
From: Intel-KGT [mailto:email@example.com] On Behalf Of ???
Sent: Thursday, March 17, 2016 12:01 AM
Subject: A problem about serial debugging iKGT
Dear iKGT Designer:
I connected my devlopment computer(with iKGT installed) and my laptop through a
The debug info can be print on my laptop during the boot process like this:
But after login the linux on my development computer, the info on the serial port turn
I checked the source code. Informations from MON_LOG() is well,but which from
ikgt_printf() is unreadable codes.
But both of them use mon_vprintf() to print into serial buffer.
Why it shows like that?
How can I get the info from ikgt_printf()?
I am looking forward to your kindly reply!thx~
Renmin University of China
Show replies by date