This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

u-boot problem. OMAP-L138-LCDK

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

I am using a Windows System. I am trying to restore the NAND flash, which i destroyed accidentally.

here is what I have done.

1. install linux ubuntu and get the u-boot-lcdk-ais.bin.  copy it to my computer under windows. this file is 351 KB in windows file system.

2. I obtainted the ubl file for NAND flash from TI. The file is  ubl_OMAPL138_LCDK_NAND.bin. this file is 13 KB in windows file system.

3. I re-erased the NAND flash as follows:

sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p COM23 -erase

4. I re-flashed the NAND flash.

sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p COM23 -flash ubl_OMAPL138_LCDK_NAND.bin u-boot-lcdk_ais.bin

 

Here are the screen outputs:

 

C:\Users\TOSHIBA\Documents\Shen Karlsruhe\Hs Karlsruhe\WS 12-13\Project\restore uboot>sfh_OMAP-L138.exe -targettype OMAPL138_LCDK -flashtype NAND -p COM23 -flas h  ubl_OMAPL138_LCDK_NAND.bin u-boot-lcdk_ais.bin

-----------------------------------------------------    TI Serial Flasher Host Program for OMAP-L138    (C) 2012, Texas Instruments, Inc.    Ver. 1.67 -----------------------------------------------------

      [TYPE] UBL and application image        [UBL] ubl_OMAPL138_LCDK_NAND.bin  [APP IMAGE] u-boot-lcdk_ais.bin     [TARGET] OMAPL138_LCDK     [DEVICE] NAND     [NAND Block] 1

Attempting to connect to device COM23... Press any key to end this program at any time.

(AIS Parse): Read magic word 0x41504954. (AIS Parse): Waiting for BOOTME... (power on or reset target now) (AIS Parse): BOOTME received! (AIS Parse): Performing Start-Word Sync... (AIS Parse): Performing Ping Opcode Sync... (AIS Parse): Processing command 0: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 14372-Byte section to address 0x80000000. (AIS Parse): Processing command 1: 0x58535901. (AIS Parse): Performing Opcode Sync... (AIS Parse): Loading section... (AIS Parse): Loaded 1324-Byte section to address 0x80003824. (AIS Parse): Processing command 2: 0x58535906. (AIS Parse): Performing Opcode Sync... (AIS Parse): Performing jump and close... (AIS Parse): AIS complete. Jump to address 0x80000000. (AIS Parse): Waiting for DONE... (AIS Parse): Boot completed successfully.

Waiting for SFT on the OMAP-L138...

Flashing UBL ubl_OMAPL138_LCDK_NAND.bin (13260 bytes) at 0x00000000

 100% [ ████████████████████████████████████                   Image data transmitted over UART.

 100% [ ████████████████████████████████████                        UBL programming complete

Flashing application u-boot-lcdk_ais.bin (358504 bytes)

 100% [ ████████████████████████████████████                   Image data transmitted over UART.

 100% [ ████████████████████████████████████                    Application programming complete

Operation completed successfully.

 

5. I try to boot from the NAND flash using Tera Terminal, here is the screen outputs:

 

OMAP-L138 LCDK initialization passed!

 Booting TI User Boot Loader

UBL Version: 1.65        

UBL Flashtype: NAND Starting NAND

Copy... Valid magicnum, 0x55424CBB, found in block 0x00000006.   

DONE Jumping to entry point at 0xC1080000.

Did I succeed in U-boot or not?