Hardware resources for embedded Linux

Summary

At the end of 2006 a Slashdot reader wanted to build a Linux device with graphics, positional input and sound and found plenty on porting Linux, but hardly anything on designing the hardware itself. The community pointed to ready-made boards such as Gumstix, Soekris and PC Engines WRAP and to ARM chips such as the Cirrus Logic EP9302 as a starting point. As sources of knowledge it named linuxdevices.com, handhelds.org and the O’Reilly book “Designing Embedded Hardware”.

The question

The submitter had an idea for a Linux-based device. There were plenty of guides on getting Linux onto an existing device. What was missing were books, guides and software for designing a device of one's own that displays graphics, responds to positional input such as touch and plays sound, without off-the-shelf hardware. There was also the question of who would assemble such a design later.

Most answers advised against starting from scratch. Small computer modules such as Gumstix already ran Linux and came with open schematics under a Creative Commons licence that could serve as a template for your own boards. Soekris and PC Engines WRAP were popular as robust network computers, and single-board computers from Arcom were seen as a more expensive but immediately usable basis for prototypes.

ARM dominated among the processors. The Cirrus Logic EP9302 was named, with USB, networking and SPI on the chip; the EP931x variant also adds a VGA output. For real-time tasks, readers pointed to the RTAI mailing lists.

Why this is still interesting today

In 2006 a Linux device of your own was a project for people who could design circuit boards. Six years later the Raspberry Pi appeared, and single-board computers with graphics, sound and GPIO became a mass product. The basic question has remained, though: with embedded Linux the operating system is usually the easier part; the work lies in hardware, drivers, power supply and manufacturing.

Ideas

  • A computer module with an open schematic is a faster start than a board designed from scratch.
  • ARM systems on chip combine the processor, networking, USB and other interfaces on one chip.
  • For small production runs there are service providers that manufacture and assemble boards.

Insights

  • Getting Linux onto a device is well documented; designing the device itself is the harder part.
  • Prototyping on ready-made boards first reveals requirements before expensive boards are manufactured.

Facts

  • Gumstix published the schematics of its modules under a Creative Commons licence.
  • The Cirrus Logic EP9302 is an ARM SoC with USB, Ethernet and SPI.

References

Remarks

  • linuxdevices.com, one of the most important sites on embedded Linux at the time, was retired in 2012; its founder Rick Lehrbaum launched LinuxGizmos.com as its successor in February 2013.

Recommendations

  • Build the first prototype on a ready-made board and only design your own hardware once the requirements are settled.
  • When choosing a chip, look for drivers in the mainline kernel, not just a vendor BSP.
  • Plan power supply, enclosure and manufacturing from the start.
  • The book mentioned, “Designing Embedded Hardware (affiliate link: if you buy something, I get a small commission and the price does not change for you)” by John Catsoulis (O’Reilly), covers designing your own boards with processor, memory and interfaces.

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.