Tarunmi
Posts: 1
Joined: Fri May 15, 2015 11:46 am

Best way to make application specific Linux for pi2?

Fri May 15, 2015 11:54 am

I want to develop something like Openelec or osmc for Raspberry pi. My understanding is that they are operating system optimised to run kodi. (please let me know if I am wrong). Please tell me where should I start? And how to optimise a Linux to run a specific application so that the application runs very fast on raspberry pi? Thanks in advance.

User avatar
topguy
Posts: 5672
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Best way to make application specific Linux for pi2?

Fri May 15, 2015 2:34 pm

Look into buildroot http://buildroot.uclibc.org/.

These applications doesn't *run* any particular faster than on a normal Raspbian distribution, but they do *start* sooner after boot because there is little else installed that need to start at the same time.

kriss
Posts: 66
Joined: Thu Apr 02, 2015 8:53 pm
Location: france for now ...

Re: Best way to make application specific Linux for pi2?

Mon Jun 08, 2015 8:50 am

you could start by making a pure binary loader ;)

kriss
Posts: 66
Joined: Thu Apr 02, 2015 8:53 pm
Location: france for now ...

Re: Best way to make application specific Linux for pi2?

Wed Jun 10, 2015 2:17 pm

the best,after all, is to let core0 to the kernel and use the 3 else with a module that replace userspace
this is semi bare-metal

ghent360
Posts: 7
Joined: Thu Apr 09, 2015 8:26 am

Re: Best way to make application specific Linux for pi2?

Thu Jul 23, 2015 9:15 pm

OpenElec is actually very extensible. It it easy to disable Kodi and run your application instead. There is nothing specific in OpenElec, that makes it dedicated to run Kodi, other than in it's default configuration it has all the components necessary to run Kodi.

You can change the os configuration to match your application requirements.

Return to “Bare metal, Assembly language”