Hello everyone.
I am attempting to install the Graphics SDK drivers onto my SDK 6.00 target board, which is an am335x starter kit.
I followed the guide over at http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide , but after deploying the modified rootfx and kernal uImage I get the following stack trace:
Starting PVR
[ 19.345458] PVR: PVRCore_Init
[ 19.350494] PVR: PVRSRVDriverProbe(pDevice=cf5fe200)
[ 19.355895] PVR: EnableSystemClocks: Enabling System Clocks
[ 19.361816] PVR: GPTIMER11 clock is 24MHz
[ 19.366577] ------------[ cut here ]------------
[ 19.371459] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0x88/0xa8()
[ 19.378082] sysfs: cannot create duplicate filename '/bus/platform/devices/pvrsrvkm'
[ 19.386169] Modules linked in: pvrsrvkm(O+) wl12xx_sdio(O) wl12xx(O) mac80211(O) cfg80211(O) [last unloaded: wl12xx_sdio]
[ 19.397644] Backtrace:
[ 19.400238] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c04140c0>] (dump_stack+0x18/0x1c)
[ 19.409057] r6:c00fc5f8 r5:00000009 r4:cf3d7d18 r3:c05f7f0c
[ 19.415008] [<c04140a8>] (dump_stack+0x0/0x1c) from [<c003f1dc>] (warn_slowpath_common+0x54/0x6c)
[ 19.424285] [<c003f188>] (warn_slowpath_common+0x0/0x6c) from [<c003f298>] (warn_slowpath_fmt+0x38/0x40)
[ 19.434204] r8:00000001 r7:ce117000 r6:ce117000 r5:ce237bd0 r4:ffffffef
[ 19.441040] r3:00000009
[ 19.443756] [<c003f260>] (warn_slowpath_fmt+0x0/0x40) from [<c00fc5f8>] (sysfs_add_one+0x88/0xa8)
[ 19.453033] r3:ce117000 r2:c051174c
[ 19.456787] [<c00fc570>] (sysfs_add_one+0x0/0xa8) from [<c00fce94>] (sysfs_do_create_link+0xf8/0x1e0)
[ 19.466400] r7:cf3d7d70 r6:cf013db0 r5:ce237bd0 r4:ce237cc0
[ 19.472351] [<c00fcd9c>] (sysfs_do_create_link+0x0/0x1e0) from [<c00fcf90>] (sysfs_create_link+0x14/0x18)
[ 19.482360] [<c00fcf7c>] (sysfs_create_link+0x0/0x18) from [<c021fd30>] (bus_add_device+0xcc/0x184)
[ 19.491790] [<c021fc64>] (bus_add_device+0x0/0x184) from [<c021e090>] (device_add+0x430/0x574)
[ 19.500793] r8:00000000 r7:c0617920 r6:bf1579f8 r5:00000000 r4:bf1579f0
[ 19.507629] r3:00000000
[ 19.510375] [<c021dc60>] (device_add+0x0/0x574) from [<c02223a0>] (platform_device_add+0xfc/0x1e8)
[ 19.519714] [<c02222a4>] (platform_device_add+0x0/0x1e8) from [<c02226d8>] (platform_device_register+0x28/0x2c)
[ 19.530273] r7:cf3d6000 r6:c063e480 r5:bf157bc8 r4:bf1579e8
[ 19.536529] [<c02226b0>] (platform_device_register+0x0/0x2c) from [<bf1680ec>] (PVRCore_Init+0xec/0x398 [pvrsrvkm])
[ 19.547424] r4:bf157bc8 r3:00000000
[ 19.551300] [<bf168000>] (PVRCore_Init+0x0/0x398 [pvrsrvkm]) from [<c000876c>] (do_one_initcall+0x128/0x1a8)
[ 19.561584] [<c0008644>] (do_one_initcall+0x0/0x1a8) from [<c006c004>] (sys_init_module+0x3e4/0x1b68)
[ 19.571228] [<c006bc20>] (sys_init_module+0x0/0x1b68) from [<c0014740>] (ret_fast_syscall+0x0/0x30)
[ 19.580657] ---[ end trace fe4eb62d7dfee746 ]---
[ 19.585601] PVR: PVRSRVDriverRemove(pDevice=cf5fe200)
[ 19.591125] PVR: DisableSystemClocks: Disabling System Clocks
[ 19.597290] PVR_K:(Error): PVRCore_Init: unable to register platform device (-17) [999, root/DevApps/Graphics_SDK_4_10/GF]
Error: could not insert module /lib/modules/3.2.0/extra/pvrsrvkm.ko: File exists
I ran the gfx_check.sh script, see below:
root@am335x-evm:/opt# ./gfx_check.sh
WSEGL settings
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so
#WindowSystem=libpvrPVR2D_FLIPWSEGL.so------
ARM CPU information
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 718.02
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2Hardware : am335xevm
Revision : 0000
Serial : 0000000000000000
------
SGX driver information
cat: can't open '/proc/pvr/version': No such file or directory
------
Framebuffer settingsmode "480x272-57"
# D: 9.091 MHz, H: 16.992 kHz, V: 57.021 Hz
geometry 480 272 480 576 32
timings 110000 43 8 12 4 4 10
rgba 8/16,8/8,8/0,8/24
endmodeFrame buffer device information:
Name : DA8xx FB Drv
Address : 0x8f400000
Size : 1105920
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 1
YWrapStep : 0
LineLength : 1920
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
g_mass_storage 37599 0
wl12xx_sdio 3986 0
wl12xx 202633 0
mac80211 289010 1 wl12xx
cfg80211 189234 2 mac80211,wl12xx
------
Boot settings
console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
------
Linux Kernel version
Linux am335x-evm 3.2.0 #1 Mon Aug 12 13:47:23 PDT 2013 armv7l GNU/Linux
Any suggestions? I noticed this snippet:
SGX driver information
cat: can't open '/proc/pvr/version': No such file or directory
Not sure why it wouldn't be able to find that.
Thanks.