Stripping Distributions Versus Building Your Own

The simplest way to build an embedded Linux application is to start with a copy of your favorite commercial Linux distribution that works with your chosen CPU—for example, Red Hat, SuSE, or Debian. Install it onto a hard drive, get it set up so your application starts as part of the initialization process, and call it “done.” This can be accomplished in less than a day. If your hardware has the memory and storage space available, this isn’t a bad way to go. You lose a lot of control over exactly what goes on in the box, and the result is possibly less robust and secure than a “from scratch” approach, but this might be a tradeoff that you’re willing to make for the time saved. This approach can ...

Get Embedded Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.