Embedded Linux tips and tricks

From DAVE Developer's Wiki
Revision as of 17:42, 23 February 2022 by U0001 (talk | contribs) (U0001 moved page Embedded Linux FAQs to Embedded Linux tips & tricks without leaving a redirect)

Jump to: navigation, search

Introduction[edit | edit source]

This page provides examples and usage notes for common tasks/issues related to typical embedded Linux systems.

How to write .wic image files to SD cards[edit | edit source]

Yocto build system can generate .wic image files. These files are usually written to SD cards to create bootable devices.

The simplest way to write such images is to use Balena Etcher tool, which is available for Linux, macOS, and Windows hosts. Using Etcher is straightforward, nonetheless many tutorials and examples are available on the Internet.

Advanced users can also use the well-known dd utility. This tool should be avoided unless the user knows what they are doing. If the target device is not specified properly, dd can wipe out all the data on host's disk drive! For more details, see for instance this article.