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.

Need linux booting help for OMAPL137

Other Parts Discussed in Thread: CCSTUDIO, OMAP-L137, OMAP-L138

Hi

Team.

I am a newbie for porting of linux on OMAPL137!

I request to provide the appropriate links and guides to be followed for booting linux on arm of OMAPL137

We have only UART enabled on our board Is it possible to boot linux on omapl137 using uart alone.

Need the appropriate links and procedure and the links of linux source,cross compiler, rootfs code download folder path to be downlaoded!!

Thank you

Deepak R

  • Yes, using UART, you can flash the binaries to boot the Linux on OMAPL137.
    What is your board, custom or EVM board ?

    Also, I have got the Linux boot questions so many times from company "QUESTGLOBAL" for OMAPL137 board.
    Please work with your team and avoid creating multiple posts.
    Thanks for your understanding.

    We do have lot of TI wikis and user guide for Linux booting, you can search in google.
    Please let us know if you face any issues while proceed.

    processors.wiki.ti.com/.../Getting_Started_Guide_for_OMAP-L137
    processors.wiki.ti.com/.../OMAP-L137_Software_Design_Guide
    processors.wiki.ti.com/.../Flashing_OMAP-L137_Bootloaders
    wiki.tiprocessors.com/.../MontaVista_Linux_PSP_for_OMAP-L137
  • Hi

    Thank for your reply

    I am following the user guide present in the docs folder present in

    C:\Users\1011763\Desktop\REL_LSP_02_20_00_05\PSP_02_20_00_05\docs

    As trying to build the flash writer  using ccs

    Use the following steps to build an SPI Flash writer using CCStudio v3.3:

    1) Run CCStudio v3.3.

    2) From the menus, choose Project->Open.

    3) Browse to the REL_LSP_02_20_#_#/PSP_02_20_#_#/

    board_utilities/flash_writers/spiflash_writer/ccsv3.3 directory, and

    open the spiflash_writer.pjt project.

    4) From the menus, choose Project->Build. The spiflash_writer.out

    build image is placed in the spiflash_writer/ccsv3.3/Debug directory

    When I try to execute the 4th step mentioned I am getting this error

    Kindly let me know what is causing this and how to add the file if its not present.

    I have not modified anything I have just taken the code and tried building it

    Attached image for reference

    Thank you


  • Use the following steps to build an SPI Flash writer using CCStudio v3.3:

    1) Run CCStudio v3.3.

    CCS IDE seems to be not a CCSv3.3 but latest one.

    I think, you are using the latest CGT (code generation tools) which may not support the older CCS writers, can you please try to use the CGT version 7.4.4
    Let me try to reproduce the issue using the latest CGT.
  • Hi
    We have a legacy import option that in the new compiler so that we can import CCSV3 in Project->Import Legacy CCSv3.3 Projects
    I have used that option!

    I am pretty confident its not the problem of the CGT!
    Kindly let me know your results on latest CGT!

    Thank You
    Deepak R
  • Seems you are using the old flash utils.
    Can you please use the latest one ?
    Download the OMAPL137 flash and boot utils.
    sourceforge.net/.../

    Once installed, you can import the below location to get the SPI writer into CCS.
    C:\ti\OMAP-L137_FlashAndBootUtils_2_40\OMAP-L137\CCS\SPIWriter
    I'm able to build this writer project in latest CCS.
    Please let me know if any issues.


    Build Log:

    **** Build of configuration Debug for project SPIWriter_DSP ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/src/debug.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="debug.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/src/debug.c"
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/src/debug.c'
    ' '
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="device.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device.c"
    "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device.c", line 95: warning: function "LOCAL_getOPP" was declared but never referenced
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device.c'
    ' '
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device_spi.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="device_spi.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device_spi.c"
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/src/device_spi.c'
    ' '
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="spi.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi.c"
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi.c'
    ' '
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi_mem.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="spi_mem.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi_mem.c"
    "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi_mem.c", line 423: warning: function declared implicitly
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/src/spi_mem.c'
    ' '
    'Building file: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/src/util.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="util.pp" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/src/util.c"
    'Finished building: C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/src/util.c'
    ' '
    'Building file: C:/Users/10607926/Downloads/SPIWriter/SPIWriter/src/spiwriter.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --include_path="C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" --include_path="C:/Users/10607926/Downloads/SPIWriter/SPIWriter/include" --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ccs/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/drivers/include" --include_path="C:/ti/OMAP-L138_FlashAndBootUtils_2.40/Common/ubl/include" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" --preproc_with_compile --preproc_dependency="src/spiwriter.pp" "C:/Users/10607926/Downloads/SPIWriter/SPIWriter/src/spiwriter.c"
    "C:/Users/10607926/Downloads/SPIWriter/SPIWriter/src/spiwriter.c", line 140: warning: variable "status" was declared but never referenced
    'Finished building: C:/Users/10607926/Downloads/SPIWriter/SPIWriter/src/spiwriter.c'
    ' '
    'Building target: C:/Users/10607926/Downloads/SPIWriter/SPIWriter/SPIWriter_DSP/../../../../OMAP-L138/CCS/SPIWriter/DSP/SPIWriter_OMAP-L138.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6740 -g --define="_DEBUG" --define="SKIP_LOW_LEVEL_INIT" --diag_warning=225 --mem_model:data=far --abi=coffabi --obj_directory="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP" -z -m"C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/SPIWriter_OMAP-L138.map" --warn_sections -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/lib" -i"C:/ti/ccsv6/tools/compiler/c6000_7.4.14/include" -i"C:/Users/10607926/Downloads/SPIWriter/SPIWriter/SPIWriter_DSP" -i"C:/Users/10607926/OMAP-L138/CCS/SPIWriter" -i"/lib" --reread_libs --xml_link_info="C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/SPIWriter_OMAP-L138_linkInfo.xml" --ram_model -o "C:/Users/10607926/Downloads/SPIWriter/SPIWriter/SPIWriter_DSP/../../../../OMAP-L138/CCS/SPIWriter/DSP/SPIWriter_OMAP-L138.out" "C:/ti/OMAP-L138_FlashAndBootUtils_2.40/OMAP-L138/CCS/SPIWriter/SPIWriter_DSP.cmd" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/debug.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/device.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/device_spi.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/spi.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/spi_mem.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/util.obj" "C:/Users/10607926/OMAP-L138/CCS/SPIWriter/DSP/spiwriter.obj"
    <Linking>
    'Finished building target: C:/Users/10607926/Downloads/SPIWriter/SPIWriter/SPIWriter_DSP/../../../../OMAP-L138/CCS/SPIWriter/DSP/SPIWriter_OMAP-L138.out'
    ' '

    **** Build Finished ****
  • Thanks stalin for your support
    Hope i got a reliable answer! I would try and get back

    Thank you
    Deepak.R