This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
谢谢,我是想通过SD卡升级程序,并在升级的过程中显示进度条。
现已实现该功能,但有个问题,就是调用GrStringDrawCentered()能在屏上显示字符串,但我想在升级过程中实时显示百分比,不知道能否显示字符串时传参数进去(就像printf()函数一样),不知是否又这样的函数?
GrContextFontSet(&sContext, &g_sFontCm20);
GrStringDrawCentered(&sContext, "grlib demo", -1,GrContextDpyWidthGet(&sContext) / 2, 15, 0);
你好,我最近在做am335x开机时uboot显示logo的项目,我采用的uboot版本是2011.09(因为要保证项目的可持续性,必须要使用该版本的uboot,不能使用新版本)。
我查阅了uboot-2011.09的代码,针对am335x平台的lcd驱动,在2011.09版本的uboot代码中好像并不支持。
是不是先要在uboot-2011.09中移植关于am335x 的lcd驱动?那么我该采用什么方法实现呢?
另外我也注意到在TI的2016.05版本uboot代码中,/drivers/video/下存在am335x-fb.c,请问这是am335x的lcd驱动代码吗?
注:
1)在uboot源码目录下drivers/video目录下看到了与显示相关的代码,在common目录下发现了lcd.c,跟lcd驱动相关的代码究竟是指drivers/video/下面 还是common/lcd.c, 他们分别表示什么?
期望得到你的指导,谢谢!