日期:2014-05-16  浏览次数:20657 次

嵌入式linux设备调试除了用串口还有什么其他的方法
RT,目前所使用的开发板只有一个串口,并且已被占用。要调试此设备,除了使用串口还有没有其他的什么途径?
------解决方案--------------------
=。= 要看是啥设备吧...如果设备就只有一个串口,你还能用啥....
------解决方案--------------------
NFS调试,GDB调试啊
------解决方案--------------------
If no console device is specified, the first device found capable of
acting as a system console will be used. At this time, the system
first looks for a VGA card and then for a serial port. So if you don't
have a VGA card in your system the first serial port will automatically
become the console.

这里有一个改用其他串口的方式。不过你只有一个串口,所以怎么改都不行。
http://bbs.chinaunix.net/thread-2013802-1-1.html

只能采用netconsole了,具体的介绍和配置这里有文档。
https://wiki.ubuntu.com/Kernel/Netconsole
------解决方案--------------------
可以。输出重定向就行了