Hi,
I am using Beagle xm C Rev board and i am trying to integrate SGX. Here i am facing problem. Please kindly help me in this regard.
I am using AM35x-OMAP35x-LINUX-PSP-04.02.00.07 kernel and Graphics_SDK_setuplinux_4_06_00_03.bin .I followed all the steps in the
Graphics SDK Quick installation and user guide.
kernel is booting up but when its trying to get sgx version i am getting below errors:
running firstboot...
/dev/mem opened.
Memory mapped at address 0x4037e000.
Before: Address target 0x48004B48, target&Mask 0x48004000 (virt addr 0x4037eb48)
After Value at address target=0x48004B48 (virt_addr=0x4037eb48): read_result=0x0
Written 0x2; readback 0x2
/dev/mem opened.
Memory mapped at address 0x4038e000.
Before: Address target 0x48004B10, target&Mask 0x48004000 (virt addr 0x4038eb10)
After Value a[ 4.138763] Unhandled fault: external abort on non-linefetch (0x1018) at 0x400e1014
t address target=0x48004B10 (virt_addr=0x4038eb10): read_result=0x0
Written 0x1; readback 0x1
/dev/mem opened.
Memory mapped at address 0x401ad000.
Before: Address target 0x48004B00, target&Mask 0x48004000 (virt addr 0x401adb00)
After Value at address target=0x48004B00 (virt_addr=0x401adb00): read_result=0x0
Written 0x2; readback 0x2
Bus error
When the script reboots , it installs the drivers with below error
chmod: /dev/pvrsrvkm: No such file or directory
[ 99.035552] Unhandled fault: external abort on non-linefetch (0x1008) at 0xc8f88014
[ 99.043609] Internal error: : 1008 [#1]
[ 99.047607] last sysfs file: /sys/devices/SGX/drm/card0/dev
[ 99.053375] Modules linked in: pvrsrvkm drm
[ 99.057739] CPU: 0 Not tainted (2.6.37 #14)
[ 99.062622] PC is at OSReadHWReg+0x0/0xc [pvrsrvkm]
[ 99.067749] LR is at SysFinalise+0x84/0x100 [pvrsrvkm]
[ 99.073089] pc : [<bf049764>] lr : [<bf0544f8>] psr: a0000013
[ 99.073089] sp : c6bcbde8 ip : c6382a80 fp : c63f6000
[ 99.084991] r10: bf05c21c r9 : bf04abd0 r8 : bf05e7d8
[ 99.090423] r7 : c8f88000 r6 : 00000000 r5 : bf05e6bc r4 : bf05e7d8
[ 99.097198] r3 : 00004000 r2 : bf04a724 r1 : 00000014 r0 : c8f88000
[ 99.103973] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 99.111389] Control: 10c5387d Table: 863e8019 DAC: 00000015
[ 99.117340] Process pvrsrvinit (pid: 666, stack limit = 0xc6bca2f0)
[ 99.123840] Stack: (0xc6bcbde8 to 0xc6bcc000)
[ 99.128356] bde0: 00000001 00000001 bf05e7d8 c8f0e000 c8f0d000 c8f0e000
[ 99.136871] be00: 00000044 bf043650 00000000 bf050794 c8f0d000 c6bcbe78 c6bbea00 bf04f5d0
[ 99.145355] be20: 0000029a c6bcbe78 c01c6744 c6acd8c0 401c6440 bf04ad44 c63f6000 c6bbea00
[ 99.153839] be40: c6acd8c0 0000001c c6bcbe78 0000001c c6acd8c0 bf002ff0 0000029a 401c6440
[ 99.162353] be60: 00000040 0000e200 00000001 00000080 bec62b5c c63f607c 00000044 0000001c
[ 99.170837] be80: bec62b90 00000008 bec62b88 00000008 00000001 c0a23080 00693ce1 00000001
[ 99.179321] bea0: 00000000 00000000 00000000 c63f4bc0 00000000 00000000 60000013 c6bca000
[ 99.187805] bec0: 00000000 406d2000 c6bc623c 406d1000 c6bbbdc4 c0091ac0 00000001 00000000
[ 99.196319] bee0: 00000000 bf0481a0 00000000 00000000 00000000 c63f4bc0 c6bca000 00000000
[ 99.204803] bf00: c6ba7840 00000003 00000003 bec62b5c c6bca000 00000000 00000000 c00e34e4
[ 99.213287] bf20: 00000000 c00e3be8 c6bbbdf8 c09372f8 c6bbbdf8 60000013 406d1000 c6bbbdf4
[ 99.221801] bf40: c0040c28 c6bca000 c6bbbdf8 c03a3640 00000001 00000000 c01eb794 c03a3b58
[ 99.230285] bf60: c6bbbdf4 00000000 00000000 bec62b5c 401c6440 00000003 c6ba7840 c6bca000
[ 99.238769] bf80: 00000000 c00e3c78 00000003 00000000 bec62b5c 401c6440 00000003 00000036
[ 99.247283] bfa0: c0040c28 c0040a80 bec62b5c 401c6440 00000003 401c6440 bec62b5c 0000001c
[ 99.255767] bfc0: bec62b5c 401c6440 00000003 00000036 00000014 00000000 00000014 00000000
[ 99.264251] bfe0: 00000001 bec62b38 400a6ad4 4024eddc 20000010 00000003 00000000 00000000
[ 99.272888] [<bf049764>] (OSReadHWReg+0x0/0xc [pvrsrvkm]) from [<bf0544f8>] (SysFinalise+0x84/0x100 [pvrsrvkm])
[ 99.283477] [<bf0544f8>] (SysFinalise+0x84/0x100 [pvrsrvkm]) from [<bf043650>] (PVRSRVFinaliseSystem+0x18/0x50 [pvrsrvkm])
[ 99.295074] [<bf043650>] (PVRSRVFinaliseSystem+0x18/0x50 [pvrsrvkm]) from [<bf050794>] (PVRSRVInitSrvDisconnectBW+0x4c/0x7c [pvrsrvkm])
[ 99.307861] [<bf050794>] (PVRSRVInitSrvDisconnectBW+0x4c/0x7c [pvrsrvkm]) from [<bf04f5d0>] (BridgedDispatchKM+0xe8/0x140 [pvrsrvkm])
[ 99.320465] [<bf04f5d0>] (BridgedDispatchKM+0xe8/0x140 [pvrsrvkm]) from [<bf04ad44>] (PVRSRV_BridgeDispatchKM+0x174/0x1d8 [pvrsrvkm])
[ 99.333099] [<bf04ad44>] (PVRSRV_BridgeDispatchKM+0x174/0x1d8 [pvrsrvkm]) from [<bf002ff0>] (drm_ioctl+0x288/0x388 [drm])
[ 99.344543] [<bf002ff0>] (drm_ioctl+0x288/0x388 [drm]) from [<c00e34e4>] (vfs_ioctl+0x20/0x3c)
[ 99.353485] [<c00e34e4>] (vfs_ioctl+0x20/0x3c) from [<c00e3be8>] (do_vfs_ioctl+0x510/0x554)
[ 99.362152] [<c00e3be8>] (do_vfs_ioctl+0x510/0x554) from [<c00e3c78>] (sys_ioctl+0x4c/0x6c)
[ 99.370849] [<c00e3c78>] (sys_ioctl+0x4c/0x6c) from [<c0040a80>] (ret_fast_syscall+0x0/0x30)
[ 99.379608] Code: e3a00001 e12fff1e e3a00000 e12fff1e (e7900001)
[ 99.386016] ---[ end trace f0c5bc362c9e47f6 ]---
[ 99.393432] [drm:drm_release] *ERROR* Device busy: 1
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/BeagleBox:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X.Org X Server 1.9.0
Release Date: 2010-08-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-30-generic-pae i686
Current Operating System: Linux BeagleBox 2.6.37 #14 Wed Nov 28 17:05:36 IST 2012 armv7l
Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootdelay=1 rootfstype=ext3 vram=16M omapfb.debug=n omapdss.debug=n mpurate=720 mem=128M omapy
Build Date: 10 May 2012 03:04:02PM
Current version of pixman: 0.18.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Dec 31 17:02:58 1999
(++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
(==) ServerLayout "Server Layout"
(**) |-->Screen "Screen" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Video Device"
(==) No monitor specified for screen "Screen".
Using a default monitor configuration.
(**) |-->Input Device "Keyboard"
(**) |-->Input Device "Main Touch Screen"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/local/XSGX/share/fonts/X11/misc/,
/usr/local/XSGX/share/fonts/X11/Type1/,
/usr/local/XSGX/share/fonts/X11/100dpi/,
/usr/local/XSGX/share/fonts/X11/75dpi/
(==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.0.0 +-----------------------------+
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so | |
(II) Module dbe: vendor="X.Org Foundation" | Cannot open /dev/ttyUSB1! |
compiled for 1.9.0, module version = 1.0.0 | |
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so +-----------------------------+
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.0.0
(==) AIGLX enabled
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.13.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.0.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.2.0
(II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
(II) Module PVR: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 1.7.15929
(II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.9.0, module version = 2.3.2
(II) pvr: Driver for PowerVR chipsets: PowerVR SGX
(--) using VT number 2
(WW) Falling back to old probe method for pvr
Regards,
Prabha