CM-A510: U-Boot: Creating a bootable SATA drive
Contents
Introduction
CM-A510 system-on-module uses on-board SPI flash as its main boot storage. CM-A510 can also boot from a SATA drive. This article describes the creating of bootable SATA drive.
SATA drive requirements
Prior to installing the CM-A510 firmware on a SATA drive, make sure that the SATA drive partitions do not start in the first 1MB of the SATA drive. Otherwise, the partitions may be overwritten by this procedure.
Installing firmware on a SATA drive
The firmware can be installed on a SATA drive using a Linux workstation with a SATA adaptor
- Copy bin-header-sata-cm-a510-3.bin and u-boot-2009.08-cm-a510-3.bin from the U-Boot package for CM-A510 into the current directory
- Connect a SATA drive to the workstation
- The SATA drive will be identified as /dev/sdX, where X is the SATA drive letter
- Run the following command:
dd if=bin-header-sata-cm-a510-3.bin of=/dev/sdX bs=512 seek=1 oflag=dsync dd if=u-boot-2009.08-cm-a510-3.bin of=/dev/sdX bs=512 seek=63 oflag=dsync
Booting from a SATA drive
- Plug a SATA drive into the P18 SATA connector of the SB-A510
- Hold the BOOT SELECT (SW1) button while resetting/powering on the CM-A510 evaluation system
- The CM-A510 will boot from a SATA drive