|
2010-02-22
, 12:02
|
|
Posts: 245 |
Thanked: 62 times |
Joined on Jan 2009
@ Bad Homburg, Deutschland
|
#492
|
|
2010-02-22
, 12:09
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#493
|
That would be great :-) Maybe a Wiki page would do too.
Also what are ideas about further cooperation and code sharing wrt fixing the GPL-ed kernel part? Wiki page with progress/developer comments, IRC, some mailing list?
|
2010-02-22
, 12:13
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#494
|
This is exactly what I was doing, but it doesn't seem to be working on my device, for some reason. Tried strace, and gdb on glinfo, but came up with nothing.
|
2010-02-22
, 13:12
|
|
Posts: 245 |
Thanked: 62 times |
Joined on Jan 2009
@ Bad Homburg, Deutschland
|
#495
|
----------------------- Start ----------------------- Try calling PVRSRVConnect an invalid argument: PVR_SRVUM:(Error): PVRSRVConnect: Invalid parameter [119, /home/girish/Graphics/Nokia/embedded/services_um/env/linux/pvr_glue.c] OK Call PVRSRVConnect a valid argument: PVR_SRVUM:(Error): Cannot open device driver /dev/pvrsrv. [79, /home/girish/Graphics/Nokia/embedded/services_um/env/linux/pvr_bridge_u.c] FAIL - PVRSRV_ERROR_INIT_FAILURE PVR_SRVUM: PVR_SRVUM:Memory Stats PVR_SRVUM:------------ PVR_SRVUM: PVR_SRVUM:High Water Mark = 0 bytes
|
2010-02-22
, 13:14
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#496
|
Would have helped had I known the test programs require regular user account, and not root Anyway, still hitting some problems:
Can not open device /dev/pvrsrv . Where did this come from?
|
2010-02-22
, 13:21
|
|
Posts: 245 |
Thanked: 62 times |
Joined on Jan 2009
@ Bad Homburg, Deutschland
|
#497
|
open("/tmp/mbx/txfifo", O_WRONLY
|
2010-02-22
, 13:50
|
Posts: 207 |
Thanked: 31 times |
Joined on Apr 2008
|
#498
|
|
2010-02-22
, 13:52
|
Posts: 207 |
Thanked: 31 times |
Joined on Apr 2008
|
#499
|
|
2010-02-22
, 14:11
|
|
Posts: 245 |
Thanked: 62 times |
Joined on Jan 2009
@ Bad Homburg, Deutschland
|
#500
|
You need to flash the zImage that is there, it is basically Diablo kernel + higher DMA memory available.
Copy lib*.so lib*.a to /usr/lib, run ldconfig
Copy glinfo, egl_test, mbxdaemon, ovg_demos, ovg_test, power_test, pvr2d_test, services_test, xegl_test, xovg_test, xtest to /usr/bin
You have two .ko's, mbxaccess and omaplcd.ko. You need to insmod mbxaccess.ko first, then omaplcd.ko
You need to then set up some device nodes (after mbxaccess and omaplcd is loaded);
mbxaccess_maj=`grep ""mbx"$" /proc/devices | cut -b1,2,3`
/bin/rm -f /dev/mbx
/bin/mknod /dev/mbx c $mbxaccess_maj 0
disp_maj=`grep "omaplcd$" /proc/devices | cut -b1,2,3`
/bin/rm -f /dev/omaplcd
/bin/mknod /dev/omaplcd c $disp_maj 0
chmod a+rw /dev/mbx /dev/omaplcd
You can now start mbxdaemon
Verify with ./glinfo. Perhaps ./services_test. Perhaps test ./xegltest as 'user' in X-terminal. Nothing fancy will show, but at least the drivers seem to work. Keep in mind that this is first step, it's now up to you to see if you can get something sane out of it. I stated some potential things above (cairo accelerated?)
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
Last edited by Stskeeps; 2010-02-22 at 12:08.