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-Q1: SDK9.2 How to generate *-sec file?

Part Number: TDA4VM-Q1

Tool/software:

Dear experts

SoC: J721E SR2.0 HS-SE ,sdk 9.2

How to generate *-sec file?

Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw-sec'
Failed to load '/lib/firmware/j7-main-r5f0_0-fw-sec'
Failed to load '/lib/firmware/j7-main-r5f0_1-fw-sec'
Failed to load '/lib/firmware/j7-main-r5f1_0-fw-sec'
Failed to load '/lib/firmware/j7-main-r5f1_1-fw-sec'
Failed to load '/lib/firmware/j7-c66_0-fw-sec'
Failed to load '/lib/firmware/j7-c66_1-fw-sec'
Failed to load '/lib/firmware/j7-c71_0-fw-sec'

thank

  • Aren't they just signed binaries? Was it working on SR1.1?

    Regards,

    Brijesh

  • hi Brijesh

     Using the x509CertificateGen.sh script to encrypt mcu2-0, mcu2-1, c66, and c7x, U-Boot starts the authentication successfully, but all fail to load.

    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw-sec'
    1566129 bytes read in 95 ms (15.7 MiB/s)
    Authentication passed
    k3_r5f_rproc r5f@5c00000: Invalid ELF32 Image -93
    k3_r5f_rproc r5f@5c00000: Loading elf failedi -93
    Load Remote Processor 2 with data@addr=0x82000000 1566129 bytes: Failed!
    324581 bytes read in 43 ms (7.2 MiB/s)
    k3_r5f_rproc r5f@5d00000: Invalid seq: Enable primary core before loading secondary core
    Load Remote Processor 3 with data@addr=0x82000000 324581 bytes: Failed!
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw-sec'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw-sec'
    999969 bytes read in 71 ms (13.4 MiB/s)
    Authentication passed
    k3_dsp dsp@4d80800000: Invalid ELF32 Image -93
    k3_dsp dsp@4d80800000: Loading elf failed -93
    Load Remote Processor 6 with data@addr=0x82000000 999969 bytes: Failed!
    999969 bytes read in 71 ms (13.4 MiB/s)
    Authentication passed
    k3_dsp dsp@4d81800000: Invalid ELF32 Image -93
    k3_dsp dsp@4d81800000: Loading elf failed -93
    Load Remote Processor 7 with data@addr=0x82000000 999969 bytes: Failed!
    13506435 bytes read in 587 ms (21.9 MiB/s)
    Authentication passed
    k3_dsp dsp@64800000: Invalid ELF32 Image -93
    k3_dsp dsp@64800000: Loading elf failed -93
    Load Remote Processor 8 with data@addr=0x82000000 13506435 bytes: Failed!
    

    Regards,

    Ling

  • Hi Ling, 

    Are these binaries correct and loadable on corresponding cores? Can you use first CCS to load and run them? You can load unsigned binary directly using CCS to check its running. 

    Regards,

    Brijesh