Embedded Developers Prefer Linux, Love Android
DeviceGuru writes "In a recent EE Times 2013 Embedded Market study, Android was the OS of choice for future embedded projects among 16 percent of the survey's participants, second only to 'in-house/custom' (at 28 percent). But if a spectrum of disparate approaches can be lumped together as a single option, why not aggregate the various shades of Linux to see how they compare? Parsing the EE Times data that way makes it abundantly clear that Linux truly dominates the embedded market."
If you look original EE Times link and read the article, you will see that the love for Android is dropping:
After all, used OS is mostly hardware dependent, is it a low end or high end embedded platform.
Low end you do in the house, middle range applications you use some RTOS, in the high end you use those Linuxes and Android.
Disclaimer: I am currently evaluating OS that did leap from 0 to 4% in its first year of use.
A kernel all by its lonesome self doesn't really do all that much, it needs userland to become a useable OS. For example, Linux-kernel by itself would just be a Linux-kernel, nothing more, but slap uClibc and Busybox on top of it and you've suddenly got yourself a bare-bones OS. However, as the Linux-kernel is so utterly modifiable and flexible the userland can be almost anything and there is nothing about the kernel itself that somehow mandates that the userlands be in any way or form compatible with or even so much as resemble one another! So, if we are just going to slap together all the different forms of operating systems with absolutely no regard for the userland simply because their kernels are based on a similar source we should do the same for the other kernels, too, in order to be fair: slap OSX and iOS together with all the BSDs, all the Windows NT - based kernels together and so on, and then compare the numbers.
Linux, the kernel, would likely still come on top and we could all rejoice and sing Kumbaya, but... well, what would you gain at that point? What does such masturbation to the types of kernels actually give us? It says nothing about the operating systems, it says nothing about finer details like e.g. if the kernels are even compatible with one another due to modifications or anything, it's just simply a way of masturbating to the numbers.
News at eleven...
Linux has been dominating the embedded market device for at least 10 years.
Everything I write is lies, read between the lines.
Depends on what you consider an Operating system I guess. A basic task scheduler and process messaging could be thrown together in an afternoon, memory allocation is easy but you generally don't want it in an embedded application. The peripheral drivers is something you will have to put together regardless of OS.
It's when you need a network stack and a filesystem that you might want to pull in something that is already done.
So many misconceptions here.
1st we can assume Android uses the kernel Linux, so android "includes" Linux.
2nd, there are many types (levels) of embedded systems. Some don't need CPU (nor software). Some require a simple microcontroller, and some require true connectivity, true multitasking, lots of RAM, and maybe an MMU. Some of these systems run OS, and some of there are Linux. Lets call those "high level" -- happen to be the ones we interact on a daily basis (like a Smartphone for example).
Said that, the great vast majority of embedded systems are not "high level", and we normally don't even "use" them directly, so they don't run Linux (nor Android).
What is true is that in general, people that need to program in high level, prefer to code in Linux (or even Android) than to code in Windows CE, bare metal, or any other Embedded OS (or RTOS out there).
But still, it will take "long time" to Linux really dominate the embedded market.
Now this is domination. And this is starting to look like domination. Looks like embedded still has a way to go, though Linux overall looks healthier than ever.
Live today, because you never know what tomorrow brings
I've worked on / built a lot of different embedded systems both hardware and software and I've been left with this question many different times. Linux is great where you need a high level of control, and a great standard posix level interface and If you need to control timers, interfaces, resource tables and more. Custom implementations are great when you need to manage less resources but can handle the overhead of writing a custom RTOS from scratch. Android is great where you want another option apart from Linux. It's not a real cut and dry method of just sitting down and picking out a software platform for an embedded systems, it comes down to what your comfortable with, what you need it do / handle and what your over all requirements are.
To date I've used Linux on 3-4 different Embedded platforms, I've writen my own on about 8 different Embedded Systems, including one that was big enough for Linux but I just wanted a true custom RTOS for fun and I've used Android on 1 of them that is still unreleased. Most of my projects are open source so I tend to release the code after the fact.
Oh come on, that AC deserves +5 for funny for his topic, leaving aside the dorky "first!". I was on the board of a company that was competing in that space (licensing embedded OS's) back in the 90's. We concluded we weren't viable because we were in the ~$7-10m a year range of licensing fees. We found out Windows CE, globally, was in the neighbourhood of $3.5m/y. Boggle.
We still concluded we weren't viable, and transitioned to a POSIX-compliant variant of Linux and other activities. Given this survey, I don't feel sad about that choice.
"A basic task scheduler and process messaging could be thrown together in an afternoon, ..."
Right, kernels are things you throw together in an afternoon. I'm sure most of them are. Bootstrapping code takes, what, 5-10 minutes?
I work in automotive non-UI enviroment. And I can tell you that the OS is very minimal. It hooks to a timer interrupt and executes predefined tasks based on timer. It has no memory sharing, no drivers, no filesystems. It just handles context switches.
So me knowing about it, I can tell you that yes, you can make a working OS in one afternoon.
'Statistics are like a drunk with a lamppost, used more for support than illumination.'
-- Sir Winston Churchil
"There's Lies, Damn Lies, and Statistics."
If you tweak statistics enough, you will always find what you are looking for. Especially if your sought answer has nothing to do with the questions that were asked. Or would you really ban sober driving if 25% of the traffic accidents are due to alcohol use?
Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!