uboot
文章平均质量分 77
zhishiloudou
这个作者很懒,什么都没留下…
展开
-
uboot2010.03关于LCD输出的处理-printf()函数分析
printf()函数定义在common/console.c中,是通用函数,除了特殊情况外移植时不需要改动。void printf(const char *fmt, ...){va_list args;uint i;char printbuffer[CONFIG_SYS_PBSIZE];va_start(args, fmt);/* For this to原创 2016-04-25 14:53:56 · 2004 阅读 · 0 评论 -
关于uboot2010.03LCD命令行界面,命令超过一行时,最后一行被输出结果覆盖的探讨
将uboot2010.03移植到mini2440上,选择LCD作为输出设备,串口作为输入设备。LCD分辨率240*320。在lcd的命令行界面出现了一个问题:当命令长度超过一行转到下一行时,输入回车,执行结果会将命令本身的最后一行覆盖。比如:命令本身一共2行,则执行后第2行,被覆盖;命令本身3行,则前2行没问题,第3行被覆盖。这个问题困扰了很久,但是今天终于找到原因了。首先分析一下管理命令行界原创 2016-05-11 10:14:13 · 739 阅读 · 0 评论 -
uboot2010.3关于LCD输出的处理-字符处理
1.uboot用来LCD输出的最底层函数为:static void video_drawchars (int xx, int yy, unsigned char *s, int count),该函数位于driver/video/cfb_console.c中。static void video_drawchars (int xx, int yy, unsigned char *s, int co原创 2016-04-21 14:36:11 · 1176 阅读 · 0 评论 -
uboot2010.3关于LCD输出的处理-LCD初始化设置
1.start_armboot()------stdio_init()------drv_video_init()为LCD初始化函数。该函数主要完成上层结构体的初始化、LCD设备注册,以及底层硬件初始化。int drv_video_init (void){int skip_dev_init;struct stdio_dev console_dev;/* Check if原创 2016-04-22 10:08:20 · 1747 阅读 · 0 评论