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分 | |
【Zephyr】使用Zephyr外设初始化过程解析被打赏30分 | |
【S32K146】S32DS watchdog 配置使用被打赏20分 | |
【Zephyr】使用 IAR 调试 Zephyr 镜像被打赏20分 | |
赚取电动螺丝刀+电源电路理论知识分享1被打赏5分 | |
我想要一部加热台+分享常见运算放大器电路的应用被打赏5分 | |
【Zephyr】MCXN947 Zephyr 开发入门适配shell被打赏20分 | |
我想要一部加热台+常见的MOS管驱动电路被打赏5分 | |
【我要开发板】6.联合MATLAB记录数据被打赏50分 | |
【换取手持数字示波器】MicrochipMPLABHarmony框架下串口调试printf输出记录被打赏29分 |