This article and screen-cast is a continuation of that last couple posts describing the BEC OE build template. The purpose again for a build system is to automate tedious manual tasks, and in doing so, we end up documenting how the build system works. Having a good build system is important during product development so that you have an easy, repeatable process for building and deploying images. One of these tasks is setting up a SD card and installing images to the SD card that an OMAP system can boot from. This screencast goes over the script and makefile targets that are used to automate this process.
In summary, the steps to set up a SD card and install an image using the build template are:
- cd <build template directory>
- determine the SD card device name (/dev/sdX)
- unmount any file systems mounted on the SD card
- sudo ./scripts/omap-sd-partitions.sh /dev/sdX (make sure you have the right device!!!)
- make omap-install-boot
- make omap-install-<image name>-rootfs
Previous articles in this series: