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.

DRA821U: OSPI boot is currently not functional for J721E, the alternative is to use CCS Boot. See (here), how about J7200?

Part Number: DRA821U

Hi.

According this doc: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j7200/07_03_00_07/exports/docs/gateway-demos/docs/Can-Eth-User_Guide.html#building_all_demo

There is a sentence: OSPI boot is currently not functional for J721E, the alternative is to use CCS Boot. See (here)

What I want to know is:

Can you confirm if OSPI Flash be able to test on the J7200 EVM?

THanks.

BR Rio

  • Hi Rio,

    The comment in the documentation is only relevant to the Gateway demo, OSPI boot otherwise is functional. The issue is that with Gateway demo we saw issues when booting from OSPI.

    Are you talking only from the point of view of the Gateway demo or in general?

    Regards

    Karan

  • Hi Karan:

    Here is my thinking when I saw this Doc:

    #1. If this doc is aiming the ETH/CAN demo, why it needs to mention the OSPI boot?

          Is this demo only working within OSPI boot?

    #2. If the OSPI boot is necessary, then, we need to ask if the OSPI boot is working on J7200.

          if the OSPI boot is not necessary, can we skip the OSPI boot section and directly to forward testing the ETH / CAN according this doc?

    BR Rio

  • Hi Rio,

    #1. If this doc is aiming the ETH/CAN demo, why it needs to mention the OSPI boot?

          Is this demo only working within OSPI boot?

    The demo is only talking about The ETH/CAN gateway demo and it mentions about the OSPI boot mode as this was a supported boot mode for this demo before.

    #2. If the OSPI boot is necessary, then, we need to ask if the OSPI boot is working on J7200.

          if the OSPI boot is not necessary, can we skip the OSPI boot section and directly to forward testing the ETH / CAN according this doc?

    Correct, you can skip the section and test it using CCS as mentioned in the demo, see section under "CCS Boot".

    Regards

    Karan

  • Hi Karan:

    Okay, thanks, I understand 100% now.

    BR Rio

  • Hi Karan:

    The doc said this cmd:

    make -s can_traffic_generator_app BOARD=j721e_evm CORE=mcu1_0

    Now, I test with this cmd for J7200
    make -s can_traffic_generator_app BOARD=j7200_evm CORE=mcu1_0

    And it gives me the error below, how to solve it?

    BR Rio

    error: unresolved symbols remain
    error: errors encountered during linking;
    "/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos/binary/can_t
    raffic_generator_app/bin/j7200_evm/can_traffic_generator_app_mcu1_0_release.
    xer5f" not built

    >> Compilation failure
    /opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/build/makerules/rules_ti_cgt_arm.mk:312: recipe for target '/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos/binary/can_traffic_generator_app/bin/j7200_evm/can_traffic_generator_app_mcu1_0_release.xer5f' failed
    make[2]: *** [/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos/binary/can_traffic_generator_app/bin/j7200_evm/can_traffic_generator_app_mcu1_0_release.xer5f] Error 1
    /opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/build/makerules/common.mk:405: recipe for target 'mcu1_0' failed
    make[1]: *** [mcu1_0] Error 2
    makefile:101: recipe for target 'can_traffic_generator_app' failed
    make: *** [can_traffic_generator_app] Error 2
    root@ubuntu-vm:/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos# gedit sudo gedit /etc/dhcp/dhcpd.conf
    root@ubuntu-vm:/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos# sudo gedit /etc/dhcp/dhcpd.conf

    ** (gedit:5014): WARNING **: 15:16:51.035: Set document metadata failed: Setting attribute metadata::gedit-position not supported

     
  • Hi Rio,

    Can you run:

    make -s can BOARD=j7200_evm CORE=mcu1_0
    make -s dio BOARD=j7200_evm CORE=mcu1_0
    make -s app_utils BOARD=j7200_evm CORE=mcu1_0
    
    make -s can_traffic_generator_app BOARD=j7200_evm CORE=mcu1_0

    The dependencies should ideally be built as a part of the app itself but somehow are not building, can you check if the above works?

    Regards

    Karan

  • Hi Karan:

    Where is the path I need to do these cmds?

    BR Rio

  • Hi Rio,

    Please run all the commands from the <SDK>/gateway-demos folder.

    Regards

    Karan

  • It shows this error:

    root@ubuntu-vm:/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos# make -s can BOARD=j721e_evm CORE=mcu1_0
    # Compiling j721e:mcu1_0:release:csl: ./arch/r5/src/csl_cache.c
    "/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/csl/soc.h", line 135: fatal error: cannot open source file "ti/csl/soc/j721e/src/cslr_soc.h"
    1 catastrophic error detected in the compilation of "./arch/r5/src/csl_cache.c".
    Compilation terminated.

    >> Compilation failure
    /opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/build/makerules/rules_ti_cgt_arm.mk:213: recipe for target '/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/binary/ti/csl/obj/j721e/r5f/release/csl_cache.oer5f' failed
    make[3]: *** [/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/pdk_j7200_07_03_00_29/packages/ti/binary/ti/csl/obj/j721e/r5f/release/csl_cache.oer5f] Error 1
    makefile:361: recipe for target 'csl' failed
    make[2]: *** [csl] Error 2
    makefile:212: recipe for target 'csl' failed
    make[1]: *** [csl] Error 2
    makefile:184: recipe for target 'can' failed
    make: *** [can] Error 2
    root@ubuntu-vm:/opt/ti-processor-sdk-rtos-j7200-evm-07_03_00_07/gateway-demos#

  • Hi Rio,

    Sorry, I mentioned the wrong BOARD in my previous response, I have corrected that now. Can you recheck?

    Regards

    Karan

  • hi Karan:

    I have closed this, thanks for your fix.

    BR Rio