A: imx6q uboot2016.03 logo如何修改使用的LVDS屏为1280*800
B:主机平台: UBUNTU14.04
编译器: ARM-poky-linux-gnueabi-gcc
U-boot版本: u-boot-2016.03
U-BOOT-2016.03 LOGO修改
步骤1:
修改分辨率(按数据手册修改分辨率参数)
$ cd u-boot-2016.03/
$ vim include/configs/myimx6a9.h
#ifdef IPU_OUTPUT_MODE_LVDS
/* For LVDS, 1280*800 resolution */
#define DISPLAY_WIDTH 1280
#define DISPLAY_HEIGHT 800
#define DISPLAY_BPP 24
#define DISPLAY_IF_BPP 24 /* RGB666 interface */
#define DISPLAY_HSYNC_START 40
#define DISPLAY_HSYNC_END 40
#define DISPLAY_HSYNC_WIDTH 80
#define DISPLAY_VSYNC_START 10
#define DISPLAY_VSYNC_END 10
#define DISPLAY_VSYNC_WIDTH 10
#define DISPLAY_PIX_CLOCK
71100000 /*(DISPLAY_HSYNC_START + DISPLAY_HSYNC_END +
DISPLAY_HSYNC_WIDTH + DISPLAY_WIDTH) * (DISPLAY_VSYNC_START +
DISPLAY_VSYNC_END + DISPLAY_VSYNC_WIDTH + DISPLAY_HEIGHT) * refresh rate
(60Hz) */
#define DISPLAY_VSYNC_POLARITY 0
#define DISPLAY_HSYNC_POLARITY 0
#define DISPLAY_CLOCK_POLARITY 0
#define DISPLAY_DATA_POLARITY 0
#define DISPLAY_DATA_ENABLE_POLARITY 1
#define IPU_NUM 1 /* 1 for IPU1, 2 for IPU2. */
#define DI_NUM 1 /* 0 for DI0, 1 for DI1. */
#define LVDS_PORT 1 /* 0 for LVDS0, 1 for LVDS1. Note: LVDS and DI should be same number. */
#define DI_CLOCK_EXTERNAL_MODE /*
When clock external mode was defined, the DI clock root will be PLL3
PFD1, without this macro, the DI root clock is IPU internal clock. */
/*#define LVDS_CLOCK_SRC_PLL5*/
#endif
步骤2:
修改 my_logo.bmp为1280x800分辨率24bit的图片,
复制到烧写工具里面。
共2条
1/1 1 跳转至页
[讨论] uboot2016.03 logo如何修改

关键词: uboot2016.03 修改 讨论
共2条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【换取手持数字示波器】MicrochipMPLABHarmony框架下定时器配置被打赏20分 | |
【换取手持数字示波器】MicrochipMPLABHarmony框架下PWM配置被打赏20分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 |