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.

DISPLAY(LCD & HDMI) is NOT WORKING on ICS with 3.0.8 kernel

hi all,

i am trying to bringup display on pandaboard with ICS , but while booting i got following errors:

PVR: Installing MISR with cookie c0886170

PVR:  Intalling device LISR SGX ISR on IRQ 53 with cookie eadda000
PVR:  OSUnMapPhysToLin: unmapping 65535 bytes from f0b20000

PVR:  SysFinalise: Version string: SGX revision =1.2.0

PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (550175)/device DDK revision (279068).

PVR_K: (Error): PVRSRVFinaliseSystem: Failed PVRSRVdevInitCompatCheck call (device index: 0) [449, drivers/gpu/pvr/pvrsrv.c]

PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable.  [4811, drivers/gpu/pvr/bridged_pvr_bridge.c]

please suggest me how to solve this problem..

Regards,

Ravi..

  • The version of the IMGTEC binaries you are using does not match the kernel version of the PVR driver.

    Try to find the right IMGTEC binaries or use a different branch where the PVRVERSION_BUILD in

    ./drivers/gpu/pvr/pvrversion.h matches the user-space driver's version.

  • Thanks for giving replay..

    ->   After booting kernel on pandaboard i checked in proc entry for pvr version:

                   cat /proc/pvr/version:

                   it shows:   version is 1.2.0

            In .drivers/gpu/pvr/pvrversion.h ->file  version is declared as 1.8 in 3.0.8 kernel.

             but it continuously priting previously sended errors.

    -> But HDMI display is working on pandaboard with linaro kernel.

         i checked that version also in proc/pvr/version:

           it shows same version : 1.2.0

           In drivers/gpu/pvr/pvrverion.h -> version is declared as 1.7 in linaro kernel

    -> ICS-4.0 graphics support libraris i downloaded and copied in to rootfile system -> system/vendor/lib/

         so it continuously printing previosly sended errors.   

        Please suggest me how to solve that error..

  • 1. Enter your KERNEL_PATH

    2. use "git log" , you will get some messages

    commit 52f476403350050beb0dff135a55c06c9e7a82a9
    Author: Jean-Baptiste Queru <jbq@google.com>
    Date: Sun Apr 29 09:25:36 2012 -0700

    Revert "gpu: pvr: Revert to 1.8@550175"

    This reverts commit 9e1ed56defe4e4e0807a0aa370707901f2c507a3.

    commit 9fa57bdf594332f951f5e44fa09a4c857cecf718
    Author: Dan Murphy <dmurphy@ti.com>
    Date: Tue Mar 27 08:36:02 2012 -0500

    ARM: OMAP4: Panda: Turn on gpio keys flag

    Turn on the gpio-keys flag in the defconfig to report
    the gpio button.

    Change-Id: I893ff8e0e02062c8a5d65ac7a1404de6c0bb73a4
    Signed-off-by: Dan Murphy <dmurphy@ti.com>

    3. Can you see the first PATCH? This patch caused your problem.

     use "git reset 9fa57bdf594332f951f5e44fa09a4c857cecf718"  and you will see:

    Unstaged changes after reset:
    M drivers/gpu/pvr/Makefile
    M drivers/gpu/pvr/bridged_pvr_bridge.c
    M drivers/gpu/pvr/buffer_manager.c
    M drivers/gpu/pvr/deviceclass.c
    M drivers/gpu/pvr/devicemem.c
    M drivers/gpu/pvr/kerneldisplay.h
    M drivers/gpu/pvr/mmap.c
    M drivers/gpu/pvr/omaplfb/omaplfb_displayclass.c
    M drivers/gpu/pvr/osfunc.c
    M drivers/gpu/pvr/osfunc.h
    M drivers/gpu/pvr/pvr_bridge_k.c
    M drivers/gpu/pvr/pvr_uaccess.h
    M drivers/gpu/pvr/pvrversion.h
    M drivers/gpu/pvr/services_headers.h
    M drivers/gpu/pvr/sgx/mmu.c
    M drivers/gpu/pvr/sgx/sgxkick.c
    M drivers/gpu/pvr/sgx/sgxreset.c
    M drivers/gpu/pvr/sgx/sgxtransfer.c
    M drivers/gpu/pvr/sgx/sgxutils.c
    M drivers/gpu/pvr/sgxerrata.h
    M drivers/gpu/pvr/sgxfeaturedefs.h

    4. compile your new kernel and mv it to <ANDROID_PATH>/devices/ti/panda

    5. compile Android and enjoy it