AnsweredAssumed Answered

IMX6SL Custom Board based on IMX6SL EVK  with Custum display  (320 X RGB X 480 dots).

Question asked by Vinothraj M on Oct 30, 2014
Latest reply on Dec 19, 2014 by Ji Wong Park

Dear,

 

        I am trying to setup a custom display (320X480,RGB666) on a custom board based on IMX6SLEVK and I am facing some problems.

I am porting the Android-JB in my custom board.

 

Custom display Details:

Display =(320 X RGB X 480 dots), Driver IC = ILI9488, Backlight Type= LED, Interface = 80-series CPU 8/9/16/18 bit selectable,RGB 6/16/18 bit ,3/4 serial.

 

I added codes in board-mx6sl_evk.c file for custom lcd .

 

static struct fb_videomode wvga_video_modes[] = {

  {

  // 320x480 @ 60 Hz 

  "MY-LCD", 60, 320, 480, 29850, 89, 164, 23, 10, 10, 10,

  FB_SYNC_CLK_LAT_FALL,

  FB_VMODE_NONINTERLACED,

  0,},

  {

  // 800x480 @ 57 Hz , pixel clk @ 32MHz

  "SEIKO-WVGA", 60, 800, 480, 29850, 89, 164, 23, 10, 10, 10,

  FB_SYNC_CLK_LAT_FALL,

  FB_VMODE_NONINTERLACED,

  0,},

};

 

static struct mxc_fb_platform_data wvga1_fb_data[] = {

  {

  .interface_pix_fmt = V4L2_PIX_FMT_BGR666,

  .mode_str = "MY-LCD",

  .mode = wvga_video_modes,

  .num_modes = ARRAY_SIZE(wvga_video_modes),

  },

};

 

static struct platform_device lcd_wvga1_device = {

  .name = "lcd_mine",

};

 

mxc_register_device(&lcd_wvga1_device, NULL);   // Added in mx6_evk_init function

 

// I created the LCD driver is mxc_my_lcd.c based on the mxc_seiko_wvga.c . I just changed the resolutions  and lcd driver structure in mxc_my_lcd.c

 

static struct platform_driver lcd_driver = {

.driver = {

    .name = "lcd_mine"},

.probe = lcd_probe,

.remove = __devexit_p(lcd_remove),

.suspend = lcd_suspend,

.resume = lcd_resume,

};

//and then add  The LCD's driver is at path linux/drivers/video/mxc/mxc_my_lcd.c .and compiled it successfully

then i booted the board log comes like :

" mxc_elcdif_fb mxc_elcdif_fb: ELCDIF unsupported output pixel format 1213351746

warning: `zygote' uses 32-bit capabilities (legacy support in use)

request_suspend_state: wakeup (3->0) at 16063640921 (1970-01-02 00:02:19.478720753 UTC)

acc_open

acc_release

init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

mxc_elcdif_fb mxc_elcdif_fb: can't wait for VSYNC when fb is blank

request_suspend_state: sleep (0->3) at 79646326887 (1970-01-02 00:03:23.061406677 UTC) "

 

I attached log of my custom board, mxc_my_lcd.c and U-boot environmrnt variables .Please Find it.

 

 

 

 

Thanks and Regards,

vinothraj m

Original Attachment has been moved to: log.txt.zip

Original Attachment has been moved to: mxcfb_my_lcd.c.txt.zip

Original Attachment has been moved to: Env_Variable.txt.zip

Outcomes