feature article
Subscribe Now

An Android With Real Power

“Danger, danger, Will Robinson!”

Cue the synthesized theme music and wave your arms. It’s another episode of Android Development Hour!

This week we follow the exciting exploits of Captain Power and his legion of silicon-based life forms. Behind the scenes, Captain Power has formed an alliance with the Android, the all-powerful operating system launched from planet Googleplex. The Android is barely two years old, but already it’s dominating vast segments of the galaxy. Mobile handsets are especially vulnerable, a sector expanding so fast it’s turning blue.

Handsets inhabit the ARM arm of the galaxy, with a few outliers sucked into the MIPS orbit. Captain Power, on the other hand, holds no sway here. His tractor beam has no traction with handsets.

Looking for other worlds to conquer, Captain Power has aligned his forces with those of the Android, hoping to explore strange, new worlds outside of mobile gadgetry. Communications, mass storage, printing, automotive, and industrial applications all provide hospitable environments where Captain Power and the Android can flourish.

Meanwhile, Back on Earth

Getting Android to work on PowerPC (now just called Power) processor chips wasn’t an easy process. Even though Android is by nature an open-sourced operating system, that doesn’t mean you can simply download the code, press the ‘compile’ button, and go. The results may lurch along and belch out the odd “hello, world,” but it’s not something you’d call product-ready. Getting Android to work tolerably well on any new hardware requires a lot of porting, tweaking, and fine-tuning.

If you’re using one of Android’s de facto preferred processors (think ARM), that work has already been done for you. MIPS, too, has good Android support, thanks to the efforts of MIPS Technologies and other companies. But Android didn’t support Power at all—until now.

The first Android port to Power was a one-off effort done by Mentor Graphics for an unnamed customer. That job was finished more than a year ago, and the customer’s product is now presumably zooming its way to production. That was a swell proof of concept—nobody really doubted that Android could run on Power; they’d just never seen it done—but it didn’t help the average developer.

Now, one year later, some interested parties have put their heads together to develop and release an open-source port of Android on Power that anyone can use. IBM, AppliedMicro, Mentor Graphics, and graphics maker XGI (now part of SIS) all collaborated on the work, and they’ve jointly released it to the public domain under the usual Android/gnu terms.

That means you, Dear Developer, can now contemplate building Power-based Android applications for your little neck of the galaxy.

The Android port currently targets three specific Power chips: Freescale’s QorIQ P1022 and PowerQUICC MPC 8536, and AppliedMicro’s 460S. All three are midrange processors, neither at the low end of the product range nor at the apogee of the Power arc. None of these chips is really suitable for a handheld device like a cell phone or even a tablet, but that’s not really the point. Power proponents have pretty much given up on elbowing ARM out of that market, and instead focus their efforts on devices that plug into the wall. Big printers, industrial devices, mass-storage boxes, network routers, and various telecommunications appliances are Power’s strongholds, and that’s where they hope Android will strengthen their position.

Android, of course, is useful for all sorts of applications beyond just handsets and tablets. It’s fundamentally Linux underneath, so it’s good for medium-scale multitasking systems that don’t need hard real-time performance. (Or if they do, Android can coexist alongside an RTOS.) Perhaps best of all, Android has no “standard” user interface. You can make it look like anything you like, which is good news if you’re competing with other Android users. In fact, Mentor Graphics makes something of a specialty of helping people customize Android with different user interfaces. So your Power-with-Android box doesn’t have to look or act like someone else’s Power-with-Android box.

Operating System Launch Pad

I did some surveys awhile ago that showed that most developers choose their operating system before they choose their processor. They’re also more loyal to their OS than to their CPU. That struck me as odd at the time—I figured CPU architecture was more important, for sure—but now it makes sense. The operating system has a lot more effect on your end product’s look and feel than the CPU does. It also affects your programming style a lot more. Unless you’re hand-coding assembly language, you’re probably more concerned with the APIs than the individual registers inside some chip.

Thus, operating systems have started to define new “tribes” of programmers. There are Linux programmers, Android programmers, various RTOS programmers, and (heaven forfend) Windows programmers. Changing the underlying silicon beneath that OS may not make a huge difference to you, but changing the OS itself probably does.

That’s bad news for microprocessor companies but good news for OS companies, a category that now includes Google. Processor vendors no longer have quite the lock on developers’ minds that they used to have. Programmers are quick to change horses if a different chip offers better performance, lower prices, or more efficient power consumption. But they’re loath to change operating systems because that means relearning all the APIs, procedure calls, tasking models, and bugs. 

In that sort of world, it’s important for processor companies to offer support for the most popular operating systems, and to be quick about it, too. If Processor X doesn’t support Operating System Z, they ain’t getting the business, no matter how good their silicon might be. On the other hand, there are a lot of embedded operating systems out there (at least three dozen), and porting and supporting them all just isn’t possible. The marketing guys have their hands full picking and choosing the right ones to back.

Power comes a bit late to this party, but at least they’re here. Like MIPS and ARM, Power chips are made by a loose confederation of competing chip companies that all share the same CPU architecture. But unlike MIPS and ARM, that architecture isn’t controlled by one company. It’s revised by committee, with each company having a say in Power’s future development. (IBM has the biggest vote, however.) That probably makes it a bit tough to get consensus on joint development projects like, oh, say, Android development.

For now, Android is available for only a few of the many different Power processors. Notably, it hasn’t been ported to any multicore Power chips yet. That’s a (big) project for another day. But it’s a good start, and it puts Power in the game. For developers who’ve selected Android as their chosen OS but haven’t yet picked a processor, this provides one more option—and a good one, too. Gentlemen, start your Androids. 

Leave a Reply

featured blogs
Nov 27, 2023
Qualcomm Technologies' SVP, Durga Malladi, talks about the current benefits, challenges, use cases and regulations surrounding artificial intelligence and how AI will evolve in the near future....
Nov 27, 2023
Employees of our Cadence Cork team recently volunteered to be part of an exciting journey with our learners from Age Action. Age Action is Ireland's leading advocacy organization for older people and aging. The organization provides practical programs to support older pe...
Nov 27, 2023
See how we're harnessing generative AI throughout our suite of EDA tools with Synopsys.AI Copilot, the world's first GenAI capability for chip design.The post Meet Synopsys.ai Copilot, Industry's First GenAI Capability for Chip Design appeared first on Chip Design....
Nov 6, 2023
Suffice it to say that everyone and everything in these images was shot in-camera underwater, and that the results truly are haunting....

featured video

Dramatically Improve PPA and Productivity with Generative AI

Sponsored by Cadence Design Systems

Discover how you can quickly optimize flows for many blocks concurrently and use that knowledge for your next design. The Cadence Cerebrus Intelligent Chip Explorer is a revolutionary, AI-driven, automated approach to chip design flow optimization. Block engineers specify the design goals, and generative AI features within Cadence Cerebrus Explorer will intelligently optimize the design to meet the power, performance, and area (PPA) goals in a completely automated way.

Click here for more information

featured webinar

Rapid Learning: Purpose-Built MCU Software Tools for Data-Driven Embedded IoT Systems

Sponsored by ITTIA

Are you developing an MCU application that captures data of all kinds (metrics, events, logs, traces, etc.)? Are you ready to reduce the difficulties and complications involved in developing an event- and data-centric embedded system? This webinar will quickly introduce you to excellent MCU-specific software options for developing your next-generation data-driven IoT systems. You will also learn how to recognize and overcome data management obstacles. Register today as seats are limited!

Register Now!

featured chalk talk

Industry 4.0: From Conception to Value Generation
Industry 4.0 has brought a lot of exciting innovation to the manufacturing and industrial factories throughout the world, but getting your next IIoT design from concept to reality can be a challenging process. In this episode of Chalk Talk, Adithya Madanahalli from WĂĽrth Elektronik and Amelia Dalton explore how WĂĽrth Elektronik can help you jump start your next IIoT design.
Apr 17, 2023
26,856 views