Recovering U-boot on a ConnectCard i.mx28 module via USB

Similar documents
Digi Connect Wan 3G Application Guide Update the firmware, backup and restore the configuration of a Digi Connect Wan 3G using a USB flash drive.

Information Sheet IS13011A. VS Series - Recovering / Installing the Operating System. (For Software Version 4.x) Issue

Digital Photo Bank / Portable HDD Pan Ocean E350 User Manual

i.mx USB loader A white paper by Tristan Lelong

SheevaPlug Development Kit README Rev. 1.2

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

Application Development Kit for Android Installation Guide

Quick Note 29. How to recover a router that will not boot

Plena Voice Alarm System Firmware update

Fiery Clone Tool For Embedded Servers User Guide

3 ½ Floppy to USB Flash Reader

User's Guide DylosLogger Software Version 1.6

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 16 Fixing Windows Problems

HOWTO configure Xinu under Virtual Box

For Windows XP 64 bit

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

Colorfly Tablet Upgrade Guide

HP VMware ESXi 5.0 and Updates Getting Started Guide

SecureLinx Spider Duo Quick Start Guide

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

NSA-220 Series. SOP of firmware ver upgrade

Accessing I2C devices with Digi Embedded Linux 5.2 example on Digi Connect ME 9210

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

E-LINK FOR ARM. E-Link User maunal / 46

CostsMaster. CostsMaster Dongle Server User Guide

Type Message Description Probable Cause Suggested Action. Fan in the system is not functioning or room temperature

ITA Mail Archive Setup Guide

Getting Started User s Guide

Updating MNS-6K software on Magnum 6K Switches

Pwn Plug Community Edition 1.1 Installation Guide

Network/Floating License Installation Instructions

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Honeywell Internet Connection Module

HP One-Button Disaster Recovery (OBDR) Solution for ProLiant Servers

Sharp Remote Device Manager (SRDM) Server Software Setup Guide

Application Note CTAN #374

Current Cost Data Cable User Guide. Installing and configuring the data cable

Test a WR21 Router. How to test a WR21 router step by step. UK Support June 2015

Thank you for choosing a Yamaha product. This guide explains how to update the TF series (TF5, TF3, and TF1) and the NY64 D firmware.

XConsole GUI setup communication manual September 2010.

Infiniium Upgrade and Recovery Guide

Win 7 - STIMA CLS / CMP Driver Installation Quick Guide

HP RDX Continuous Data Protection Software Quickstart Guide

Acronis True Image 2015 REVIEWERS GUIDE

Lenovo IdeaCentre Q180 Series

Tutorial How to upgrade firmware on Phison S5 controller MyDigitalSSD

Debugging Network Communications. 1 Check the Network Cabling

Installing the OKI MCx61MFP USB Attached, in Windows 8

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

2.6.1 Creating an Acronis account Subscription to Acronis Cloud Creating bootable rescue media... 12

7inch HDMI LCD (B) User Manual

IPMI Firmware Update (AMI) In WEB-GUI/DOS/WIN/Linux

Updating MNS-BB CUSTOMER SUPPORT INFORMATION PK012906

User Guide for Windows 10

Maintaining the Content Server

Using a USB to Serial adapter and Terminal Emulator in Windows 7 to communicate with a DM101

Getting Started with the Xilinx Zynq All Programmable SoC Mini-ITX Development Kit

T3 Mux M13 Multiplexer

Bare Metal Recovery Quick Start Guide

Acronis Backup & Recovery 10 Workstation. Installation Guide

Getting Started. rp5800, rp5700 and rp3000 Models

Lizard Standalone Mode Guide Version 1.0:

Microsoft Diagnostics and Recovery Toolset 7 Evaluation Guide

Select Correct USB Driver

HOW TO TRANSFER FILES BETWEEN EEN IDL7000 PVR AND USB2 DEVICE

1 INTRODUCTION. This document describes the procedure to upgrade LTMR.

3.1 Backup and Recovery System

Version 1.0. File System. Network Settings

SSD Guru. Installation and User Guide. Software Version 1.4

Dell DR4000 Disk Backup System. Introduction to the Dell DR4000 Restore Manager A primer for creating and using a Restore Manager USB flash drive

Short Manual Intellect v SP2 module Unipos Contents:

File Transfers. Contents

Lenovo Miix 2 8. User Guide. Read the safety notices and important tips in the included manuals before using your computer.

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

HotelTV. Client Software Update REV A0.10 D October. Web : Mail : support@vestek.com.tr Tel :

Bluetooth HC-06 with serial port module Easy guide

MTA Course: Windows Operating System Fundamentals Topic: Understand backup and recovery methods File name: 10753_WindowsOS_SA_6.

COPYRIGHT TOP NOTCH TABLETS LLC HOW TO: Install the Drivers to your PC so you can Flash Firmware to your RK3066 Powered Tablet.

Guide to Installing BBL Crystal MIND on Windows 7

Quick Start Guide. Quick Start Guide. taskit GmbH. for Portux920T EU / SW Portux Mini-PC Portux Panel-PC Panel-Card MoLUX Stamp

BounceBack Server Solution Reference Guide

Installing Global Logger USB Drivers

Installation Instructions

Running the R4 Software on a USB Port

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Network Attached Storage System Recovery Procedure

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

PHOTO BANK BACKUP DEVICE

Gauge Drawing Tool Slider Drawing Tool Toggle Button Drawing Tool One-Way List Drawing Tool... 8

HotelTV1. Client Software Update REV A0.6 D October. Web : Mail : support@vestek.com.tr Tel :

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive

Imation LOCK User Manual

Connecting the DG-102S VoIP Gateway to your network

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Taurus - RAID. Dual-Bay Storage Enclosure for 3.5 Serial ATA Hard Drives. User Manual

Embedded Linux BSP BootCAMP

Transcription:

Recovering U-boot on a ConnectCard i.mx28 module via USB

1 Document History Date Version Change Description 12/06/2013 1.0 Initial version Copyright 2013 Digi International Page 2/7

2 Table of Contents 1 Document History... 2 2 Table of Contents... 3 3 Introduction... 4 3.1 Problem Solved... 4 3.2 Audience... 4 3.3 Assumptions... 4 4 Basics and Preparations... 4 4.1 Obtaining Device Driver and sb_loader... 4 4.2 Preparing Hardware... 4 4.3 Boot in to recovery... 4 4.3 Boot in to recovery... 5 4.4 Install drivers... 5 4.5 Using sb_loader.exe to serve U-boot image... 7 4.6 Updating FLASH on the module... 7 5 Conclusion... 7 Copyright 2013 Digi International Page 3/7

3 Introduction In this application note we will discuss how to boot the ConnectCard for i.mx28 module from a USB port using a U-boot file stored on a Windows PC 3.1 Problem Solved This document will provide guidance on recovery of a ConnectCard for i.mx28 with corrupt U-boot in FLASH. 3.2 Audience Developer that has a ConnectCard for i.mx28 module with corrupted U-boot in FLASH who wants to recover it and restore its functionality. 3.3 Assumptions Reader is familiar with basics of Linux and Windows command shells, and knows how to update U-boot and other images from FLASH using U-boot running on the target. 4 Basics and Preparations The ConnectCard for i.mx28 is capable of booting from a U-boot image served via a USB OTG port from a PC. The PC needs to have an i.mx28 USB device driver installed, and a special program from Freescale called sb_loader, which is used to communicate with the i.mx28 processor and load U-boot into SDRAM. 4.1 Obtaining Device Driver and sb_loader Navigate to this page and register a free account with Freescale if you have not done so before: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=imx28_sw Click on the link on the left stating: i.mx Manufacturing Toolkit. At the time this document was written, the most current version was Mfgtools-Rel- 1.6.2.032.zip. Accept the agreement, download and extract the zip file. You will find USB driver here: Mfgtools-Rel-1.6.2.032\Drivers\iMX_BulkIO_Driver\ SB_loader tool here: Mfgtools-Rel-1.6.2.032\Utils\sb_loader\ 4.2 Preparing Hardware Connect your development board s USB OTG port (micro USB connector J7) to your PC USB port with a USB to micro USB cable. Connect the serial cable between the development board J54 DUART (Console) and the serial port of your PC. Start and configure your terminal emulation software to use 115200 8,N,1. Copyright 2013 Digi International Page 4/7

Connect your network cable to the normal network port on your development board ENET0 J55, and the other end to your network or a PC running a TFTP server that will be used later to serve the new U-boot image to be programmed to the module s FLASH. 4.3 Boot into recovery Power off the board with power switch first. Press and hold SW23 (Recovery) button. While holding it, flip the power switch to the on position. You can leave SW25 in default (NAND OFF, OFF) position for this experiment the Recovery button will override it. Alternatively, you can bootstrap the module to boot from USB using SW25, but then the white ribbon LCD cable has to be attached to the module and to the development board for this to work as bootstrapping pins are also routed through it. If your final design does not include the video cable, you may still boot from USB using the recovery button as I mentioned above. This is explained in Chapter 3 of the ConnectCard i.mx28 Hardware Manual that can be found here: http://ftp1.digi.com/support/documentation/cc_i_mx28_updates.htm Again the easiest way to force the module into USB/Recovery boot is by holding SW23 (Recovery) button while applying power to the board. 4.4 Install drivers The first time the module boots into USB mode with the USB cable connected to the PC it should force Windows on the PC to detect a new USB device - you should hear a sound of new device plugged in. It should install a driver on first detection. I did not have to provide a driver for the installation as it is mimicking a standard HID device. Below are the screenshots taken from the device manager on my machine. Copyright 2013 Digi International Page 5/7

Copyright 2013 Digi International Page 6/7

It will show up as 2 lines on your Human Interface Devices section: HID compliant device and USB input device. 4.5 Using sb_loader.exe to serve U-boot image Once the driver is installed, you should be able to boot the module from USB: Place your normal U-boot file (u-boot-ccardwmx28js-ivt.sb) into the same folder as sb_loader.exe (usually Mfgtools-Rel-1.6.2.032\Utils\sb_loader) Open a Windows command prompt and navigate to that folder. Enter the command highlighted below: C:\Mfgtools-Rel-1.6.2.032\Utils\sb_loader>sb_loader.exe /f u-boot-ccardwmx28js-ivt.sb Downloading u-boot-ccardwmx28js-ivt.sb to device.... CStHidDevice::Download() Error(258) during read. Quitting. Error(258) during download. Quitting. C:\Mfgtools-Rel-1.6.2.032\Utils\sb_loader> Do not worry about Error(258) during download. As long as you see... in front of CStHidDevice, it did complete the programming. 4.6 Updating FLASH on the module At this point, you should see U-boot coming up on the serial port via the terminal emulation program you configured earlier. This means U-boot has been successfully loaded into SDRAM, and the module was able to build from it. However, your U-boot partition in FLASH is still blank or corrupted and needs to be updated. This can be done either via TFP ( update uboot tftp command) or via micro SD card formatted with FAT32 and containing new U-boot image (update uboot mmc 0 fat) The details of those methods are discussed in the U-Boot Reference Manual that can be found here: http://ftp1.digi.com/support/documentation/cc_i_mx28_updates.htm 5 Conclusion We have just learned how to recover a ConnectCard for i.mx28 module with corrupt U- boot in FLASH. Copyright 2013 Digi International Page 7/7