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 跳转至页
回复
打赏帖 | |
---|---|
宏定义和const关键字定义被打赏5分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 | |
【Freertos】任务管理被打赏10分 | |
分享博世的两种不同的喷射系统模式被打赏5分 | |
汽车+开路实验与短路实验被打赏10分 | |
多点式电子控制汽油喷射系统知识分享被打赏10分 | |
分享机械控制式汽油喷射系统被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】解决基于CH341制作无线模块时芯片发热问题被打赏31分 | |
【分享开发笔记,赚取电动螺丝刀】使用STM32F103ZE主控调试RS485通讯的避坑经验被打赏36分 | |
【分享开发笔记,赚取电动螺丝刀】移植xprintf模块被打赏27分 |