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.

TDA4VM: About keywriter

Part Number: TDA4VM

HI,

    When including the ==TIFS== binary firmware, this error occurs when compiling the `keywriter` project:

/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang  -Werror -Xlinker -q -Xlinker -u -Xlinker _c_int00 -Xlinker --display_error_number -Xlinker --use_memcpy=fast -Xlinker --use_memset=fast -Xlinker --diag_suppress=10063-D  -Xlinker --diag_suppress=10068-D -Xlinker --diag_suppress=10083-D -Xlinker -c -mcpu=cortex-r5 -march=armv7-r -Xlinker -x -Xlinker --zero_init=on -Xlinker -x -Xlinker --zero_init=on    /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/init.oer5f   /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/main.oer5f  /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/soc/common/pmic_example.oer5f  /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/binary/keywriter_img/obj/j721e_evm/mcu1_0/release/soc/j721e/keywriter_utils.oer5f -Xlinker  /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds  -Xlinker --map_file=/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/binary/j721e/keywriter_img_j721e_release.xer5f.map -Xlinker --output_file=/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/binary/j721e/keywriter_img_j721e_release.xer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/pmic/lib/j721e_evm/r5f/release/pmic.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/sciclient/lib/j721e/mcu1_0/release/sciclient_direct.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/board/lib/j721e_evm/r5f/release/ti.board.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/uart/lib/j721e/r5f/release/ti.drv.uart.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/osal/lib/nonos/j721e/r5f/release/ti.osal.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/csl/lib/j721e/r5f/release/ti.csl.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/csl/lib/j721e/r5f/release/ti.csl.init.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/i2c/lib/j721e/r5f/release/ti.drv.i2c.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/gpio/lib/j721e/r5f/release/ti.drv.gpio.aer5f -l/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/drv/sciclient/lib/j721e/mcu1_0/release/rm_pm_hal.aer5f  /data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/ti-cgt-armllvm_1.3.0.LTS/lib/libc.a
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 99: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   run placement with alignment fails for section ".bss" size 0x60e4.
   Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 93: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   placement with alignment fails for section ".const.devgroup.MAIN" size
   0x3ea6.  Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 103: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   run placement with alignment fails for section ".sysmem" size 0x2000.
   Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 100: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   run placement with alignment fails for section ".bss.devgroup.MAIN" size
   0xfe0.  Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 92: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   placement with alignment fails for section ".const.devgroup.MCU_WAKEUP" size
   0x84e.  Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 101: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   run placement with alignment fails for section ".bss.devgroup.MCU_WAKEUP"
   size 0x214.  Available memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 85: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   placement with alignment fails for section ".bootCode" size 0xfc.  Available
   memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
"/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/soc/common/linker.lds", line 95: error #10099-D:
   program will not fit into available memory, or the section contains a call
   site that requires a trampoline that can't be generated for this section.
   placement with alignment fails for section ".cinit" size 0x44.  Available
   memory ranges:
   OCMRAM_Keywriter   size: 0x72e00      unused: 0x2d         max hole: 0x20
error #10010: errors encountered during linking;
   "/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_0
   8_01_00_33/packages/ti/boot/keywriter/binary/j721e/keywriter_img_j721e_relea
   se.xer5f" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/build/makerules/rules_ti_cgt_arm.mk:347: recipe for target '/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/binary/j721e/keywriter_img_j721e_release.xer5f' failed
make[2]: *** [/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/binary/j721e/keywriter_img_j721e_release.xer5f] Error 1
make[2]: Leaving directory '/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/boot/keywriter/build'
/data1/wangshulin/work/ti/TDA4x/platform/Trunk/kernel/rtos8.1/pdk_jacinto_08_01_00_33/packages/ti/build/makerules/common.mk:410: recipe for target 'mcu1_0' failed

Furthermore I found  In the released SDK8.1 version, we did not find the TI Factory Encryption key (TI FEK-Pub)!

Please provide some help.

Regards,

Li quan