Home News Featured Blogs Libby Clark How LG Took WebOS from Mobile Phones to TVs in Under a Year

How LG Took WebOS from Mobile Phones to TVs in Under a Year

WebOS-TVWhen LG acquired the WebOS project from HP early last year, it was a stripped down Linux-based mobile operating system hardly fit to run on any hardware. Then in January, less than a year later, LG debuted its new WebOS smart TVs at the Consumer Electronics Show in Las Vegas. And until the first WebOS TVs hit retail shelves earlier this month the team was working around the clock for the release.

“It's been a roller coaster year for us,” said Steve Winston, LG's WebOS project lead. “We have taken the stripped down OS and turned it back into a fully fledged embedded operating system for a TV.”

To accomplish this transformation, the development team had to back port most of the components from LG's first-generation smart TVs, built on their own Linux-based OS called Netcast, onto the WebOS platform. LG's proprietary TV stacks and loads of additional components for supporting streaming media and interconnectivity to other devices, for example, needed to learn how to “speak WebOS,” Winston said.

So they set out to convert all of the necessary LG components to the OpenEmbedded environment – the open source software framework used to build the original WebOS project. Now the core technology behind the Yocto Project, OpenEmbedded is a set of recipes, classes and associated files tailored for building a Linux distribution for embedded devices.

OpenEmbedded ensures that all the parts that end up on the final hardware are very well contained, Winston explained. In other build environments the machine you build on really determines what you end up building, he said.

“We wanted a fully predictable and reproducible build environment,” Winston said. “So that at any time in the future we can go back and do the same build and get the same results.”

Creating a Standard Build Environment

In the process, they ended up building a customized Yocto Project/ OpenEmbedded environment in order to simplify the metadata and abstract standard build instructions. Component owners can inherit that information instead of relying on binary drops to the other build teams, which allows easy sharing and component integration.

It was difficult at first to train LG's small army of engineers, who were contributing those components from teams and branches across Korea, the U.S. and Europe. They were accustomed to working in basic make files under the former proprietary build system, rather than the metadata and layers standard in OpenEmbedded.

“It's a new and different concept and that learning curve can be frustrating,” Winston said. “We even had some pushback but were able to convince them it was the way to go.”

After the initial pain of switching, they're reaping the benefits of having a standard build environment used across all of LG's engineering teams. After several months, and many lessons learned, they have a set of plug and play components that all connect via the WebOS luna service bus, Winston said.

More open source WebOS components to come

Now that the initial WebOS TV release is done, the team can again focus on adding new features to the platform. They also plan to go back over their work from the previous year and decide which new WebOS components must stay proprietary and which they can release as open source, starting with their recently released Enyo application development framework for TV called Moonstone.

“The core of the operating system is out there on Github, including the luna-service2 and core JSON library, which works together with OS/2 to be a fundamental part of everything that's WebOS,” Winston said. 

They're also planning to work with the Yocto Project community in the future to share some of what they've learned about setting up international engineering teams, as well as to help integrate their custom changes into future releases.

“We love Linux. When you look at the list of core technologies, WebOS is built on we definitely owe a debt of gratitude to the open source and Linux community,” Winston said. “We leveraged the great work other people have done to put together this operating system.”



Subscribe to Comments Feed
  • David Said:

    Thanks for sharing! Wish I didn't already recently buy a TV :(

  • Steveo Said:

    Stupid Samsung luring me with their non WebOS operating system :(

  • DT Said:

    Nice article. I've been a ardent webOS user since it's introduction in 2009 by Palm. To this day, it is arguably the best designed mobile operating system out there - but with the implosion at HP (Apotholypse) caused by Leo Apotheker, it suffered a horrible fate. I wasn't sure about the look and incorporation of webOS into TV's, but I just purchased one and I must say - they are amazing. LG still has some tweaking to do, and we are still waiting for them to start up their App Store, but so far they have truly done things well. I was expecting a flub, but as a webOS enthusiast, they did us proud so far. (Though we are still hoping they decide to bring back the OS on a mobile device in the future. Reshared your article link on the webOS Nation site:

  • Weasel Said:

    Here's hoping that LG can get webOS back on track and (keeping my fingers crossed) back into the mobile community....that would be so cool! B-) Weasel

  • wayne twine Said:

    i dont understand why OS/2 was mentioned in this article please explain

  • David Chipman Said:

    Same here. Not sure what they're using something that old (and unmaintained?) for in a new project.

  • Weasel Said:

    That has to be a typo.... OS/2 hasn't been supported in years!

  • Adam McNutt Said:

    OS/2 is still alive, but it is now called eComStation.

  • Bruno Andrade Said:

    É um grade passo dado pela LG à frente de seus concorrentes. Atualmente a Samsung domina o mercado de Smarth TV no Brasil, quem sabe não seja a hora da LG tornar o mercado mais competitivo aumentando a concorrência e sendo uma boa notícia aos consumidores que buscam condições no preço e novidades tecnológicas. E também é uma ótima notícia saber que o Linux continua sendo explorado mais do que nunca por grandes corporações e sendo utilizado nos novos dispositivos lançados com certo nível de tecnologia. Fora a gratidão da empresa a também disponibilizar à comunidade Linux quais foram seus desafios no projeto, quais soluções encontradas e novas funcionalidades desenvolvidas a fim de ajudar à todos os desenvolvedores de tantas outras plataformas Linux. Só tenho a dizer "Parabéns LG".

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board