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.

pvrsrvkm.ko have some error

Other Parts Discussed in Thread: SYSCONFIG

Hello,

I use the ezsdk and I rebuild the pvrsrvkm.ko,I do no change for the graphics-sdk_4.04.00.02,then I use the prebuilt rootfs

as nfs,syslog have some error:

Starting PVR
PVR: PVRCore_Init
PM: Adding info for platform:pvrsrvkm
PVR: PVRSRVDriverProbe(pDevice=bf21d140)
PVR: EnableSystemClocks: Enabling System Clocks
PVR: GPTIMER11 clock is 20MHz
PVR: OSUnMapPhysToLin: unmapping 4 bytes from fa048054
PVR: OSUnMapPhysToLin: unmapping 4 bytes from fa048038
PVR: PVRCore_Init: major device 250
PM: Adding info for No Bus:pvrsrvkm
PM: Adding info for No Bus:bccat0
/dev/mem opened.
Memory mapped at address 0x40383000.
Read at address 0x48180F04 (0x40383f04): 0x00000001
Write at address 0x48180F04 (0x40383f04): 0x00000000, readback 0x00000000
/dev/mem opened.
Memory mapped at address 0x40303000.
Read at address 0x48180900 (0x40303900): 0x00000102
Write at address 0x48180900 (0x40303900): 0x00000002, readback 0x00000002
/dev/mem opened.
Memory mapped at address 0x40322000.
Read at address 0x48180920 (0x40322920): 0x00040002
Write at address 0x48180920 (0x40322920): 0x00000002, readback 0x00000002
PVR: Installing MISR with cookie bf21e81c
PVR: Installing device LISR SGX ISR on IRQ 37 with cookie c7ac83c0
PVR: OSUnMapPhysToLin: unmapping 65536 bytes from d0ba0000
PVR_K:(Warning): SysFinalise: Version string: SGX revision = 1.2.5 [583, usr/local/ezsdk02/component-sources/graphics-sdk_4.04.00.02/GFX_Linux_KM/services4/system/ti81xx/sysconfig.c]
PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extra options present in KM: (0x1). Please check sgx_options.h
PVR_K:(Error): PVRSRVFinaliseSystem: Failed PVRSRVDevInitCompatCheck call (device index: 0) [422, usr/local/ezsdk02/component-sources/graphics-sdk_4.04.00.02/GFX_Linux_KM/services4/srvkm/common/pvrsrv.c]
PVR_K:(Error): BridgedDispatchKM: Initialisation failed. Driver unusable. [3785, usr/local/ezsdk02/component-sources/graphics-sdk_4.04.00.02/GFX_Linux_KM/services4/srvkm/bridged/bridged_pvr_bridge.c]
Calibrating touchscreen (first time only)ts_open: No such file or directory

our board have no lcd,and with 256m ddr3 in both ddr0 and ddr1 channels ,my bootargs is

 'console=ttyO0,115200n8 notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=192.168.1.213:/home/enson/targetfs/,nolock rw mem=176M ip=dhcp earlyprintk debug'

 Thanks,

 Enson

  • Hello,

    What is the EZSDK version that you are using here?

    Is it 5.05.02?

    enson Steven said:
    PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extra options present in KM: (0x1). Please check sgx_options.h

    It seems to me that there is mismatch between the kernel and the graphic libraries.

    Best Regards,

    Margarita

  • Hi Margarita,

    Yes,I use the EZSDK with the version is 5.05.02,so what should I do?

    And ,could you tell me more about the PVR,I know little about it,if I remove it ,what's the influence will be? 

    Best Regards,

    Enson

  • Hi Margarita,

    could you give me a linker for the pvrsrvkm.ko I want to know more about it.

    And the error is still exist,I hope you can give me some suggest.Thank you.

    Best Regards,

    Enson

  • Hello,

    Margarita Gashova said:

    PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extra options present in KM: (0x1). Please check sgx_options.h

    It seems to me that there is mismatch between the kernel and the graphic libraries.

    [/quote]

    pvrsrvkm.ko

    1.The Linux kernel has to be built with "modules" support (make uImage modules)

    2.The kernel modules of the Graphics driver have to be built, after the linux kernel is built in the above manner. ie, the kernel modules need to match the kernel version that will actually run on the target.

    Let me know the result.

    Best Regards,

    Margarita

  • Hi Margarita,

    I'm sorry to reply you so late,

    I make clean the EZSDK,and rebuilt all ,the error disappear.

    thank you very much!

    Best Regards,

    Enson