This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Porting LCD on omap4460

Dear Ti

I'm very sorry about that I have so many questions.

We want to port interface of dpi LCD to our tablet. This patch attached apply to JorJin's 4AI-1.4-P1 released It's OK
,but on JorJin's JAJ2.5P2 it has not any display on screen.

Please give me some suggestions,and I will appreciate your reply.

6237.bootlog.txt

0181.dpi.diff.txt

  • Hi,

    Did you manage to change the defconfig  file in order to use the DPI display.

    Also check this thread about the error that is probably produced by the dvi

    http://e2e.ti.com/support/omap/f/849/p/230424/809241.aspx

    Best Regards,

    Boyko

  • Hi Bokyo

    Thank you for your quickly reply

    The board are not here now, I will try your suggestions later.

    in my patch:

                        +    /* INNOLUX EJ070NA-01J */
                        +    {
                        +       {
                        +           .x_res            = 1024,
                        +           .y_res            = 600,
                        +           .pixel_clock        = 40800,
                        +           .hsw            = 20, //20

                        +           .hbp            = 45, //90,
                        +           .vsw            = 20, //20,
                        +           .vfp            = 5, //12,
                        +           .vbp            = 5, //10,
                        +       },
                        +       .acbi                = 0x0,
                        +       .acb                = 0x0,
                        +       .config                = OMAP_DSS_LCD_TFT,
                        +       .power_on_delay        = 0,
                        +       .power_off_delay    = 0,
                        +       .name                = "EJ070NA-01J",
                        +    }, 

    So you suggestion me to adjust default config and device.mk to 1024:600 resolution   ?

    There are my settings:

    android_omap_defconfig

        CONFIG_CMDLINE="console=ttyO2,115200n8 androidboot.console=ttyO2 omap_wdt.timer_margin=30 vmalloc=496M omapfb.fb_opt=-1,-1,-1,1,1280,720 omap-cpufreq.safe_suspend_freq=600000000 smsc95xx.turbo_mode=N omapfb.tiler=y"

    device.mk

    persist.hwc.mirroring.region=0:0:1280:720

    BestRegards

    Bernie

           

  • Hi Boyko

    we cat /sys/devices/platform/omapdss/overlay0/*

    0
    255
    1024,600
    lcd2
    gfx
    1024,600
    0,0
    0
    1024
    1..255
    1..255
    0


    and

    overlay0--------------->manager2(LCD2)-------------->display0(DVI)

    Is it correctly?

    BestRegards

    Bernie

  • Hi,

    Please clarify on which interface are you trying to output DVI or DPI?

    Regards,

    Boyko

  • Hello

    We are sure that 4AI-1.4-P1 on our board and LCD have screen

    fb0--->overlay0---->manager2(lcd2)----->display(DVI)

    But with JAJ.2.5P2 revised from 4AJ2.5P2 on our board and we apply DPI patch to our board LCD have no screen
    . There are same with above.

    fb0---->overlay0----->manager2(lcd2)----->display(DVI)

    but I check overlay0's properties that enabled is "0"

                                                                                                                        
    root@android:/sys/devices/platform/omapdss/overlay0  # ls
                               1.4P1                                                                                              2.5P2
    enabled                 (1)                                                                                                  (0)                      

                                                                                                                                                                              global_alpha       (255)                                                                                               (255)
    input_size              (1024,600)                                                                                     (1024,600)
    manager                (lcd2)                                                                                              (lcd2)
    name                       (gfx)                                                                                                 (gfx)
    output_size            (1024,600)                                                                                     (1024,600)
    position                   (0,0)                                                                                                 (0,0)
    pre_mult_alpha     (1)                                                                                                    (0)
    screen_width          (0)                                                                                                    (1024)
    x_decim                   (1..255)                                                                                           (1..255)
    y_decim                   (1..255)                                                                                           (1..255)
    zorder                       (1)                                                                                                     (0)

    And also the property of enabled  is "0" in display0(DVI) .But in 4AI-1.4-P1 the property of enabled is "1"

    I have referenced http://omappedia.org/wiki/Bootargs_for_enabling_display , and make instruction

    echo "1" > /sys/devices/platform/omapdss/overlay0/enabled

    It is not any changed and the property of enabled still "0"


    echo "1" > /sys/devices/platform/omapdss/display0/enabled

    [ 61.453094] omapdss DISPC error: mgr or device is NULL
    [ 61.453094] omapdss DISPC error: mgr or device is NULL
    [ 61.453124] omapdss DISPC error: mgr or device is NULL
    [ 61.453124] omapdss DISPC error: mgr or device is NULL
    [ 61.453124] omapdss DISPC error: mgr or device is NULL
    [ 61.453155] omapdss DISPC error: mgr or device is NULL
    [ 61.453155] omapdss DISPC error: mgr or device is NULL
    [ 61.453186] omapdss DISPC error: mgr or device is NULL
    [ 61.453216] omapdss DISPC error: mgr or device is NULL
    [ 61.453247] omapdss DISPC error: mgr or device is NULL
    [ 61.453247] omapdss DISPC error: mgr or device is NULL
    [ 61.453247] omapdss DISPC error: mgr or device is NULL
    [ 61.453277] omapdss DISPC error: mgr or device is NULL
    [ 61.453277] omapdss DISPC error: mgr or device is NULL
    [ 61.453308] omapdss DISPC error: mgr or device is NULL
    [ 61.453338] omapdss DISPC error: mgr or device is NULL
    [ 61.453338] omapdss DISPC error: mgr or device is NULL
    [ 61.453338] omapdss DISPC error: mgr or device is NULL
    [ 61.453369] omapdss DISPC error: mgr or device is NULL

    What is root cause lead to overlay0 and display0 disabled?

    Thank you very much, Boyko.

    BestRegards
    Bernie
  • Hello Ti

    I found that our DISPC2_PCLK has no signal, so It is may be a cause lead the LCD doesn't work.

    but I make instruction on command line to check all of pinmux in system

    cat /sys/kernel/debug/omap_mux/board/core

    The DISPC2_PClK is exist in system.

    Does our patch not fit to 2.5P2 ? I need some directions to try, thank you.

    5557.dpi.diff.txt

    BestRegards

    Bernie