Hi
We want to integrate PVRSGX Graphics SDK with board similar to Centaurus (TI814x).
We are using Graphics_SDK_setuplinux_4_03_00_01.bin.
Our base kernel is 2.6.34.
As per the wiki pages available we were able integrate the file system changes and can load the kernel modules.
When we run pvrsrvinit utility it hangs in
ui32SGXRevision = OSReadHWReg((IMG_PVOID)((IMG_PBYTE)pvRegsLinAddr), EUR_CR_CORE_REVISION);
Because of this it gives PowerVR device not found.
Please find below the log for reference
./pvrsrvinit
Unhandled fault: external abort on non-linefetch (0x1008) at 0xc8fa0014
Internal error: : 1008 [#1]
last sysfs file: /sys/devices/virtual/bccat/bccat0/uevent
Modules linked in: bufferclass_ti omaplfb pvrsrvkm ti81xxfb vpss syslink mlb_syn
c MediaLB
CPU: 0 Not tainted (2.6.34 #1)
PC is at OSReadHWReg+0xc/0x14 [pvrsrvkm]
LR is at SysCreateVersionString+0x30/0x90 [pvrsrvkm]
pc : [<bf166b84>] lr : [<bf171944>] psr: a0000013
sp : c43c3df0 ip : c43c3e00 fp : c43c3dfc
r10: 00000000 r9 : c43c2000 r8 : c4b6b000
r7 : c4b6a000 r6 : bf175fd4 r5 : c8fa0000 r4 : bf175f48
r3 : 00000002 r2 : 00000000 r1 : 00000014 r0 : c8fa0000
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 84b74019 DAC: 00000015
Process pvrsrvinit (pid: 97, stack limit = 0xc43c22e8)
Stack: (0xc43c3df0 to 0xc43c4000)
3de0: c43c3e1c c43c3e00 bf171944 bf166b84
3e00: bf167b48 bf175f48 bf175f48 00000000 c43c3e3c c43c3e20 bf171a18 bf171920
3e20: bf175fc4 bf175fd4 c4b6b000 00000000 c43c3e54 c43c3e40 bf16055c bf1719b0
3e40: bf175900 c4b6a000 c43c3e74 c43c3e58 bf16d808 bf160548 c418d200 c418d200
3e60: c43c3ea0 00000042 c43c3e9c c43c3e78 bf16c69c bf16d7c4 00000000 c01c6742
3e80: c4ac4600 00000061 00000003 c0026068 c43c3edc c43c3ea0 bf1681cc bf16c5cc
3ea0: 00000042 0000001c befa4ba0 00000008 befa4b98 00000008 00000001 c418d200
3ec0: c43c3f04 c4ac4600 c01c6742 bf1680b4 c43c3efc c43c3ee0 c009d2c4 bf1680c0
3ee0: c4b62e70 befa4b6c c4ac4600 c01c6742 c43c3f7c c43c3f00 c009d9e8 c009d29c
3f00: c00251ec c002bd44 bf165490 bf1650b0 00000000 c41c4058 c43c3f3c c43c3f28
3f20: c0085eb0 c008dc38 c4a0b300 c41c4058 c43c3f84 c43c3f40 c0086dfc c0085e58
3f40: 402d2000 c43c2000 402d1000 c4a0b304 c4a0b334 c4ac4600 befa4b6c c01c6742
3f60: 00000003 c0026068 c43c2000 00000000 c43c3fa4 c43c3f80 c009da70 c009d4fc
3f80: c0086e74 00000000 befa4bcc 00011008 00000002 00000036 00000000 c43c3fa8
3fa0: c0025ec0 c009da3c befa4bcc 00011008 00000003 c01c6742 befa4b6c 00000008
3fc0: befa4bcc 00011008 00000002 00000036 00000000 00000000 000085ec 00000000
3fe0: 00000000 befa4b68 40048bd0 40162d9c 20000010 00000003 02802000 80410000
Backtrace:
[<bf166b78>] (OSReadHWReg+0x0/0x14 [pvrsrvkm]) from [<bf171944>] (SysCreateVersi
onString+0x30/0x90 [pvrsrvkm])
[<bf171914>] (SysCreateVersionString+0x0/0x90 [pvrsrvkm]) from [<bf171a18>] (Sys
Finalise+0x74/0x94 [pvrsrvkm])
r5:00000000 r4:bf175f48
[<bf1719a4>] (SysFinalise+0x0/0x94 [pvrsrvkm]) from [<bf16055c>] (PVRSRVFinalise
System+0x20/0x58 [pvrsrvkm])
r6:00000000 r5:c4b6b000 r4:bf175fd4 r3:bf175fc4
[<bf16053c>] (PVRSRVFinaliseSystem+0x0/0x58 [pvrsrvkm]) from [<bf16d808>] (PVRSR
VInitSrvDisconnectBW+0x50/0x7c [pvrsrvkm])
r4:c4b6a000 r3:bf175900
[<bf16d7b8>] (PVRSRVInitSrvDisconnectBW+0x0/0x7c [pvrsrvkm]) from [<bf16c69c>] (
BridgedDispatchKM+0xdc/0x134 [pvrsrvkm])
r6:00000042 r5:c43c3ea0 r4:c418d200 r3:c418d200
[<bf16c5c0>] (BridgedDispatchKM+0x0/0x134 [pvrsrvkm]) from [<bf1681cc>] (PVRSRV_
BridgeDispatchKM+0x118/0x170 [pvrsrvkm])
r8:c0026068 r7:00000003 r6:00000061 r5:c4ac4600 r4:c01c6742
r3:00000000
[<bf1680b4>] (PVRSRV_BridgeDispatchKM+0x0/0x170 [pvrsrvkm]) from [<c009d2c4>] (v
fs_ioctl+0x34/0x74)
r6:bf1680b4 r5:c01c6742 r4:c4ac4600
[<c009d290>] (vfs_ioctl+0x0/0x74) from [<c009d9e8>] (do_vfs_ioctl+0x4f8/0x540)
r6:c01c6742 r5:c4ac4600 r4:befa4b6c r3:c4b62e70
[<c009d4f0>] (do_vfs_ioctl+0x0/0x540) from [<c009da70>] (sys_ioctl+0x40/0x64)
[<c009da30>] (sys_ioctl+0x0/0x64) from [<c0025ec0>] (ret_fast_syscall+0x0/0x30)
r7:00000036 r6:00000002 r5:00011008 r4:befa4bcc
Code: e89da800 e1a0c00d e92dd800 e24cb004 (e7900001)
---[ end trace 7ff4a2ebca52e7e4 ]---
--=----
and output when we run the script
# cat /etc/powervr.ini
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 598.01
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : bdrse
Revision : 0000
Serial : 0000000000000000
# cat /proc/pvr/version
Version 1.6.16.3977 (release) /u/GraphicsSDKInstall/GFX_Linux_KM
System Version String: None
# fbset -i
# fbset
mode "800x480-0"
geometry 800 480 800 480 32
timings 0 0 0 0 0 0 0
accel false
rgba 8/16,8/8,8/0,8/24
endmode
# cat /sys/class/graphics/fb0/rotate
0
# lsmod
Not tainted
bufferclass_ti 4672 0 - Live 0xbf193000
omaplfb 7906 0 - Live 0xbf18c000
pvrsrvkm 150734 2 bufferclass_ti,omaplfb, Live 0xbf159000
ti81xxfb 17353 2 - Live 0xbf14e000
vpss 25552 2 omaplfb,ti81xxfb, Live 0xbf13f000
syslink 1079920 17 vpss, Live 0xbf010000
mlb_sync 1010 0 - Live 0xbf00a000
MediaLB 20059 1 mlb_sync, Live 0xbf000000
# cat /proc/cmdline
console=ttyS0,115200 mem=128M rootdelay=2 root=/dev/mmcblk0p3
# uname -a
Linux (none) 2.6.34 #1 Fri Feb 18 19:36:12 IST 2011 armv7l GNU/Linux
Please suggest suitable pointers for psp version we shall try to get out of this error.