• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 48
[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips?
#61
Well its commented out here: xbmx/lib/libGoAhead/Makefile (and Makefile.in) line 59.
But like you suggested, ive just excluded it. I dont need a web server lol. Had to create a patch that utilises HAS_WEB_SERVER in order to exclude it. (trac added)

Apart from that, the next thing i encountered was a problem in the dvdplayer codecs.
xbmc/cores/dvdplayer/codecs/makefile line 156. It refers to the folder x86... which is obv not good for me, but there is an arm folder so i just changed the makefile to do $(ARCH) instead.

And finally... you guys incorporated a SNES audio emulator to play snes sounds!!! awesome!!! except its using x86 assembler (nasm) so i cant use it... lol. nvm, ill just exclude it.
¤ [McGeagh] ¤
Reply
#62
what about ARM/Linux-based netbooks http://www.arm.com/
Reply
#63
Hmm, im a little confuzzled by something...
Im getting an error during make about projectM.

Code:
*** No rule to make target `CMakeFiles/projectM.dir/link.txt', needed by `libprojectM.so.2.00'.  Stop.

Comparing my current projectM.dir folder contents to the one i have running on x86, theres a lot of files im missing, including link.txt... hence the error.

In the log file (xbmc/visualisations/XBMCProjectM/libprojectM/CMakeOutput.log) theres a lot wrong going on. in x86 version after it outputs the line "The CXX compiler identification is GNU, found in...." it does other stuff such as linking...whereas in the arm version im working on, it doesnt...nothing past that line.
This log file is produced when you do ./configure but im unable to pinpoint exactly where, and why its failing on me.
¤ [McGeagh] ¤
Reply
#64
not really an answer, but projectM requires opengl so i would just disable it for now.
i assume you have CMake installed?

chdir to the dir, then do cmake . and see what you get
Reply
#65
Thanks for the fast reply.
I do have cmake installed. and when i do cmake . i get the same output as the x86 version.
Looks like ill just disable it for now as suggested. lol.

I finally have the end result! an xbmc binary! granted, its been culled enough that it cant be called xbmc anymore lol, but nvm. Now to try it out on real hardware, and see how slow unoptimised none-gl xbmc runs at.
¤ [McGeagh] ¤
Reply
#66
Alright... Ive been trying to get it to run with SDL, and you lot really dont like SDL anymore. lol.
It fails when trying to render the splash screen because trying to round a NaN. This is because (long story short) its dividing by 0 in the CGraphicContext::GetScalingPixelRatio() function in guilib/GraphicContext line 1221 " return outPR * (outWidth / outHeight) / (winWidth / winHeight); "
This is because outWidth, height, as well as winWidth, height are all 0. Why... because XBVideoConfig::GetCurrentResolution() function in xbmc/XBVideoConfig.cpp line 103 doesnt do any setting up of values, if running in SDL. It has a define for apple, win32, and glx... but nothing for the else. hence iWidth and iHeight report back as 0, thus the divide by 0 etc.

Im just happy its trying to render, means my porting kinda works...somewhat.
No point me spending too much time getting it to work with SDL, when im eventually going to get it to work with OpenGL ES.
¤ [McGeagh] ¤
Reply
#67
damn, you were doing such a nice job of cleaning up our nasties Smile
Reply
#68
I kinda hacked it and hardcoded the resolution.
The result.....
http://www.youtube.com/watch?v=QRQFOnblixI
¤ [McGeagh] ¤
Reply
#69
Excellent news.

My beagleboard has been dreaming of this day...

TheUni
Reply
#70
Very impressed :-)
Reply
#71
Nice! We need to get someone on conning TI to open all those DSP codecs for the OMAP3/4. Smile
Reply
#72
althekiller Wrote:Nice! We need to get someone on conning TI to open all those DSP codecs for the OMAP3/4. Smile
Not just TI, also Qualcomm, Marvell, Freescale, nVidia, etc. Wink

Or are you aiming at an OMAP-only version?
Reply
#73
TI are the only ones from whom I've heard even grumblings of opening stuff.
Reply
#74
Hi, I love what you are trying to do, and I would also love helping you port xbmc for ARM arch, and even eventually the Android mobile OS.

I sent you a PM, I can't wait to get started helping port.

Thanks,
Aakash
Reply
#75
Fantastic work McGeagh. The Pandora community is watching with interest. Wink
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 48

Logout Mark Read Team Forum Stats Members Help
[LINUX] XBMC for Linux port to ARM architecture CPU and SoC chips?7