This tutorial teaches how to flash bootloader using ATK. To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.
ATK (Advanced Toolkit) is a Windows software for programming the flash memory of i.MX boards.
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
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
To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.
PS: On SW5 and SW4, "1" means the keys selected towards the edge of the board.
3 - Run ATK by clicking Start -> Programs -> AdvancedToolKit -> AdvancedToolKit
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.
1 - To erase Flash memory, select the parameters as shown in the figure below:
2 - Turn on the board and press Erase.
3 - ATK shows this message when flash is erased
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 into your Board Support Package Set Program, NAND, Address: 0x00000000
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.
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
To flash kernel and root file system, follow the directions: IMX27 PDK NAND Flashing RedBoot.