Ca anyone help me,
I want to display custom image of size 800x600 to the lvds display of resolution 800x600.
I am using to put 800x600 full image in .ppm format. (ascii converted ppm format)
i am using the below structure to display custom image.
static struct fb_videomode lcd_custom_1 = {
.name = "custom1",
.refresh = 60,
.xres = 800,
.yres = 600,
.pixclock = 40000,
.left_margin = 83,
.right_margin = 112,
.upper_margin = 37,
.lower_margin = 61,
.hsync_len = 5,
.vsync_len = 2,
.sync = FB_SYNC_EXT,
.vmode = FB_VMODE_NONINTERLACED,
.flag = 0,
};
The following displays and resolutions may be selected for the i. MX51 EVK:
• Display Port 0
— DVI digital output—800×600, 1024×768, 1280×1024 — Mitsubishi 8.4” XGA LVDS display (AA084XA03)—1024×768 • Display Port 1 — Chunghwa 7” WVGA Display (CLAA070VC01)—800×480 — VGA analog output—800×600, 1024×768, 1280×1024 — TV Output support for NTSC and PAL standard televisions and 720p and 1080i HDTVs—720×480, 720×576, 1280×720, 1920×1080
one should enable lvds driver in the bsp, then add lvds parameter in the uboot command.