Omapflash Download

/ Comments off

Omap Flash 2369 For Windows 7 64 bit 2/1/2017 omapflash-2369.exe 139kb LG P1-JPLCY, Fujitsu FMVXN6EG2Z, HP HP Compaq dx2390 Microtowe, Sony VGN-SZ56LNB, Acer A0A150, MSW GmbH & Co. KG Intel DP55WB, Sony VGN-UX90S, Fujitsu S6410C, Fujitsu PRIMERGY TX140 S1. Download sp flash tools windows 10 for free. Multimedia tools downloads - Sp Flash tools by SPFlashTool.com and many more programs are available for instant and free download. Adobe Flash Player is both a sophisticated and striking client runtime, allowing users to receive high-quality content on their computers. It provides a rich user experience, such as the easy creation of cubic Bezier curves with the cubicCurveTo. Omapflash Installer Download. Download the latest Windows drivers for S Flash OMAP3630 MI Driver. Drivers Update tool checks your computer for old drivers and update it. Get latest S Flash. How to download and install Texas Instruments OMAP Flash Driver driver (driver id 2004392). Download and update to version 1.0.0 now and improve your PCs.

There are more possibilities how to repair Hardbrick Samsung Galaxy Tab 2:

  • For those who damaged boot loader can try Running stock U-Boot from SD Card
  • For those who have HW fault like eMMC bug can participate on development Running entire system from SD Card
    The second one may be solve later with help of some experienced people from hire.

Run stock U-Boot from SD Card

Requirements

  • Hardbrick Samsung Galaxy Tab 2 (GT-P5100). can be recognized that it don’t do nothing, charging not working, power button do nothing, recovery not working. More info How To Unbrick Your Galaxy Tab!
  • SD Card Support UHS-I UHS104 (SDR104), with is not easy to determine with Card support this format and with not. I tried meny cards and label UHS-I is not enough so I asked SanDisk support they recommended SanDisk Extreme. I bought SanDisk Extreme 32GB, and this card is working. I would say that every card 90MB/s+ should work.

step 0 not for linux

Windows

  • Install drivers for OMAP 4430 Guide / Drivers inside OMAPFlash download
  • VirtualBox with Linux
  • Set VirtualBox to capture OMAP 4430
  • Download win iso burner

step 1

Windows & Linux

  • Download omapboot to Linux
  • Download Debrick dump imgs

step 2

Prepare SD card

Windows

Use win iso burner to write Debrick dump imgs to Sd Card.

Linux

Write Debrick dump imgs to Sd Card.
Be careful to use right device sdX

step 3

Omap flash free download

In Linux Run

you will see:

  • Connect Tablet to PC
  • Press Power button for long time approximately 10s
  • You should see this in command line:

  • Tablet should start to some firmware recovery mode see picture 1

  • You should be able to use ODIN to repair internal memory, in my case ODIN stop in the half of loading, I probably have eMMC bug.

Running entire system from SD Card

I’m trying to modify U-Boot and Kernel to load entire system from SD Card. Some have done it Say hi to “CyanoBoot” – a 2nd bootloader/w menu aka “ub2” different device same CPU.

First step of boot is loading x-loader. The x-loader is signed so we have to use original one from Samsung. After some peripheral initialization x-loader copy u-boot to ram checking for magic constant as copied code and execute it. This is the place where we can change u-boot to boot from SD Card, because x-loader load u-boot from the same device as was loaded him.

u-boot source

Do anyone have u-boot source from Samsung?
I used this Guide and copy something from Nook device u-boot source because they made boot from SD Card on same CPU OMAP4430. And lge_p920 from LG Open-source repository. Do anyone have better idea?

How to compile

u-boot source
Building U-BOOT #(for Blaze)

Kernel

I’m using Stock boot.img from O2C-P5100XXDMJ2-20131203002840.zip package.

Prepare Debrick.img

Rewrite part of Image Files

Write recovery.img to specific address in debrick_changed.img address 0x2C00000 write in hex or dec depend on system (seek=$((0x1800000)) for linux) (seek=46137344 for Windows).
You need to rewrite:
x-loader (MLO) 0x20000
u-boot (Sbl.bin) 0x1800000
boot.img 0x2400000
recovery.img 0x2C00000

UART Debugging

Pin 21 of Samsung Galaxy Tab 30 Pin Dock Connector Pinout is output of debug messages for x-loader and u-boot (port UART4). I would like send Kernel debug output to this port. Anyone know how to do it?
I’m using UB232R for conecting to PC.

Links

Samsung Galaxy Tab GT-P1000

Samsung Galaxy Tab 2 GT-P5100

Samsung Galaxy S II GT-I9100G

Samsung Galaxy Nexus

LG

TI OMAP4430

search for OMAP Flash Loader (Media:omapfl-1.0.tar.gz)
OMAP Flash Recovery Utility

Heimdall

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.
Heimdall gitlab

https://www.hardreset.info/devices/samsung/samsung-p5100-galaxy-tab-2-101/faq/firmware-flash/
Firekit LiveUSB repair kit 1.1- when you’re about to kill Windows


NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.


  • 17Porting Guide
    • 17.2Board configuration

Applicability[edit]

This tool can only be used on Sitara AM35x, AM37x devices.

This article applies to Sitara SDK 5.0.3.x. For SDK 5.0.2 see archived versions section.

1. This Windows XP-based Flash Tool can be used to program MLO, u-boot and kernel to NAND flash.

2. As an alternate method, you can use U-Boot to program MLO, u-boot and kernel to NAND flash.

See How_To_Program_NAND_Flash_Using_U-Boot.

3. File systems must be programmed using Linux kernel commands.


Installation Instructions[edit]

  1. Download 'FlashTool for AM35x, AM37x, DM37x and OMAP35x Devices' from here:

Flash_v1.6.0.0 onto a PC running the Windows XP O/S.

2. Open the downloaded FlashTool_vX.X.X.X zip file and run setup.exe to start the Windows Installer.

3. Follow the installer instructions.

4. The default installation directory is 'C:Program FilesTexas InstrumentsFlash v1.6', but this

can be changed when running the installer.

5. The FlashTool software can be uninstalled at any time by accessing the Add/Remove Programs

function of Windows (Start -> Control Panel -> Add/Remove Programs).

About Flash v1.6[edit]

This page contains a description of a tool – Flash v1.6 – that can be used to transfer binary images

from a host PC to certain TI ARM-based target platforms. The tool consists of two main components:

It is recommended to use the GUI for performing flashing functions. This documentation covers usage

of the GUI. Future documentation will cover the CLI interface in more detail. This application has been

designed with flexibility and portability in mind. It is now possible to modify target register configurations

OmapflashOmap flash download

without rebuilding the tool. This allows for easy modifications to various target peripheral configurations

(such as SDRC, GPMC, Pad Control, etc.). This capability makes it possible to support new DDR devices

and NAND devices without software changes. Check out the section #Porting_Guide for more information

on this feature. Internally, the tool makes use of a ROM code mechanism for peripheral boot from UART

or USB to transfer compatible drivers to the internal memory of the OMAP device. These drivers provide

the mechanism by which the host applications can program binary images into the internal memories

(NAND and SDRAM) of the target. All of this operation is hidden from the user.

Release Notes[edit]

Version 1.6.0.0 (6/24/2011)

New Features

  • Added GUI controls for Target OS and 1-Bit ECC Layout.
  • Set offset to ECC parity data in spare area based on new GUI controls.
  • Added support for ECC offsets used with WinCE for 4/8-bit BCH.
  • Eliminated requirement that image size be a mult of 4 bytes.
  • Added software NAND unlock command.

Limitations

  • Download and execute can only branch to Thumb code


Version 1.5.1.0 (3/25/2011)

New Features

  • Programming flash via UART target connection is now supported.

Limitations

  • Download and execute can only branch to Thumb code


Version 1.5 (3/13/2011)

New Features

  • Added support for programming NAND devices with Internal ECC

Limitations

  • Programming flash via UART target connection is not supported
  • Otherwise, similar functionality to previous releases.


Version 1.4 (2/16/2011)

New Features

  • Added AM35xx and Custom_AM35xx target types
  • Updated 'What's This?' help text for UART and USB target connection types
  • Greyed out 4-bit BCH error correction for OMAP35xx devices (not supported by silicon)

Limitations

On-chip ECC is not supported

  • Programming flash via UART target connection is not supported
  • Otherwise, similar functionality to previous releases.


Version 1.3 (12/23/2010)

New Features
  • GUI updates, including 'What's This?' style help, link to user's guide.
  • Defined Custom target types for AM37xx and OMAP35xx, to allow customers to more easily make

changes for custom boards.

  • Enhanced NAND capabilities: SW vs. HW ECC Selection, 1b/4b/8b Error Correction, ONFI NAND

selection via check box.

Limitations
  • Still no AM35xx support (coming in future release).
  • Otherwise, similar functionality to previous releases.

Version 1.2:

New Features
  • USB Support
  • Can install over previous versions without manual uninstall
  • Selectable NAND vs. ONFI NAND mode
Limitations
  • Same as before

Version 1.1:

New Features
  • OMAP35xx Support.
Limitations
  • Same as before

Version 1.0:

Features
  • UART support
  • AM37xx/DM37xx support
  • Can support new NAND devices via text config file modification.
  • Can modify target registers via text config file modification (for example SDRC, GPMC, pad config

settings)

  • ONFI NAND Support
  • Supported operations: Download, Download and Execute (to Thumb mode code), Erase Region,

Erase All.

  • Windows GUI (no Linux yet).
  • Scriptable Windows CLI (no Linux yet).
  • Fully open source, BSD-style license.
Limitations
  • Download and execute can only branch to Thumb code.
  • Storing images to NAND uses HWECC. Therefore, you cannot use a standard xloader to load uboot

from NAND. Xloader uses SWECC when reading from NAND. The workaround is to use the uboot

provided on the SD card to flash itself into NAND memory.

  • GUI support does not yet exist to define new platforms. However, two memory choices are supplied,

Hynix and Micron. For experimenting with modifications to the configuration text file (for instance, to

port to a new platform) it is recommended that you modify the Micron files (and save a copy if you need

the originals).

Accessing Online Help[edit]

There are two methods to get help from the user interface:

1. Click the 'What's This Do?' Button. This changes the cursor type. Move the cursor over a widget

until you see the cursor change to a question mark. Then, you may click and get context sensitive

help.

2. Click the 'Open User's Guide' Button. This will open your normal HTML browser to the Flash User's

Guide Page (this page).

Setup for USB Peripheral Boot Mode[edit]

1. Ensure that your EVM is set up for peripheral boot from USB.


For Mistral OMAP EVM (AM37x, DM37x or OMAP35xx devices)

  • Set SW4 switches #2 and #3 to the ON position and all others OFF.
  • Connect a USB cable from the board's USB 'On the Go' port to a USB port on the PC.
  • Power on the EVM or press the reset pushbutton (labelled 'OMAP_RST')



For LogicPD AM3517EVM:

  • Set SW7 switches #1 and #4 to the ON position and all others OFF.
  • Connect a USB cable from the board's USB 'On the Go' port to a USB port on the PC.
  • Power on the EVM


2. If this is the first time to connect the EVM to your PC via USB you will need to perform

the following steps to install the required USB driver:

  • You will see the 'Found New Hardware Wizard' dialog box. Select 'No, not this time',

then 'Next'.

  • Select 'Install from a list or specific location (Advanced)'.
  • Use the browse box to select the following folder: <Flash-install-dir>usb_drv_windows.

Normally, the full path will be:

C:Program FilesTexas InstrumentsFlash vX.Xusb_drv_windows.

  • Make sure the box 'search removable media' is unchecked.
  • Make sure the box 'Include this location in the search' is checked.
  • Click Next. The driver should install correctly without error messages.
  • Click Finish to exit the Found New Hardware Wizard.

Setup for UART Peripheral Boot Mode[edit]

1. Ensure that your EVM is set up for peripheral boot from UART.


For Mistral OMAP EVM (Rev G):

  • Set SW4 switches #2 and #4 to the ON position and all others OFF.
  • Connect a 9-pin serial NULL-MODEM cable, from your host PC to the

“UART3” port on the target board.

  • Power on the EVM or press the reset pushbutton (labelled 'OMAP_RST')


For LogicPD AM3517EVM:

  • Set SW7 switches #1 and #4 to the ON position and all others OFF.
  • Connect a 9-pin serial NULL-MODEM cable, from your host PC to the

“UART” port on the target board.

  • Power on the EVM.



Making Binary Images Accessible to the Windows XP O/S[edit]

Omap

The binary images for XLOADER, U-Boot and the Linux Kernel must be made accessible to the

Windows XP O/S. There are a few methods for doing this:

1) If you are running your Linux Host as a virtual machine (using VMWare or using Sun Virtual

Box) you can setup a shared folder that can be accessed by both the Linux Host and the

Windows O/S. (You can also create sub-folders below that as needed - the resulting directory

tree will be accessible to both Linux and Windows.)

See How to Set up a Shared Folder in VMWare or How to Setup a Shared Folder in Virtual Box

for details.

OR


2) You can setup a Samba server that makes a designated location in your Linux Host file system

appear as a drive to the Windows O/S.


The binary images can be copied to the shared folder or be accessed directly via a Samba drive.

1) Pre-built images can be found in the ./psp/prebuilt-images subdirectory of the Sitara SDK installation.

OR

2) Rebuilt images would be found where they were rebuilt under the ./psp subdirectory of the Sitara SDK installation.

Starting the Flash Application[edit]

To start the Flash application under Windows XP:

  • Double click the 'Shortcut to Flash.exe' icon on the desktop

OR

  • Use the Windows Start menu:

'Start -> All Programs -> Texas Instruments -> Flash v1.6 -> Flash.exe'.


Below is a screen capture of Flash_v1.6.0.0 upon startup.

Details about the Flash GUI[edit]

1. CHOOSE TARGET (drop-down box)

This allows selection of pre-defined target configuration files for the different EVM boards. The

target configuration files contain register initialization code that mimics what is performed

by XLOADER to initialize clocks and memory interfaces prior to flash programming. The

following pre-defined EVM configurations and custom configurations are provided. Choose a

a custom target configuration and click the 'Edit Config File' button to view or modify the target

configuration for your custom design. See the Porting Guide section for more information

on how to design a custom target configuration file.

Pre-Defined EVM Target Board Configurations
Target BoardTarget Configuration Description
AM35xx (Micron)LogicPD AM3517EVM with AM3517A SOM and Micron discrete NAND and DDR2 memories
AM37xx (Hynix)Mistral OMAP3 EVM with AM37x or DM37x SOM containing Hynix POP Memory
AM37xx (Micron)Mistral OMAP3 EVM with AM37x or DM37x SOM containing Micron POP Memory
OMAP35xx (Micron)Mistral OMAP3 EVM with OMAP35x SOM containing Micron POP Memory


Custom Target Board Configurations
Target BoardConfiguration Description
Custom AM35xx BoardSame as AM35xx (Micron) - Modify for your custom AM35xx design.
Custom AM37xx BoardSame as AM37xx (Hynix) - Modify for your custom AM37x/DM37x design.
Custom OMAP35xx BoardSame as OMAP35xx (Micron) - Modify for your custom OMAP35xx design.


2. SELECT TARGET CONNECTION TYPE (Radio Buttons)

This allows selection of the target connection. Select USB or UART for communication between

the Host PC and the target board (and also the peripheral boot mode that will be used).

For the UART connection, also select the PC COM port that will be used (typically 1 for COM1).


3. CHOOSE THE DESIRED MEMORY TYPE

This selects the destination memory type. Selecting NAND enables Erase and Download

operations. Selecting SDRAM allows Download and Download and Execute operations.


4. SELECT MEMORY OPTIONS

If you have selected SDRAM, there are no other memory options to select. If you have selected NAND,

choose from the following group of options:

  • ECC STYLE (Radio Buttons)

This selects the method used to generate, check and correct ECC data in the NAND spare area. Choose

HWECC, SWECC or NAND ECC. HWECC uses the GPMC controller to calculate ECC parity and

uses software error detection and correction. SWECC uses software to calculates ECC parity

and to detect and correct errors. NAND ECC uses Internal ECC controller on the NAND device

to calculate ECC parity and to perform error detection and correction. Before NAND is programmed

using NAND ECC mode, the Internal ECC of the NAND device is activated.

When programming XLOADER, always choose HWECC and 1-bit ECC, as this is required by the

Omap Flash Download

ROM Boot Loader. When programming U-Boot or the Linux Kernel the ECC style must be set to be

compatible with the software that will read the downloaded image from NAND.

  • ONFI COMPLIANT NAND? (check box)

Check this box for operations on an ONFI-compliant NAND device. When checked, data specifying

NAND memory geometry and features are read from the NAND device. Otherwise, this data is taken

from the header in the Target Configuration file.

  • ERROR CORRECTION (Radio Buttons)

Select the error correction algorithm that will be used to program the ECC data into the OOB area.

For SWECC ECC format, only 1-Bit ECC (Hamming Code) is allowed. For HWECC ECC format,

1-bit ECC, 4-bit BCH or 8-bit BCH algorithms can be selected. (4-bit BCH is not available for the

OMAP35xx device due to silicon limitations). For NAND ECC mode, the ECC algorithm provided

by the NAND Internal ECC is used.

  • TARGET OS (drop-down box)
    This GUI control shows only when HWECC 4-bit BCH or 8-bit BCH is selected. The ECC Offset

in spare area is changed to 2 if the WinCE Target OS is selected.

  • 1-Bit ECC Layout (drop-down-box)

This GUI control shows only when HWECC 1-bit ECC is selected. Choose 'X-Loader/U-Boot'

when programming XLOADER or U-Boot into NAND. For Linux kernel 2.6.37 or later, you must

change this setting to Kernel when programming the Linux kernel into NAND. This changes

the ECC offset in spare area from 2 to 40, as is needed to be compatible with the JFFS2 NAND

file system. For earlier Linux kernels, 'X-Loader/Uboot' setting should be used for programming

the Linux kernel into NAND.


5. CHOOSE OPERATION PARAMETERS (Radio Buttons)

Select the operation to be performed:

  • DOWNLOAD

Choose this to download a binary image to either NAND or SDRAM.

Before downloading an image to NAND, you must first erase the region where the image will be

downloaded (or Erase All NAND).

Set OFFSET (hexadecimal value) to the offset from the beginning of NAND or SDRAM where the

image will be downloaded.

  • DOWNLOAD AND EXECUTE

Choose this to download a binary image and execute it. Applies to SDRAM as destination only.

Omap Flash Free Download

Supports Thumb Mode ARM code only.

Set OFFSET (hexadecimal value) to the offset from the beginning SDRAM where the image will be

downloaded.

  • ERASE REGION

Choose this to erase a region in NAND flash.

Set OFFSET (hexadecimal value) to offset from beginning of NAND device where erasing begins.

Set SIZE (hexadecimal value) to the number of bytes which will be erased. Use a multiple of the

NAND BLOCK size.

  • ERASE ALL

Choose this to erase the entire NAND flash.


6. IMAGE SELECTION (Edit Box)

For download operations, you must specify the binary image to be downloaded. Click the BROWSE

button to select an XLOADER, U-Boot, Linux Kernel. File systems cannot be programmed to NAND

flash using this Flash Tool. U-Boot should be used to program file systems to NAND flash.


7. GO (Button)

Once you have successfully made your selections, the GO button will be enabled. Click the GO start

execution of the specified operation.

8. ABORT (Button)

Once the operation is in progress, you will have the option of clicking the ABORT button to cancel it.

This would be used if communication with the target device fails or if the target board fails to complete

the peripheral boot process.
9. OUTPUT (Text Window)

While the operation is in progress, status information is output to the OUTPUT text window. First a

message will be displayed to 'Please turn off device' (if powered on) and then 'Please turn on device'.

At this point you can cycle power to the target EVM or (if already powered on) just press the RESET

button on the EVM (For Mistral OMAP3 EVM, use the button labelled 'OMAP_RST', as shown below.)


The Flash Tool will then automatically perform the following operations, as related status information is

displayed in the OUTPUT text window:

  • Read the ASIC ID from the target device
  • Download the '2nd Loader' program' (for communication with Flash Tool)
  • Wait for '2nd Loader' program to start executing on the target board
  • Perform register initializations as specified in the Target Configuration file.
  • Download a software driver for the specific destination memory device
  • Perform the specified Erase or Download operation


If any errors occur, related information will be displayed in the OUTPUT text window. Please cut and

paste the information from the OUTPUT text window if support is needed to diagnose the problem.

10. CLEAR OUTPUT (Button)

At any time, you may clear the OUTPUT text window by clicking the CLEAR OUTPUT button.

Example 1: Flashing the AM/DM37x Evaluation Module[edit]

This example is compatible with the Sitara SDK 5.0.3.x and its u-boot-2011.09-psp04.06.00.03.

and PSP software 04.02.00.07 which is based on the 2.6.37 Linux kernel. Flash Tool settings are shown

for erasing and programming MLO, u-boot and the Linux kernel to NAND flash. It is assumed here that the

image files shown were copied from the AM37x Sitara SDK from the '<SDK-Install-Dir>/board-support/preloaded-images'

folder of the Linux Host. For the AM37x Sitara SDK v5.0.3, the pre-built MLO, u-boot and kernel

images are configured to use the HWECC 1-Bit ECC algorithm. (MLO must always be programmed

into NAND using HWECC 1-Bit ECC as required by the ROM boot loader.)



As an alternative, Erase All could be used instead of the three Erase Region operations below. However,

this would also erase the u-boot parameters partition in NAND. For the erase operations, the ECC

STYLE and ERROR CORRECTION settings are don't cares. They can be left in the default state:

HWECC and 1-bit ECC.


For all of the operations listed below, also use these settings:

CHOOSE TARGET: AM37xx (Hynix)

SELECT TARGET CONNECTION TYPE: USB

CHOOSE THE DESIRED MEMORY TYPE: NAND


Perform NAND ERASE and NAND DOWNLOAD operations using the parameters shown here:

OPERATIONMEMORY OPTIONSOFFSETSIZEIMAGE FILE

Erase Region for MLO

NON-ONFI 0 80000
Download MLO

NON-ONFI,HWECC,1-Bit ECC,

X-loader/u-boot ECC Layout

0 N/AMLO-am37x-evm

Erase Region for u-boot

NON-ONFI 80000 80000
Download u-boot

NON-ONFI,HWECC,1-Bit ECC,

X-Loader/u-boot ECC Layout

80000 N/Au-boot-am37x-evm.img
Erase Region for Linux kernel NON-ONFI

280000

400000

Download Linux kernel

NON-ONFI,HWECC,1-Bit ECC,

Kernel ECC Layout

280000 N/AuImage-am37x-evm.bin


The u-boot-2011.09-psp04.06.00.03 is a mainline SPL/u-boot. MLO and u-boot are built from the same sources. The ability to rebuild the MLO

to load u-boot using 4-bit BCH and 8-bit BCH is coming soon.

Example 2: Flashing the AM3517A Evaluation Module[edit]

This example is compatible with the Sitara SDK 5.0.3.x and its u-boot-2011.09-psp04.06.00.03.

and PSP software 04.02.00.07 which is based on the 2.6.37 Linux kernel. Flash Tool settings are shown

for erasing and programming MLO, u-boot and the Linux kernel to NAND flash. It is assumed here that the

image files shown were copied from the AM3517 Sitara SDK from the '<SDK-Install-Dir>/board-support/preloaded-images'

folder of the Linux Host. For the AM3517 Sitara SDK v5.0.3, the pre-built MLO, u-boot and kernel

images are configured to use the HWECC 1-Bit ECC algorithm. Play gunbound on mac download. (MLO must always be programmed

into NAND using HWECC 1-Bit ECC as required by the ROM boot loader.)



As an alternative, Erase All could be used instead of the three Erase Region operations below.

However this would also erase the U-Boot parameters partition in NAND. For the erase

operations, the ECC STYLE and ERROR CORRECTION settings are don't cares. They can be left

in the default state: HWECC and 1-bit ECC.


For all of the operations listed below, also use these settings:

CHOOSE TARGET: AM35xx (Micron)

SELECT TARGET CONNECTION TYPE: USB

CHOOSE THE DESIRED MEMORY TYPE: NAND

Perform NAND ERASE and NAND DOWNLOAD operations using the parameters shown here:

OPERATIONMEMORY OPTIONSOFFSETSIZEIMAGE FILE

Erase Region for MLO

ONFI 0 80000
Download MLO

ONFI,HWECC,1-Bit ECC,

X-loader/U-Boot ECC Layout

0 N/AMLO-am3517-evm

Erase Region for u-boot

ONFI 80000 80000
Download u-boot

ONFI,HWECC,1-Bit ECC,

X-Loader/U-Boot ECC Layout

80000 N/Au-boot-am3517-evm.img
Erase Region for Linux kernel ONFI

280000

400000

Download Linux kernel

ONFI,HWECC,1-Bit ECC,

Kernel ECC Layout

280000 N/AuImage-am3517-evm.bin


The u-boot-2011.09-psp04.06.00.03 is a mainline SPL/u-boot. MLO and u-boot are built from the same sources. The ability to rebuild the MLO

to load u-boot using 4-bit BCH and 8-bit BCH is coming soon.


Rebuilding to Change from the Default ECC Scheme[edit]

For Sitara SDK 5.0.3.x this feature is coming soon.

After Programming Flash: Set EVM for NAND Boot Mode[edit]

After flash programming has been completed, you need to change the EVM to NAND boot mode

to execute the x-loader and u-boot binaries at boot up from NAND flash.


For Mistral OMAP EVM (AM37x, DM37x or OMAP35xx devices)

  • Set SW4 switches #2 and #4 to the ON position and all others OFF. (UART3, NAND boot order)
  • OR set SW4 switches #2, #4 and #6 to the ON position and all others OFF. (NAND, UART3 boot order)
  • Power cycle the EVM


For LogicPD AM3517EVM:

  • Set SW7 switches ALL to the OFF position. (NAND, EMAC, USB, MMC1 boot order)
  • Power cycle the EVM

Flash v1.6 (Information for Developers)[edit]

  • Source Code SVN repository is located on GForge in project Flash (https://gforge.ti.com/gf/project/flash)
  • You can jump directly to this page from the Flash GUI by clicking the 'Developers Welcome!' button.

Feedback[edit]

Several options exist for feedback:

  • Leave comments using the link at the bottom of the page. For any error conditions, please

copy and paste the text in the output box into the body of the email. Also, identify your

target board, processor, and memory types. Provide a synopsis of what you are trying to do.

  • Join the mailing list ([email protected])
  • Join the development effort via the GForge page, and provide feedback there.

Porting Guide[edit]

[Remainder of document intended for advanced users]

This is a small porting guide for Flash. It contains an introduction to the modifications that may be necessary in order to get Flash working on a new board or with a new memory device.

Porting to a new platform[edit]

In general, porting to a new platform should not require the modification or recompilation of the code base. The starting point will be to create a board configuration file for the new platform.

Existing board configuration files are found in .TargetsConfigurations. In order to add support for a new platform it is recommended to modify configuration_custom_am37xx.txt (used when selecting target 'Custom AM37XX Board') or configuration_custom_omap35xx.txt (used when selecting target 'Custom OMAP35xx Board'.

Once the board configuration file has been created, it will need to be added to the content of omapflash2nd.txt, present in the application installation folder. (NOTE: in the case of the prebuilt custom files, this is already done for you). This file allows Flash to find the board configuration file. When modifying the file, simply add a new line to it:

where <platform> is the platform name (use a new name for the new platform), <omap id> is an id number provided by the OMAP device during peripheral boot over UART or USB along with the <omap version> number, <omap type> specifies whether the OMAP detected should be a High Security 'HS' or General Purpose 'GP' type, <second loader file> specifies the second loader to use with the combination of <platform>, <omap id>, <omap version> and <omap type> and the <board configuration file> is the newly added board configuration.

An example could be:

Note that the installation currently comes with second loaders supporting memory sizes of 2 Gb, 4 Gb and 8 Gb for GP and HS devices:

The reason for this is that there is a link-time dependency on the placement of the heap and external memory for the memory device drivers in SDRAM and on the location of the second loader components in internal memory between HS and GP devices. Pick the right one - e.g. if you have a 4 Gbit memory on an OMAP3 GP based board, use 'dnld_startup_omap3_gp_4g.2nd'.

Board configuration[edit]

In order to create the new file it is often useful to start with a copy of one of the existing files. The file has three main sections:

  1. 'use' directive, pointing to a definition file listing a number of OMAP registers and their addresses
  2. 'memory' directives, specifying the memories on the platform
  3. initialization commands, modifying registers to control the configuration of the OMAP to match the platform

Definitions[edit]

A 'use' directive can be used to point to a device definition file, e.g.:

Only one definition file can be used and it must be indicated before the first element using its definitions occurs in the configuration file. The device definition file basically holds a set of paired of labels and values. The labels can be used in the device configuration file in place of the values in order to make the device configuration file more readable. The syntax is as follows:

A maximum of 1000 definition pairs can be present in a definition file.

Memories[edit]

Memories are specified using the 'memory' directive:

An example of a memory specification could be:

where the device name is NAND and the driver required to access it is present in the binary file nand_onfi_16bit_8bit.bin (part of this distribution). The driver needs a number of configuration parameters for correct operation. These are passed directly to driver as written on the line following the 'parameters' keyword. This distribution contains a number of driver binaries for various memory types. At present these are:

For SDRAM, no driver is required, but the memory type must be specified with one parameter stating the base address in the memory map, e.g.:

Initialization of Target Device[edit]

A number of register operation commands can be used to configure the target device:

  • WRITE - Write a value to a register
  • MODIFY - Modify the value of a register
  • POLL_ZERO - Poll a register value until zero
  • POLL_NZERO - Poll a register value until not zero
  • POLL_VALUE - Poll a register until value
  • WAIT_N - Loop n times in a simple while-loop (where n is a value from 0x0000 to 0xFFFF)
  • SPIN - Loop forever. This may be used for debugging.
  • MODE_16 - Use 16 bit register access mode
  • MODE_32 - Use 32 bit register access mode

The command structures are:

  • WRITE : WRITE REGISTER VALUE
  • MODIFY : MODIFY REGISTER MASK VALUE
  • POLL_ZERO : POLL_ZERO REGISTER MASK
  • POLL_NZERO : POLL_NZERO REGISTER MASK
  • POLL_VALUE : POLL_VAL REGISTER MASK VALUE
  • WAIT_N : WAIT_N N
  • SPIN : SPIN
  • MODE_16 : MODE_16
  • MODE_32 : MODE_32

The definitions included from a definition file specified in a 'use' directive can be used with the commands. Definitions can be used for registers, values and masks, e.g.:

Archived Versions[edit]

AM35x/AM37x Flash Tool User's Guide for Sitara SDK 5.0.2 (Archived)


{{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Flash v1.6 User Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Flash v1.6 User Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Flash v1.6 User Guide here.DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Flash v1.6 User Guide here.MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Flash v1.6 User Guide here.OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Flash v1.6 User Guide here.OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Flash v1.6 User Guide here.MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Flash v1.6 User Guide here.For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Flash v1.6 User Guide here.

}}

Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity

Retrieved from 'https://processors.wiki.ti.com/index.php?title=Flash_v1.6_User_Guide&oldid=114147'