U-boot support for integrating new LVDS display from SHARP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

U-boot support for integrating new LVDS display from SHARP

2,006 Views
lijojohnc
Contributor I

Hi,

I am integrating the LVDS display (SHARP-LQ150X1LX95) into the Advantech development board that has DMS-BA16 Q7 module.

http://www.advantech.com/products/medical_computing_system/dms-ba16/mod_64aa1566-169c-483d-97c8-c2c2...

As per the LVDS display data sheet, it has the following configurations.

Refresh rate=60 Hz, Resolution =1024X768, pixel clock=65MHz, Horizontal period=1344, Horizontal period=806, RGB that has 24 bit(8 bit X RGB), this display also supports 18 bit (6 bit X RGB) configuration.

The "u-boot-fslc-2017.07/board/advantech/dms-ba16/dms-bs16.c" file is modified to support the above LVDS display configuration.

struct display_info_t const displays[] = {

{

       .bus   = -1,

       .addr  = 0,

       .pixfmt      = IPU_PIX_FMT_RGB24,

       .detect      = detect_baseboard,

       .enable      = NULL,

       .mode  = {

              .name           = "SHARP-LQ150X1LX95",

              .refresh       = 60,

              .xres           = 1024,

              .yres           = 768,

              /*pixclock     = (10^12)/clk_freq*/

              .pixclock       = 37000, //15385=65MHz //37000=27MHz

              .left_margin   = 220,

              .right_margin   = 40,

              .upper_margin   = 21,

              .lower_margin   = 7,

              .hsync_len     = 60,

              .vsync_len     = 10,

              .sync           = FB_SYNC_EXT,

              .vmode         = FB_VMODE_NONINTERLACED

} },

 

So the issue that I am facing with this LVDS display is that, it’s not working when I configure it for 65MHz pixel clock and if I configure it for 27 MHz, the LVDS is displaying with the following issue.

  1.  Color pattern is very much different.
  2. When I use the image of 1024X768, then the right most part of the image is going out of the screen.

I did few changes in the above configuration, but could not fix the issue. If I change the pixfmt to IPU_PIX_FMT_RGB666, then the image color is very different than the original. Also, the same image is coming properly in HDMI display, if I change the configuration as HDMI display in u-boot.

Please let me know the right configuration is U-boot and the relevant SW changes, so that I can update the same and displayed the screen correctly on the new LVDS display.

 

The below images are displayed using the “bmp display” command (after converting into BMP format – using “MS paint”) in U-boot. See the corresponding attachments displayed in LVDS.

http://www.wollemipine.co.uk/acatalog/Wallpaper_CollectorsEdition1024x768.jpg

https://wallpaperstock.net/deep-blue-sky_wallpapers_8796_1024x768_1.html

http://wallpaperstock.net/planet-and-the-field_wallpapers_12601_1024x768.jpg

http://www.crestock.com/uploads/blog/wallpapers/set2/crestock-281777-1024x768.jpg

https://mota.ru/upload/wallpapers/2013/09/25/17/04/37447/7BPPhvzFch-1024x768.jpg

https://mota.ru/upload/wallpapers/2015/04/12/18/01/43760/120-1024x768.jpg

https://www.hdwallpapers.net/wallpapers/deep-blue-wallpaper-for-1024x768-70-257.jpg

https://mota.ru/upload/wallpapers/2009/07/14/18/05/1648/3d_1810-1024x768.jpg

http://www.wallpapersbyte.com/wp-content/uploads/2015/06/Nature-Landscape-Tree-Green-Sky-Blue-Clouds...

 

Regards

LJC

Labels (2)
0 Kudos
1 Reply

1,490 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lijo

for advantech boards one can post on its forum

Linux Software Features - ESS-WIKI 

Also one can test with nxp splash patches and bsps

Patch to support uboot logo keep from uboot to kernel for NXP Linux and Android BSP (HDMI, LCD and L... 

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos