<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-T54%3A_U-Boot%3A_Firmware_Update</id>
	<title>CM-T54: U-Boot: Firmware Update - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=CM-T54%3A_U-Boot%3A_Firmware_Update"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-T54:_U-Boot:_Firmware_Update&amp;action=history"/>
	<updated>2026-05-03T11:18:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://www.mediawiki.compulab.com/w/index.php?title=CM-T54:_U-Boot:_Firmware_Update&amp;diff=1916&amp;oldid=prev</id>
		<title>Lifshitz at 10:59, 18 December 2014</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.compulab.com/w/index.php?title=CM-T54:_U-Boot:_Firmware_Update&amp;diff=1916&amp;oldid=prev"/>
		<updated>2014-12-18T10:59:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
The CM-T54 firmware consists of two components: Secondary Program Loader (SPL) and U-Boot, provided as binary images: {{filename|MLO}} and {{filename|u-boot.img}}.&lt;br /&gt;
This article describes the firmware update process for CM-T54 system-on-module product.&lt;br /&gt;
&lt;br /&gt;
== Preliminary setup ==&lt;br /&gt;
* Make sure to power off the CM-T54 evaluation platform.&lt;br /&gt;
* Connect the host PC to the SB-T54 base-board (connector P11) via the serial cable supplied with the evaluation kit. &lt;br /&gt;
* Start terminal emulation software on your PC. Set baud rate to 115200 bps, 8 bit per frame, 1 stop bit, no parity, no flow control.&lt;br /&gt;
* Turn on the CM-T54 evaluation system. The U-Boot boot-loader will start and you will get a command prompt in the terminal window.&lt;br /&gt;
{{Note|If the boot settings of your CM-T54 are different than default, you may need to press and hold ^C while turning the CM-T54 on, in order to get command prompt.}}&lt;br /&gt;
&lt;br /&gt;
== Updating Firmware on the internal eMMC storage ==&lt;br /&gt;
CM-T54 firmware can be updated from an SD card, USB storage, mSATA drive or using network TFTP download. &lt;br /&gt;
All methods are performed from the U-Boot command line and include following common steps:&lt;br /&gt;
# Loading binary images from the selected media to the CM-T54 DRAM&lt;br /&gt;
# Flashing images to the on-board eMMC storage&lt;br /&gt;
&lt;br /&gt;
=== Updating from TFTP server ===&lt;br /&gt;
* Setup a TFTP server&lt;br /&gt;
* Put the firmware binary images {{filename|MLO}} and {{filename|u-boot.img}} in the root directory of the TFTP server&lt;br /&gt;
* Setup U-Boot networking:&lt;br /&gt;
: for dynamic IP configuration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# dhcp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or for static IP configuration:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# setenv ipaddr &amp;lt;ip address&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Setup the TFTP server ip address:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# setenv serverip &amp;lt;server ip&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Load the SPL and U-Boot binaries into the memory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# tftp 82000000 MLO&lt;br /&gt;
# tftp 88080000 u-boot.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Proceed to [[#Flashing images|Flashing images]] section&lt;br /&gt;
&lt;br /&gt;
=== Updating from SD Card / USB storage / mSATA drive ===&lt;br /&gt;
&lt;br /&gt;
Copy the firmware binary images {{filename|MLO}} and {{filename|u-boot.img}} from [http://compulab.co.il/products/computer-on-modules/cm-t54/#devres U-Boot package for CM-T54] to the root directory of the respective media.&lt;br /&gt;
&lt;br /&gt;
==== Updating from SD card ====&lt;br /&gt;
&lt;br /&gt;
* Insert the SD card into the P9 socket on SB-T54.&lt;br /&gt;
* Start the U-Boot MMC subsystem:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mmc dev 0&lt;br /&gt;
# mmc rescan&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Check that the storage device is ready:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# ls mmc 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Load the firmware binaries into the memory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# load mmc 0 82000000 MLO&lt;br /&gt;
# load mmc 0 88080000 u-boot.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Proceed to [[#Flashing images|Flashing images]] section&lt;br /&gt;
&lt;br /&gt;
==== Updating from USB storage ====&lt;br /&gt;
* Plug the USB storage device into the USB host connector (P15 or P26) on SB-T54. &lt;br /&gt;
* Start the U-Boot USB subsystem:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# usb start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Check that the storage device is ready:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# ls usb 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Load the firmware binaries into the memory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# load usb 0 82000000 MLO&lt;br /&gt;
# load usb 0 88080000 u-boot.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Proceed to [[#Flashing images|Flashing images]] section&lt;br /&gt;
&lt;br /&gt;
==== Updating from mSATA drive ====&lt;br /&gt;
* Plug the mSATA drive into mSATA connector (P8) on SB-T54.&lt;br /&gt;
* In case the SATA subsystem is not initialized correctly on system startup, run the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# scsi rescan&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Check that the storage device is ready:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# ls scsi 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Load the firmware binaries into the memory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# load scsi 0 82000000 MLO&lt;br /&gt;
# load scsi 0 88080000 u-boot.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Proceed to [[#Flashing images|Flashing images]] section&lt;br /&gt;
&lt;br /&gt;
=== Flashing images ===&lt;br /&gt;
* Start the U-Boot MMC subsystem:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mmc dev 1&lt;br /&gt;
# mmc rescan&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Write the firmware image into the on-board eMMC storage:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mmc write 82000000 100 100&lt;br /&gt;
mmc write 88080000 200 300&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reset the CM-T54 evaluation platform.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[CM-T54: U-Boot: Firmware Overview]]&lt;br /&gt;
* [[CM-T54: U-Boot: Creating a bootable SD card]]&lt;br /&gt;
* [[U-Boot quick reference]]&lt;br /&gt;
* [[U-Boot images]]&lt;br /&gt;
* [[CM-T54: Linux: Getting started|Getting started with Linux on CM-T54]]&lt;br /&gt;
* [http://www.denx.de/wiki/U-Boot/Documentation U-Boot documentation]&lt;br /&gt;
&lt;br /&gt;
[[Category:U-Boot]]&lt;br /&gt;
[[Category:CM-T54]]&lt;/div&gt;</summary>
		<author><name>Lifshitz</name></author>
		
	</entry>
</feed>