i.MX31 PDK Board Flashing

Document created by jesseg Employee on Aug 17, 2012Last modified by Jodi Paul on May 17, 2013
Version 4Show Document
  • View in full screen mode

This tutorial teaches how to flash bootloader using ATK. To flash kernel and root file system, follow the instructions in the document i.MX31 PDK NAND Flashing RedBoot.

ATK (Advanced Toolkit)

 

ATK (Advanced Toolkit) is a Windows software for programming the flash memory of i.MX boards. It can be downloaded here.

Using ATK

 

This section will describe the procedure to erase the flash memory and program the bootloader.

1 - Connect a serial cable between PC and i.MX board.

2 - Some hardware configurations (switches) must be done to flash the board.

   
Set red and cream switches as below: 
Switch SW5 -> 00000 
Switch SW4 -> 10000001

400px-Pdk_switch_program.jpg

   PS: On SW5 and SW4, "1" means the keys selected towards the edge of the board. 

3 - Run ATK going to Start -> Programs -> AdvancedToolKit -> AdvancedToolKit

Atk1.jpg

   
Set the options: 
Device memory -> DDR; Custom Initial File -> (keep it unmarked) 
Communication Channel -> Serial Port (Usually COM1)

4 - Click on Flash Tools to erase, program or dump the the flash memory and click GO

Atk2.jpg

 

Flash Erasing

 

1 - To erase Flash memory, select the parameters as shown in the figure below

Atk3.jpg

2 - Turn on the board and press Erase.

3 - ATK shows this message when flash is erased

Atk4.jpg

 

Flash Programming

 

The next step is to program the bootloader image into the board's Flash following the steps below.

1 - Select the parameters as shown in the figure below and press Program.

   
The bootloader binary image file can be found in your Board Support Package (click here to download) 
Set Program, NAND K9K2G08R0A, Address: 0x00000000, Size: 0x10000000

Atk5.jpg

2 - Add it on Image File field and press Program.

3 - Close ATK, turn off the board and set switch back as shown in the picture below.

400px-PDK_switch_normal_op.jpg

 

Installing ATK on Linux

 

Download ATK:

Download. 

Extract ATK:

# unzip ATK_1_41_STD_installer.zip 

Execute the default install process:

# wine SETUP.EXE 

Get mfc42.dll and msvcp60.dll from a Windows Machine (C:\Windows\System32) and copy to wine system32 (/root/.wine/drive_c/windows/system32)

Run ATK:

# wine ADSToolkit_std.exe 

 

Next Step

 

To flash kernel and root file system, follow the instructions in the document IMX31 PDK NAND Flashing RedBoot.


Attachments

    Outcomes