|
主机平台: UBUNTU14.04
硬件平台:明远智睿MY-IMX6-EK200 (其他平台也是)
编译器: 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的图片,
复制到烧写工具里面。
|
|