Hi everybody,
Are you encouter these problems when porting SGX GPU module to AM4378 platform.
Thanks very much!
Kernel Log:
root@ak47_bk1:/ # PVR: PVRCore_Init
PVR: PVRSRVDriverProbe(pDevice=ea572c00)
PVR: SGX register base: 0x56000000
PVR: SGX register size: 16777215
PVR: SGX IRQ: 69
PVR: EnableSystemClocks: Enabling System Clocks
PVR: PVRCore_Init: major device 229
omaplfb: Device 0: Framebuffer physical address: 0xbfe00000
omaplfb: Device 0: Framebuffer virtual address: 0xf0400000
omaplfb: Device 0: Framebuffer size: 2048000
omaplfb: Device 0: Framebuffer virtual width: 800
omaplfb: Device 0: Framebuffer virtual height: 1280
omaplfb: Device 0: Framebuffer width: 800
omaplfb: Device 0: Framebuffer height: 1280
omaplfb: Device 0: Framebuffer stride: 1600
omaplfb: Device 0: LCM of stride and page size: 102400
omaplfb: Device 0: non-DRM framebuffer
omaplfb: Device 0: Auto Update Mode
PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [5181, services4/srvkm/bridged/bridged_pvr_bridge.c]
omaplfb: Device 0: Maximum number of swap chain buffers: 1
omaplfb: Device 0: PVR Device ID: 1
OMAPLFBInit ---> uiDevicesFound = 1
PVR: Installing MISR with cookie bf041a78
PVR: Installing device LISR SGX ISR on IRQ 69 with cookie e9ec7f00
PVR: SysFinalise: Version string: SGX revision = 1.2.5
PVR: PVRSRVDriverProbe(pDevice=ea572c00)
PVR: SGX register base: 0x56000000
PVR: SGX register size: 16777215
PVR: SGX IRQ: 69
PVR: EnableSystemClocks: Enabling System Clocks
PVR: PVRCore_Init: major device 229
omaplfb: Device 0: Framebuffer physical address: 0xbfe00000
omaplfb: Device 0: Framebuffer virtual address: 0xf0400000
omaplfb: Device 0: Framebuffer size: 2048000
omaplfb: Device 0: Framebuffer virtual width: 800
omaplfb: Device 0: Framebuffer virtual height: 1280
omaplfb: Device 0: Framebuffer width: 800
omaplfb: Device 0: Framebuffer height: 1280
omaplfb: Device 0: Framebuffer stride: 1600
omaplfb: Device 0: LCM of stride and page size: 102400
omaplfb: Device 0: non-DRM framebuffer
omaplfb: Device 0: Auto Update Mode
PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [5181, services4/srvkm/bridged/bridged_pvr_bridge.c]
omaplfb: Device 0: Maximum number of swap chain buffers: 1
omaplfb: Device 0: PVR Device ID: 1
OMAPLFBInit ---> uiDevicesFound = 1
PVR: Installing MISR with cookie bf041a78
PVR: Installing device LISR SGX ISR on IRQ 69 with cookie e9ec7f00
PVR: SysFinalise: Version string: SGX revision = 1.2.5
Logcat log:
I/SurfaceFlinger( 1147): SurfaceFlinger is starting I/SurfaceFlinger( 1147): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... D/libEGL ( 1147): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so E/IMGSRV ( 1147): pvr_metrics.c:95: PVRSRVMetricsTimeNow: using (potentially) low resolution timer D/libEGL ( 1147): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so D/libEGL ( 1147): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so E/IMGSRV ( 1147): pvr_bridge_u.c:232: PVRSRVBridgeCall: Failed to access device. Function ID:3223086848 (Bad address). E/IMGSRV ( 1147): bridged_pvr_glue.c:523: PVRSRVEnumerateDevices: BridgeCall failed E/IMGSRV ( 1147): bridged_pvr_glue.c:380: PVRSRVConnect: Unable to enumerate devices. E/IMGSRV ( 1147): srv_sgx.c:43: Couldn't connect to services W/libEGL ( 1147): eglInitialize(0x1) failed (EGL_BAD_ALLOC) E/HAL ( 1147): load: module=/system/lib/hw/gralloc.omap3.so E/HAL ( 1147): dlopen failed: cannot locate symbol "_ZN7android9CallStack6updateEii" referenced by "gralloc.omap3.so"... E/SurfaceFlinger( 1147): gralloc module not found E/ti_hwc ( 1147): JJH hwc_device_open 264 E/SurfaceFlinger( 1147): ERROR: failed to open framebuffer (Invalid argument), aborting