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.

how to solve this problem omap4460

hi all:

     I have this issue ,the log is :
[    8.440734] (stk) :line discipline installed
[    8.447204] (stk) :TIInit_10.6.15.btsshell@android:/ $
[    8.567443] PVR: Installing MISR with cookie c09692d8
[    8.575653] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie c79f5300
[    8.584411] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from c8be0000
[    8.593078] PVR: SysFinalise: Version string: SGX revision = 1.2.0
[    8.819305] (stc): add_channel_to_table: id 2
[    8.824584] (stc): st_register(3)
[    8.828521] (stc): add_channel_to_table: id 3
[    8.834045] (stc): st_register(4)
[    8.840423] (stc): add_channel_to_table: id 4
[    9.236663] ===set backlight brightness=100=====
[    9.243316] ===set backlight brightness=100=====
[    9.250579] ===set backlight brightness=100=====
[    9.930023] misc dsscomp: [c7299800] ignoring set failure -22
[    9.930023] omapdss MANAGER: omap_dss_mgr_apply(lcd2)
[    9.930084] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[    9.930084] omapdss MANAGER: configure_overlay(0)
[    9.930084] omapdss DISPC: dispc_enable_plane 0, 0
[    9.930114] omapdss MANAGER: configure_overlay(1)
[    9.930114] omapdss DISPC: dispc_enable_plane 1, 0
[    9.930114] omapdss MANAGER: configure_overlay(2)
[    9.930114] omapdss DISPC: dispc_enable_plane 2, 0
[    9.930114] omapdss MANAGER: configure_overlay(3)
[    9.930145] omapdss DISPC: dispc_enable_plane 3, 0
[    9.930145] omapdss MANAGER: configure_manager(2)
[    9.930145] omapdss DISPC: GO LCD2
[   10.095703] omapdss DSI: PLL uninit done
[   10.095733] omapdss DSI: dsi_runtime_put
[   10.095825] omapdss DISPC: dispc_runtime_put
[   10.095825] omapdss DISPC: dispc_save_context
[   10.095947] omapdss DISPC: context saved, ctx_loss_count -2
[   10.096008] omapdss DSS: dss_runtime_put
[   10.096038] omapdss DSS: dss_save_context
[   10.096038] omapdss DSS: context saved
[   10.096191] ===set backlight brightness=0=====
[   10.211822] omapdss DSS: dss_runtime_get
[   10.215972] omapdss DSS: dss_restore_context
[   10.216003] omapdss DSS: context restored
[   10.216003] omapdss DISPC: dispc_runtime_get
[   10.216033] omapdss DISPC: dispc_restore_context
[   10.216033] omapdss DISPC: ctx_loss_count: saved -2, current -2
[   10.216064] omapdss DISPC: context restored
[   10.216064] omapdss DSI: dsi_runtime_get
[   10.216094] omapdss DSI: PLL init
[   10.216125] omapdss DSI: PLL init done
[   10.216125] omapdss DISPC: onoff 0 rf 0 ieo 0 ipc 0 ihs 0 ivs 0 acbi 0 acb 0
[   10.216125]  ===========clk use dsi============
[   10.216156] omapdss DSI: DSI clock info found from cache
[   10.216156] omapdss DSI: dsi_pll_set_clock_div()
[   10.216156] omapdss DSI: DSI Fint 2400000
[   10.216186] omapdss DSI: clkin (dss_sys_clk) rate 38400000, highfreq 0
[   10.216186] omapdss DSI: CLKIN4DDR = 2 * 40 / 16 * 38400000 / 1 = 192000000
[   10.216186] omapdss DSI: Data rate on 1 DSI lane 96 Mbps
[   10.216186] omapdss DSI: Clock lane freq 48000000 Hz
[   10.216217] omapdss DSI: regm_dispc = 1, DSI_PLL_HSDIV_DISPC (PLL1_CLK1) = 192000000
[   10.216217] omapdss DSI: regm_dsi = 0, DSI_PLL_HSDIV_DSI (PLL1_CLK2) = 0
[   10.216339] omapdss DSI: PLL config done
[   10.216339] omapdss DISPC: lck = 192000000 (1)
[   10.216339] omapdss DISPC: pck = 96000000 (2)
[   10.216369] ****** dispc lcd timings is ok ******
[   10.216369] omapdss DISPC: channel 2 xres 1024 yres 768
[   10.216369] omapdss DISPC: pck 96000
[   10.216369] omapdss DISPC: hsw 256 hfp 260 hbp 480 vsw 10 vfp 16 vbp 6
[   10.216400] omapdss DISPC: hsync 47524Hz, vsync 59Hz
[   10.218811] DISPC IRQ: 0x30000: SYNC_LOST2
[   10.218841] omapdss DISPC error: SYNC_LOST for LCD2, disabling LCD2
[   10.218872] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   10.218872] omapdss MANAGER: configure_overlay(0)
[   10.218902] omapdss DISPC: dispc_enable_plane 0, 0
[   10.218902] omapdss MANAGER: configure_overlay(1)
[   10.218902] omapdss DISPC: dispc_enable_plane 1, 0
[   10.218902] omapdss MANAGER: configure_overlay(2)
[   10.218933] omapdss DISPC: dispc_enable_plane 2, 0
[   10.218933] omapdss MANAGER: configure_overlay(3)
[   10.218933] omapdss DISPC: dispc_enable_plane 3, 0
[   10.218963] omapdss MANAGER: configure_manager(2)
[   10.218963] omapdss DISPC: GO LCD2
[   10.218963] omapdss DISPC: dispc_enable_plane 1, 0
[   10.218994] omapdss DISPC: dispc_enable_plane 2, 0
[   10.218994] omapdss DISPC: dispc_enable_plane 3, 0
[   10.218994] omapdss DISPC error: GO bit not down for channel 2
[   10.431304] ===set backlight brightness=100=====
[   10.679870] omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
[   10.688598] ignoring apply mgr(lcd2) while blanking
[   10.693939] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   10.700042] omapdss MANAGER: configure_overlay(0)
[   10.705139] omapdss DISPC: dispc_enable_plane 0, 0
[   10.710266] omapdss MANAGER: configure_overlay(1)
[   10.715301] omapdss DISPC: dispc_enable_plane 1, 0
[   10.720489] omapdss MANAGER: configure_overlay(2)
[   10.725555] omapdss DISPC: dispc_enable_plane 2, 0
[   10.730743] omapdss MANAGER: configure_overlay(3)
[   10.735778] omapdss DISPC: dispc_enable_plane 3, 0
[   10.740905] omapdss MANAGER: configure_manager(2)
[   10.746002] omapdss DISPC: GO LCD2
[   10.767883] omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
[   10.779235] ignoring apply mgr(lcd2) while blanking
[   10.786743] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   10.796386] omapdss MANAGER: configure_overlay(0)
[   10.801452] omapdss DISPC: dispc_enable_plane 0, 0
[   10.806640] omapdss MANAGER: configure_overlay(1)
[   10.811676] omapdss DISPC: dispc_enable_plane 1, 0
[   10.816772] omapdss MANAGER: configure_overlay(2)
[   10.821868] omapdss DISPC: dispc_enable_plane 2, 0
[   10.826995] omapdss MANAGER: configure_overlay(3)
[   10.832092] omapdss DISPC: dispc_enable_plane 3, 0
[   10.837188] omapdss MANAGER: configure_manager(2)
[   10.842285] omapdss DISPC: GO LCD2
[   10.862731] omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
[   10.873199] (stc): remove_channel_from_table: id 2
[   10.873504] ignoring apply mgr(lcd2) while blanking
[   10.873535] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   10.873565] omapdss MANAGER: configure_overlay(0)
[   10.873565] omapdss DISPC: dispc_enable_plane 0, 0
[   10.873565] omapdss MANAGER: configure_overlay(1)
[   10.873596] omapdss DISPC: dispc_enable_plane 1, 0
[   10.873596] omapdss MANAGER: configure_overlay(2)
[   10.873596] omapdss DISPC: dispc_enable_plane 2, 0
[   10.873626] omapdss MANAGER: configure_overlay(3)
[   10.873626] omapdss DISPC: dispc_enable_plane 3, 0
[   10.873626] omapdss MANAGER: configure_manager(2)
[   10.873657] omapdss DISPC: GO LCD2
[   10.940063] (stc): remove_channel_from_table: id 3
[   10.945465] (stc): remove_channel_from_table: id 4
[   10.951538] omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
[   10.951538] (stc):  all chnl_ids unregistered
[   10.951568] (stk) :ldisc_install = 0
[   10.951812] (stc): st_tty_close
[   10.972564] ignoring apply mgr(lcd2) while blanking
[   10.978424] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   10.984832] omapdss MANAGER: configure_overlay(0)
[   10.989929] omapdss DISPC: dispc_enable_plane 0, 0
[   10.995056] omapdss MANAGER: configure_overlay(1)
[   11.000152] omapdss DISPC: dispc_enable_plane 1, 0
[   11.005279] omapdss MANAGER: configure_overlay(2)
[   11.010375] omapdss DISPC: dispc_enable_plane 2, 0
[   11.015533] omapdss MANAGER: configure_overlay(3)
[   11.020568] omapdss DISPC: dispc_enable_plane 3, 0
[   11.025756] omapdss MANAGER: configure_manager(2)
[   11.030792] omapdss DISPC: GO LCD2
[   11.142242] omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
[   11.152770] ignoring apply mgr(lcd2) while blanking
[   11.159454] omapdss MANAGER: omap_dss_mgr_blank(lcd2,wait=1)
[   11.171386] omapdss MANAGER: configure_overlay(0)
[   11.176574] omapdss DISPC: dispc_enable_plane 0, 0
[   11.181762] omapdss MANAGER: configure_overlay(1)
[   11.186828] omapdss DISPC: dispc_enable_plane 1, 0
[   11.192016] omapdss MANAGER: configure_overlay(2)
[   11.197082] omapdss DISPC: dispc_enable_plane 2, 0
[   11.202270] omapdss MANAGER: configure_overlay(3)
[   11.207305] omapdss DISPC: dispc_enable_plane 3, 0
[   11.212524] omapdss MANAGER: configure_manager(2)
[   11.217559] omapdss DISPC: GO LCD2

The backlight of LCD is bright, but no image .thanks !!

johnny !

  • Hello Johnny,

    Could you please provide more details about your environment, such as the platform and the display configuration used, the software release, and what steps you are taking to reproduce this problem. This forum guidelines provides details on what type of information is needed in a post to ensure a speedy answer.

    Also, it would be appreciated if you would attach logs to the post in a separate file, instead of embedding it in the description of the post - it would make it much easier to follow!

    Regards,

    Magdalena

  • Hello Magdalena,

         Thanks to reply , I worked on omap4460blaze tablet  using the kernel 3.0.8, and i used the chimei lcd to display. I registered on platform as showed:

    struct omap_dss_device omap4_lcd_device = {
        .type            = OMAP_DISPLAY_TYPE_DPI,
        .name            = "lcd",
        .driver_name        = "chimei_lcd_panel",
        .data            = &omap4_lcd_panel,
        .phy.dpi.data_lines    = 24,
        //.reset_gpio        = PANDA_DVI_TFP410_POWER_DOWN_GPIO,
        .channel        = OMAP_DSS_CHANNEL_LCD2,

    /*dpi set dsi clk */
    .clocks = {

              .dispc = {
                .channel = {
                    .lck_div        = 1,// Logic Clock = 200.05 MHz
                    .pck_div        = 2,// Pixel Clock = 100.02 MHz
                    .lcd_clk_src    = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
                          },
                .dispc_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
                              },
     
            .dsi = {
                .regn           = 27,// Fint = 1.4 MHz
                .regm           = 422,// DDR Clock = 120.03 MHz
                .regm_dispc     = 6,// PLL1_CLK1 = 200.05 MHz
                .regm_dsi       = 6,// PLL1_CLK1 = 200.05 MHz
                .lp_clk_div     = 5,
                .offset_ddr_clk = 0,
                .dsi_fclk_src   = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI,
            },
                },
        
           .panel={
                   .config=OMAP_DSS_LCD_TFT,
                   },
           //.state=OMAP_DSS_DISPLAY_ACTIVE,
    };

    and the lcd display configuration is :

    {
                            .x_res          = 1024,
                            .y_res          = 768,

                            .pixel_clock    = 103000,//96960,

                            .hfp            = 260,
                            .hsw            = 256,//tpe is 320 but  the range 0-256
                            .hbp            = 480,

                            .vfp            = 16,
                            .vsw            = 10,
                            .vbp            = 6,
                    },*/
                   // .acbi                   = 0x0,
                   // .acb                    = 0x0,
                    .config                 = OMAP_DSS_LCD_TFT,
                    //.power_on_delay         = 60,
                   // .power_off_delay        = 30,
                    .name                   = "chimei_lcd",
            },

  • Johnny,

    This seems to be a duplicate thread of http://e2e.ti.com/support/omap/f/849/t/182300.aspx. Please confirm.

    Thank you,

    Magdalena