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.

AM5728: RTOS installation issue

Other Parts Discussed in Thread: AM5728

Hi,

I'm using am5728 processor for my project and developing diagnostic applications using ti-processor-sdk-rtos-am57xx-evm-03.00.00.04-Linux-x86-Install.bin. But facing problem installation of the same when i'm trying to run .bin using " ./  " nothing is acknowledging.

Note: Just now installed linux 14.04 OS on my host.

BR

Chethan

  • The RTOS team have been notified. They will respond directly here.
  • Hi,

    No response from RTOS team so far!!!! Somehow i managed to install the sdk-rtos now i'm facing issue with environment setup and compiling the same, as per processors.wiki.ti.com/.../Rebuilding_The_PDK and processors.wiki.ti.com/.../Processor_SDK_RTOS_Building_The_SDK link trying to build the environment but getting annoying error somehow i manged to fix the errors. But this error i can't find any solution please guide me how can i proceed further.

    home/chethan/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl -ppd=/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/binary/ti/csl/obj/am572x/m4/release/.deps/csl_device_xbar.P -g -ms -DMAKEFILE_BUILD -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 --symdebug:dwarf --embed_inline_assembly --emit_warnings_as_errors -ms -oe -O3 -op0 -os --optimize_with_debug --inline_recursion_limit=20 -DBUILD_IPU1_0 -DBUILD_IPU1 -DSOC_AM572x -I/home/chethan/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include -I. -I./soc/am572x/src -I./arch/m4 -Isrc/ip/dcan/V0 -I. -Isrc/ip/dcan/V0/V0_0 -I. -Isrc/ip/edma/V1 -I. -Isrc/ip/edma/V0 -I. -Isrc/ip/elm/V0 -I. -Isrc/ip/gpio/V1 -I. -Isrc/ip/gpmc/V1 -I. -Isrc/ip/i2c/V2 -Isrc/ip/l3fw/V0 -I. -Isrc/ip/mailbox/V0 -Isrc/ip/mailbox/V0/V0_0 -I. -Isrc/ip/mcasp/V0 -I. -Isrc/ip/mcspi/V0 -I. -Isrc/ip/mmc/V0 -I. -Isrc/ip/pcie/V1 -I. -Isrc/ip/qspi/V1 -I. -Isrc/ip/spinlock/V0 -I. -Isrc/ip/timer/V1 -I. -Isrc/ip/uart/V1 -I. -Isrc/ip/wd_timer/V0 -Isrc/ip/tsc/V0 -Isrc/ip/chip/V0 -Isrc/ip/ecap/V0 -I. -Isrc/ip/ecap/V0 -I/home/chethan/ti/pdk_am57xx_1_0_3/packages -I/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl -I/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl -fr=/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/binary/ti/csl/obj/am572x/m4/release -fs=/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/binary/ti/csl/obj/am572x/m4/release -fc ./soc/am572x/src/csl_device_xbar.c
    make[5]: /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl: Command not found
    make[5]: *** [/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/binary/ti/csl/obj/am572x/m4/release/csl_device_xbar.oem4] Error 127
    make[5]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl'
    make[4]: *** [csl] Error 2
    make[4]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl'
    make[3]: *** [little_lib] Error 2
    make[3]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl'
    make[2]: *** [ipu1_0_lib] Error 2
    make[2]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl'
    make[1]: *** [am572x_lib] Error 2
    make[1]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_3/packages/ti/csl'
    make: *** [csl] Error 2



    Thanks
    Chethan
  • Chethan,

    Sorry about the delayed response on this thread.

    As the build error indicates the build files are unable to locate the M4 compiler in the path that you have specified. Can you confirm that you have the armcl binary in the path /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/.

    Did you install CCS along with the TI ARM compiler for M4 as specified in the Processor SDK RTOS Getting started guide
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide

    Regards,
    Rahul

  • Hi rahul,

        Thank you for reply!!!!! I have installed CCSv6 on PC and installed all packages for the same. If i want to develop diagnostic applications on Linux PC can i build SDK in linux or should i build on Windows PC first.

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Building_The_SDK

    BR

    Chethan

  • Hi Rahul,

    While installing and sdk environment set up in linux i'm encountering lots of errors, i don't know where i'm doing mistakes. Please guide me it's kind of urgent. While compiling i'm getting error below, as per below /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x: Command not found but i'm sure that in ti/ directory contains the compiler package with that .exe

    /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c --strip_coff_underscore -mo -o3 -q -k -eo.o -Dnull -mv6600 --abi=eabi -DSOC_AM572x -I./src/intc -I. -Dti_targets_elf_C66 -DMAKEFILE_BUILD -eo.oe66 -ea.se66 -fr=lib/am572x//c66/obj/src/intc -fs=lib/am572x//c66/obj/src/intc -ppa -ppd=lib/am572x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66.dep -I. -I/home/chethan/ti/xdctools_3_32_00_06_core/packages -I/home/chethan/ti/bios_6_45_01_29/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl/src/ip/i2c/V2 -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl/arch/m4 -I/home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include -fc src/intc/_csl_intcCombEventDispatcher.c
    make[3]: /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x: Command not found
    make[3]: *** [lib/am572x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66] Error 127
    make[3]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl'
    make[2]: *** [lib/am572x/c66/ti.csl.intc.ae66] Error 2
    make[2]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl'
    make[1]: *** [csl] Error 2
    make[1]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages'
    make: *** [pdk] Error 2


    BR
    Chethan
  • Chethan,

    Is this issue resolved? Please don`t mark e2e threads verified until your issues are resolved as the threads are closed when the answer is verified. If you mark queries as verified then make sure to post a new post or reject the answer and reopen the thread.

    As with the M4 compiler, I am fairly certain this is a build environment setup issue. If the binary is available, I would check the permissions to make sure you have execute permissions on that binary. I can`t think of any other condition under which the build would report this issue.

    Regards,
    Rahul
  • Hi Rahul,

      Yes the issue is resolved i made small mistake.I built sdk_rtos successfully.

    Now i'm in custom application development stage, but stuck in middle. Can you help with this.

    1. As gone through example codes within /ti/pdk_am57xx_1_0_3/packages/ti/board/diag there are some mandatory lines of code are added within main() functions, can add directly those lines within my main() function??

    2. In one the website suggesting to generate Custom Board Library using TI PIN MUX tool, i'm confused where copy to this files within the sdk_rtos in linux environment.

    http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_Board_Support#Creating

    Thanks

    Chethan

  • Chethan,

    The way the processor SDK RTOS software is built, all of the underlying board related configurations are confined to the board library so when you migrate to a custom hardware, you need to add all the pinmux, clocking, DDR, external component configuration to the board library. Diagnostics, Secondary bootloader and other PDK examples use Board_init call at the begining of main to initialize the underlying hardware.

    We have the steps to migrate to a custom platform archived in Section 9 of the Processor SDK RTOS training slides here:

    The slides provide visualization and file names where the pinmux cconfiguration needs to be added.

    I hope this helps.

    Regards,

    Rahul

  • Rahul,

    That tutorial video will gonna help me!!! thanks a lot.

    Just now i developed a simple gpio_toggle application,within the code main() function with necessary statements for board configs,init and toggle function call are added. I made single source file in that macro defined with a gpio pin and used GPIO_write() API to do toggle operation, is this ok or should i take care of something???? I did this so far and code compiled successfully and i find the exe in ../../bin directory. 

    As you mentioned above i didn't take care of pinmux,clocking,DDR etc so my understanding is this code will work on evmAM572x right?? To make it work i should follow those mandatory pinmux,clocking and DDR stuffs. am i right??

    Also what about device drivers if my apps works with?? Please explain

    Thanks

    Chethan

  • Hi,Chethan,
    how do you solve this issue ? can you show me in detail ? thank you very much.
    home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -c --strip_coff_underscore -mo -o3 -q -k -eo.o -Dnull -mv6600 --abi=eabi -DSOC_AM572x -I./src/intc -I. -Dti_targets_elf_C66 -DMAKEFILE_BUILD -eo.oe66 -ea.se66 -fr=lib/am572x//c66/obj/src/intc -fs=lib/am572x//c66/obj/src/intc -ppa -ppd=lib/am572x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66.dep -I. -I/home/chethan/ti/xdctools_3_32_00_06_core/packages -I/home/chethan/ti/bios_6_45_01_29/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl/src/ip/i2c/V2 -I/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl/arch/m4 -I/home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include -fc src/intc/_csl_intcCombEventDispatcher.c
    make[3]: /home/chethan/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x: Command not found
    make[3]: *** [lib/am572x//c66/obj/src/intc/_csl_intcCombEventDispatcher.oe66] Error 127
    make[3]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl'
    make[2]: *** [lib/am572x/c66/ti.csl.intc.ae66] Error 2
    make[2]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages/ti/csl'
    make[1]: *** [csl] Error 2
    make[1]: Leaving directory `/home/chethan/ti/pdk_am57xx_1_0_2/packages'
    make: *** [pdk] Error 2
  • Hi,

       What is your ccs version make it ccsv6.1.2 or ccsv6.1.3. If this not working install freshly ccsv6 on your system and copy the complete installed ccsv6 folder in sdk_pdk folder.

    Thanks,

    Chethan

  • Chethan,

    Glad it helped. 

    Yes the PDK examples provided in the Processor SDK RTOS has been validated on evmAM572x and the GPIO toggle example should work on your EVM. If you link to the board library for evmAM572x then you may not be required to do additional pinmux changes unless the GPIO pin that you are toggling has been set to some other function.

    There is a GPIO LED blink examples in the PDK  which you can refer. The example can be created using steps described here:

    pdkProjectCreate AM572x evmAM572x little gpio arm

    Refer:  

    The source for the example is available here:

    C:\ti\PROCSDK_304\pdk_am57xx_1_0_3\packages\ti\drv\gpio\example\led_blink

    The above example is TI RTOS based example. If you wish to create a non-OS bare-metal example then refer to the example 

    pdk_am57xx_1_0_3\packages\ti\board\diag\led

    There is no need to change anything in the device drivers except for the <module>_soc.c file which provides the hardware attributes that get used by the device driver.

    For example for GPIO, you may need to modify GPIO_soc.c file which sets up the instance, interrupts and module register base addresses for the SOC.

    Regards,

    Rahul

  • Hello Chethan,

    I am having the same problem now with Ubuntu 14.04.1. I run the .bin install program like you do,

         ././ti-processor-sdk-rtos-am57xx-evm-03.02.00.05-Linux-x86-Install.bin

    And it just returns to the command line prompt.

    What did you do to fix this problem?

    Thanks

  • Of course I just figured it out, because the same problem happened with a Code Composer install.
    I linked to section 1.5 in this URL,

    processors.wiki.ti.com/.../FAQ_-_CCSv6

    And in the '1.5 Q: On Linux the installer just exits without doing anything, why is this?' URL, which is here,

    processors.wiki.ti.com/.../Linux_Host_Support_CCSv6

    I followed the instructions for some updates and additions for 'Ubuntu 14.04 64bit.'
    That resolved the problem for the Code Composer and TI-RTOS install binaries.
    Regards
  • Thanks a lot for reporting how you figure it out....we always appreciate all the questions/replies from the community/engineers.
  • This information is documented in the SDK Release Notes :
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Release_Notes