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.

OMAP L138 sfh_OMAP-L138.exe

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

hello

I use omap l138 LogicPD board and I'm looking for the sfh_OMAP-L138.exe and the ubl to program the SPI Flash over UART

This two files are not included in the PSP , what I have there is spiflash-writer.out and arm-spi-ais.bin under PSP-SDK/DaVinci-PSP-SDK-03.20.00.11/images/.....

where I can get the  sfh_OMAP-L138.exe for ubuntu 9.10 or for Windows XP?

where I get ubl file for spi flash?

I try to use this link for building the sfh_OMAP-L138.exe:

http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

on my ubuntu host:

make

then I get error:

shaul@shaul-desktop:~/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138$ make
make -C GNU all
make[1]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU'
make[2]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils'
make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra'
make -C src
make[4]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra/src'
make[3]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra'
make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/HexAIS'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/HexAIS'
make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/UartHost_GUI'
MSBuild.exe UartHost_GUI.sln /t:Rebuild
make[3]: MSBuild.exe: Command not found
make[3]: *** [all] Error 127

Thanks for any help

Shaul

 

 

 

 

 

  • shauly said:

    where I can get the  sfh_OMAP-L138.exe for ubuntu 9.10 or for Windows XP?

    I try to use this link for building the sfh_OMAP-L138.exe:

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    on my ubuntu host:

    make

    then I get error:

    shaul@shaul-desktop:~/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138$ make
    make -C GNU all
    make[1]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU'
    make[2]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils'
    make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra'
    make -C src
    make[4]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra/src'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra/src'
    make[3]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/AISextra'
    make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/HexAIS'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/HexAIS'
    make[3]: Entering directory `/home/shaul/omap_l138/OMAP-L138_FlashAndBootUtils_2_25/OMAP-L138/GNU/AISUtils/UartHost_GUI'
    MSBuild.exe UartHost_GUI.sln /t:Rebuild
    make[3]: MSBuild.exe: Command not found
    make[3]: *** [all] Error 127

    Thanks for any help

    Shaul

    This application will not run in Linux, my it will run in Windows XP.

    shauly said:
    where I get ublfile for spi flash?

    shauly said:
    This two files are not included in the PSP , what I have there isspiflash-writer.out and arm-spi-ais.bin under PSP-SDK/DaVinci-PSP-SDK-03.20.00.11/images/.....

    Please see:

    http://processors.wiki.ti.com/index.php/GSG:_OMAP-L138_DVEVM_Additional_Procedures#Flashing_images_to_SPI_Flash

    In the page above, the "ARM AIS image" refers to the ubl.

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1#Rebuilding_the_SPI_Flash_writer

     

     

     

  • Mariana,

    Thanks for answer

    Is this mean that i need to create the sfh_OMAP-L138.exe and ubl as it shown in the link you sent me?

    There isn't a ready one...?



     

     

  • O.K. its solved

    Works under Windows only…

    the files can be found at:

    OMAP-L138_FlashAndBootUtils_2_25/OMAP_L138/GNU/sfh_OMAP-L138.exe

    PSP....../imegs/boot-strap/omapl1x8/arm-spi-ais.bin

    C:\Temp>sfh_OMAP-L138.exe -flash arm-spi-ais.bin u-boot_shaul.bin   

    -----------------------------------------------------

       TI Serial Flasher Host Program for OMAP-L138

       (C) 2010, Texas Instruments, Inc.

       Ver. 1.67

    -----------------------------------------------------

     

    Platform is Windows.

          [TYPE] UBL and application image

           [UBL] arm-spi-ais.bin

     [APP IMAGE] u-boot_shaul.bin

        [TARGET] OMAPL138

        [DEVICE] SPI_MEM

    Attempting to connect to device COM1...

    Access to the port 'COM1' is denied.

    This application failed to open the COM port.

    Most likely it is in use by some other application.

    C:\Temp>sfh_OMAP-L138.exe -flash arm-spi-ais.bin u-boot_shaul.bin

    -----------------------------------------------------

       TI Serial Flasher Host Program for OMAP-L138

       (C) 2010, Texas Instruments, Inc.

       Ver. 1.67

    -----------------------------------------------------

     

    Platform is Windows.

          [TYPE] UBL and application image

           [UBL] arm-spi-ais.bin

     [APP IMAGE] u-boot_shaul.bin

        [TARGET] OMAPL138

        [DEVICE] SPI_MEM

    Attempting to connect to device COM1...

    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 9340-Byte section to address 0x80000000.

    (AIS Parse): Processing command 1: 0x58535901.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Loading section...

    (AIS Parse): Loaded 812-Byte section to address 0x8000247C.

    (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 arm-spi-ais.bin (8668 bytes) at 0x00000000

    Waiting for SENDIMG sequence...

     100% [ ████████████████████████████████████████████████████████████ ]

                      Image data transmitted over UART.

     100% [ ████████████████████████████████████████████████████████████ ]

                           UBL programming complete

    Flashing application u-boot_shaul.bin (157048 bytes) at 0x00010000

    Waiting for SENDIMG sequence...

     100% [ ████████████████████████████████████████████████████████████ ]

                      Image data transmitted over UART.

     100% [ ████████████████████████████████████████████████████████████ ]

                       Application programming complete

    Operation completed successfully.

    C:\Temp>

    Then set the dip switch to boot from SPI ….and reset the evm

    U-Boot >

    Booting with TI UBL

    Device OPP (300MHz, 1.2V)

    U-Boot 2009.11 (Jul 28 2010 - 13:00:45)

     *******  Shaul U-Boot  *******

    I2C:   ready

    DRAM:  64 MB

    In:    serial

    Out:   serial

    Err:   serial

    ARM Clock : 300000000 Hz

    DDR Clock : 132000000 Hz

    Net:   No ETH PHY detected!!!

    Hit any key to stop autoboot:  0

    U-Boot >