Hello, i have custom board with am335x, but very similar to evm3358 starter kit.
i have updated the kernel from repository using git? downloaded latest Graphics_SDK_4_10_00_01
and build
make BUILD=debug OMAPES=8.x all
make BUILD=debug OMAPES=8.x install
before it i had mounted file system as
sshfs root@192.168.0.200:/ ./Mounted
in rules.make i fill in the following
HOME=/home/user/
# Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
CSTOOL_DIR=/home/user/bin/codesourcery/bin
# Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
CSTOOL_PREFIX=arm-none-linux-gnueabi- ARCH=arm
# Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
KERNEL_INSTALL_DIR=/home/user/Documents/linux-am33x
# Set Target filesystem path ( ex /home/user/targetfs )
TARGETFS_INSTALL_DIR=/home/user/Mounted
# Set installation folder
GRAPHICS_INSTALL_DIR=$(HOME)/Documents/Graphics_SDK_4_10_00_01
it builds and installs without errors
but when i run 335x-demo on target i get
root@am335x-evm:/etc/init.d# ./335x-demo
0x10205
debug8.x
installing 8.x SGX debug user libraries
Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target
File system installation root is /
Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module pvrsrvkm.ko -> /lib/modules/3.2.0-00022-g7a925d3-dirty/extra/pvrsrvkm.ko
kernel module omaplfb.ko -> /lib/modules/3.2.0-00022-g7a925d3-dirty/extra/omaplfb.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
Installation complete!
You may now reboot your target.
[ 683.073768] Disabling lock debugging due to kernel taint
[ 683.107593] PVR: PVRCore_Init
[ 683.114048] PVR: PVRSRVDriverProbe(pDevice=c306b200)
[ 683.119435] PVR: EnableSystemClocks: Enabling System Clocks
[ 683.125413] PVR: GPTIMER11 clock is 26MHz
[ 683.130371] ------------[ cut here ]------------
[ 683.135264] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0xa0/0xb0()
[ 683.141884] sysfs: cannot create duplicate filename '/bus/platform/devices/pvrsrvkm'
[ 683.149964] Modules linked in: pvrsrvkm(O+)
[ 683.154341] Backtrace:
[ 683.156916] [<c0018d28>] (dump_backtrace+0x0/0x110) from [<c0490874>] (dump_stack+0x18/0x1c)
[ 683.165726] r6:000001e1 r5:c011374c r4:c33a3d00 r3:c0679708
[ 683.171662] [<c049085c>] (dump_stack+0x0/0x1c) from [<c0042db8>] (warn_slowpath_common+0x5c/0x6c)
[ 683.180943] [<c0042d5c>] (warn_slowpath_common+0x0/0x6c) from [<c0042e6c>] (warn_slowpath_fmt+0x38/0x40)
[ 683.190835] r8:00000001 r7:c3f40000 r6:c3ca6540 r5:c3f40000 r4:ffffffef
[ 683.197661] r3:00000009
[ 683.200401] [<c0042e34>] (warn_slowpath_fmt+0x0/0x40) from [<c011374c>] (sysfs_add_one+0xa0/0xb0)
[ 683.209657] r3:c3f40000 r2:c0598f6c
[ 683.213404] [<c01136ac>] (sysfs_add_one+0x0/0xb0) from [<c0114020>] (sysfs_do_create_link+0x100/0x1ec)
[ 683.223104] r7:c3013db0 r6:c3ca6630 r5:c33a3d58 r4:c3ca6540
[ 683.229033] [<c0113f20>] (sysfs_do_create_link+0x0/0x1ec) from [<c0114120>] (sysfs_create_link+0x14/0x18)
[ 683.239029] [<c011410c>] (sysfs_create_link+0x0/0x18) from [<c0261e18>] (bus_add_device+0x138/0x1e0)
[ 683.248565] [<c0261ce0>] (bus_add_device+0x0/0x1e0) from [<c02600c4>] (device_add+0x540/0x664)
[ 683.257563] [<c025fb84>] (device_add+0x0/0x664) from [<c02647a0>] (platform_device_add+0x120/0x280)
[ 683.267011] [<c0264680>] (platform_device_add+0x0/0x280) from [<c0264b80>] (platform_device_register+0x28/0x2c)
[ 683.277534] r8:00000000 r7:00000000 r6:00000001 r5:c33a2000 r4:bf068720
[ 683.284360] r3:bf068834
[ 683.287523] [<c0264b58>] (platform_device_register+0x0/0x2c) from [<bf0790ec>] (PVRCore_Init+0xec/0x390 [pvrsrvkm])
[ 683.298426] r4:c06b76c0 r3:00000000
[ 683.302309] [<bf079000>] (PVRCore_Init+0x0/0x390 [pvrsrvkm]) from [<c00086d0>] (do_one_initcall+0x3c/0x178)
[ 683.312499] [<c0008694>] (do_one_initcall+0x0/0x178) from [<c0072b10>] (sys_init_module+0x468/0x1d9c)
[ 683.322147] [<c00726a8>] (sys_init_module+0x0/0x1d9c) from [<c0015400>] (ret_fast_syscall+0x0/0x30)
[ 683.331586] ---[ end trace 3e4e2c3fd3f3c75e ]---
[ 683.336543] PVR: PVRSRVDriverRemove(pDevice=c306b200)
[ 683.342101] PVR: DisableSystemClocks: Disabling System Clocks
[ 683.348336] PVR_K:(Error): PVRCore_Init: unable to register platform device (-17) [999, home/user/Documents/Graphics_SDK_4_10_00_01/GFX_Linux_KM/services]
BusyBox v1.13.2 (2012-04-08 17:28:57 CDT) multi-call binary
Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Create a special file (block, character, or pipe)
Options:
-m Create the special file using the specified mode (default a=rw)
TYPEs include:
b: Make a block device
c or u: Make a character device
p: Make a named pipe (MAJOR and MINOR are ignored)
chmod: /dev/pvrsrvkm: No such file or directory
PVR:(Error): OpenServices: Cannot open device driver /dev/pvrsrvkm. [79, /pvr_bridge_u.c]
PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [2413, /bridged_pvr_glue.c]
PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [37, /srvinit.c]
/usr/local/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=4)
root@am335x-evm:/etc/init.d#
the output of the gfx_check script is
root@am335x-evm:~# ./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 : 2
Hardware : customboard
Revision : 0000
Serial : 0000000000000000
------
SGX driver information
cat: can't open '/proc/pvr/version': No such file or directory
------
Framebuffer settings
mode "800x480-68"
# D: 33.333 MHz, H: 35.920 kHz, V: 68.418 Hz
geometry 800 480 800 960 32
timings 30000 40 40 29 13 48 3
rgba 8/16,8/8,8/0,8/24
endmode
Frame buffer device information:
Name : DA8xx FB Drv
Address : 0x83400000
Size : 3072000
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 1
YWrapStep : 0
LineLength : 3200
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
------
Boot settings
console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
------
Linux Kernel version
Linux am335x-evm 3.2.0-00022-g7a925d3-dirty #52 Thu Oct 24 11:18:14 MSK 2013 armv7l unknown
what is wrong ?