XBMC Community Forum
[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: [LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips? (/showthread.php?tid=35139)



- topfs2 - 2011-03-24 22:46

Your missing python, which is why it fails


- darkscout - 2011-03-24 22:53

Your system is missing python.

You are (You're) missing python.


- hfkou - 2011-03-24 23:44

python is there, I already re-build Python-2.6.6 on tg2, please see below python launch info. Which version external python do you use 2.5.5/2.7.1/3.x?
ubuntu@tegra-ubuntu:~$ python
Python 2.6.6 (r266:84292, Mar 24 2011, 15:01:44)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

Are the following related to this issue? does these 2 "make" have to be run before "make install"?
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite


- davilla - 2011-03-25 00:31

(real location) -> /usr/local/lib/xbmc/system/python

vs

(xbmc is looking for it at ) -> /usr/local/share/xbmc/system/python

try symlinking the python and no just python26-arm.so


- topfs2 - 2011-03-25 00:42

darkscout Wrote:Your system is missing python.

You are (You're) missing python.

Blush

English is my second language and I wrote without thinking enough Tongue


- hfkou - 2011-03-25 20:12

symlinking the python: /usr/local/share/xbmc/system/python->/usr/local/lib/xbmc/system/python, now get:
WARNING: Unable to resolve: python26-arm.so PyEval_ReleaseLock, reason: /usr/local/share/xbmc/system/python/python26-arm.so: undefined symbol: PyEval_ReleaseLock
FATAL: Python: error loading python24.dll


- davilla - 2011-03-26 04:33

you might kick back to python2.5, that's what I used when I was playing with tegra2. The main Makefile might have to be forced to python2.5.


- hfkou - 2011-03-28 04:04

tried with python2.5 and get the following messages, then xbmc is crashed and quit.

19:02:20 T:1107102512 M:833945600 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.image.picasa/)
19:02:20 T:1107102512 M:833945600 DEBUG: ParentPath = [addons://sources/image/]
19:02:20 T:1191846944 M:833945600 DEBUG: StartScript - calling plugin Picasa('plugin://plugin.image.picasa/','0','')
19:02:20 T:1191846944 M:833945600 INFO: initializing python engine.
19:02:20 T:1191846944 M:833945600 DEBUG: Loading: /usr/local/share/xbmc/system/python/python25-arm.so
19:02:20 T:1191846944 M:833945600 DEBUG: Python wrapper library linked with system Python library

On the console where the xbmc is launched, it shows "(EE) XKB: No components provided for device Virtual core keyboard. [config/dbus] couldn't register object path"


- phusho - 2011-03-30 09:20

Ok I was off for some time. Now I resumed this project again and found some bugs in Open GLES implementation. First is in multitexturing and second is drawing fonts. Also I made asm (ARM VFP) optimization for round and truncate functions in MathUtils.h again this is VFP only.

e.g. for floor()
PHP Code:
asm volatile ("fldmiad %1, {d0} \n\t"

                "ftosid s1, d0 \n\t"
                "fstmias %0, {s1} \n\t"

                
:
                : 
"r" (&i), "r" (&x)
                : 
"r0""cc""memory""d0" ,"s1"
            
); 



- davilla - 2011-03-30 17:36

phusho Wrote:Ok I was off for some time. Now I resumed this project again and found some bugs in Open GLES implementation. First is in multitexturing and second is drawing fonts. Also I made asm (ARM VFP) optimization for round and truncate functions in MathUtils.h again this is VFP only.

e.g. for floor()
PHP Code:
asm volatile ("fldmiad %1, {d0} \n\t"

                "ftosid s1, d0 \n\t"
                "fstmias %0, {s1} \n\t"

                
:
                : 
"r" (&i), "r" (&x)
                : 
"r0""cc""memory""d0" ,"s1"
            
); 

If you have patches, we would love to get them into trunk. Remember that we need to watch out for tegra2 as it's armv7 is non-standards, ie. no neon and vfp is vfpv3-d16.