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.

PROCESSOR-SDK-J721E: PDK make all fails

Part Number: PROCESSOR-SDK-J721E

Tool/software:

Hi,

I have the same problem as in the main thread. The errors are:

make[4]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl/example/ospi/memory_benchmarking_apps'
make[3]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build'
make[2]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build'
make[1]: *** [makefile:132: all_apps] Error 2
make[1]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build'
make: *** [makefile:91: buildinfra_all] Error 2


The SDK_INSTALL_PATH in the Rules.make file is set to: /home/$(USER)/ti

The OS: Ubuntut 22.04

Regards,
Tamas

  • Hi,

    The SDK_INSTALL_PATH in the Rules.make file is set to: /home/$(USER)/ti

    SDK_INSTALL_PATH =/home/USER/ti

    Please try to set this line on your Rules.make file let us know if this work.

    Regards,

    Karthik

  • Hi Karthik,

    This line is set. But if I try to build it the following Permission error appears:

    tkiss@tkiss-ThinkPad-P15v-Gen-3:~/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build$ make all
    ------------------------------------------------------
    # PDK 09.02.00.30
    ------------------------------------------------------
    make -f /home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build/makefile csl_init
    make[1]: Entering directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build'
    make -C /home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl/arch -fmakefile_init.mk
    make[2]: Entering directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl/arch'
    # Compiling j721e:mcu1_0:release:csl_init: r5/src/startup/boot.asm
    /home/tkiss/ti/ /ti-cgt-armllvm_3.2.1.LTS/bin/tiarmclang -MMD -g -DMAKEFILE_BUILD -c -Wall -Werror -Wno-extra -Wno-exceptions -ferror-limit=100 -Wno-unused-command-line-argument -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-extern-initializer -Wno-excess-initializers -Wno-bitfield-constant-conversion -Wno-address-of-packed-member -fno-strict-aliasing -EL -eo.oer5f -ea.ser5f -g -mfloat-abi=hard -mfpu=vfpv3-d16 -mcpu=cortex-r5 -mthumb -march=thumbv7r -Werror -Os -s -DBUILD_MCU1_0 -DBUILD_MCU    -DSOC_J721E -I. -Ir5/src/startup -Ir5 -I/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages -I/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl -I/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl -I/home/tkiss/ti/ -I/ti-cgt-armllvm_3.2.1.LTS/include/c -c -x ti-asm r5/src/startup/boot.asm -o /home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/binary/ti/csl/arch/obj/j721e/r5f/release/boot.oer5f
    make[2]: /home/tkiss/ti/: Permission denied
    make[2]: *** [/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build/makerules/rules_ti_cgt_arm.mk:214: /home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/binary/ti/csl/arch/obj/j721e/r5f/release/boot.oer5f] Error 127
    make[2]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/csl/arch'
    make[1]: *** [/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build/makefile:325: csl_init] Error 2
    make[1]: Leaving directory '/home/tkiss/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build'
    make: *** [makefile:108: csl_init_has_dep] Error 2
    tkiss@tkiss-ThinkPad-P15v-Gen-3:~/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build$

    Regards,
    Tamas

  • Hi,

    This line is set. But if I try to build it the following Permission error appear

    Please try make clean first, then make all.

    make clean

    make all -j

    Can you please conform able to build any driver example (make BOARD=j721e_evm CORE=mcu1_0 I2C_Baremetal_Eeprom_TestApp)

    Regards,

    Karthik

  • Hi,

    In meantime I had reinstall everything and now it's working.

    Thanks for help!

    Regards,
    Tamas