CM-T54: U-Boot: Creating a bootable SD card

From Compulab Mediawiki
Jump to: navigation, search


CM-T54 system-on-module uses on-board eMMC as its main boot storage. CM-T54 can also boot from an SD card. This article describes the creating of bootable SD card.

SD card requirements

Prior to installing the CM-T54 firmware on an SD card, make sure that the SD card partitions do not start in the first 1MB of the SD card. Otherwise, the partitions may be overwritten by this procedure.

Installing firmware on an SD card

The firmware can be installed on an SD card using a Linux workstation with an SD card reader.

  • Insert the SD card into the workstation card reader
  • The SD card will be identified as /dev/sdX, where X is the SD card drive letter.
  • Run the following command:
dd if=MLO of=/dev/sdX bs=1K seek=128 oflag=dsync
dd if=u-boot.img of=/dev/sdX bs=1K seek=256 oflag=dsync

Booting from an SD card

  • Plug the SD card into the P9 SD card socket of the SB-T54
  • Hold the BOOT SELECT (SW1) button while resetting/powering on the CM-T54 evaluation system
  • The CM-T54 will boot from the SD card

See also