首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

framebuffer和输出有关问题

2012-02-27 
framebuffer和输出问题我使用 framebuffer画图,让后用了printf() 打印.printf()的输出总是要覆盖掉frame

framebuffer和输出问题
我使用 framebuffer画图,让后用了printf(); 打印.printf();的输出总是要覆盖掉framebuffer画的图.我是个初学者,不知道这样问清楚没有,望各位大侠帮忙解决一下,谢谢~!

[解决办法]
如果是调试信息可以输出到文件里,

如果是嵌入式板子,把输入设为串口,如修改内核启动参数加console=ttyS0表示输入到串口

也可以加console=tty1这样类终端上输入试试看
[解决办法]
同意楼上的意见。

你可能是把调试输出到屏幕上了,

修改一下 console=ttyS0 类似的参数
[解决办法]
console参数是可以多次指定的! 
try: 
console=tty0 console=ttySAC0,115200 
也许可以满足你的需要! 查看内核文档 Documentation/serial-console.txt 文件!
 
You can specify multiple console= options on the kernel command line. 
Output will appear on all of them. The last device will be used when 
you open /dev/console. So, for example: 

console=ttyS1,9600 console=tty0 

defines that opening /dev/console will get you the current foreground 
virtual console, and kernel messages will appear on both the VGA 
console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.

热点排行