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.

How to bind the image to secure C6748?

Other Parts Discussed in Thread: OMAP-L138

Read the wiki, there is a paragraph saying the binding. How should I do it at the start of the application?

By the way, what does command 0x58535923 do?

Thanks,

-Hailin 

  • Hi Hailin,

    Typically, We will not support/discuss Secure SoC queries in forum,

    BTW, I have requested to one of our experts and It will be addressed soon.

  • Hi,

    By the way, what does command 0x58535923 do?

    Please refer the AISGen source code.

    ./OMAP-L138/GNU/AISUtils/HexAIS/AIS.module

    0x58535923 --> Exit mode

        EncSection_Load = 0x58535921,
        SecSection_Load = 0x58535922,
        SetSecExitMode  = 0x58535923,
        SetDelegateKey  = 0x58535924,
        RemDelegateKey  = 0x58535925,

    (File IO): Read 398648 bytes from file E:\secure\pack\CAM_ext.ais.
    (Serial Port): Opening COM3 at 115200 baud...
    (AIS Parse): Read magic word 0x41504954.
    (AIS Parse): Waiting for BOOTME... (power on or reset target now)
    (AIS Parse): BOOTME received!
    (AIS Parse): Performing Start-Word Sync...
    (AIS Parse): Performing Ping Opcode Sync...
    (AIS Parse): Processing command 0: 0x58535920.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Secure key loading, entering secure mode.
    (AIS Parse): Processing command 1: 0x58535923.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Setting boot exit mode...
    (AIS Parse): Set exit mode to 0x00000000.
    (AIS Parse): Processing command 2: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 3: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 4: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 5: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 6: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 7: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 8: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 9: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 10: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 11: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 216-Byte section to address 0xC0000000.
    (AIS Parse): Processing command 12: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 24-Byte section to address 0xC0AA3EC8.
    (AIS Parse): Processing command 13: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 992-Byte section to address 0xC0ADBC20.
    (AIS Parse): Processing command 14: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 363392-Byte section to address 0xC0ADC000.
    (AIS Parse): Processing command 15: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 27272-Byte section to address 0xC0B43B80.
    (AIS Parse): Processing command 16: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 512-Byte section to address 0xC0B4BC00.
    (AIS Parse): Processing command 17: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 1224-Byte section to address 0xC0B4BE00.
    (AIS Parse): Processing command 18: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 4364-Byte section to address 0xC0B4C480.
    (AIS Parse): Processing command 19: 0x58535906.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Performing jump and close...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): AIS complete. Jump to address 0xC0B30D60.
    (AIS Parse): Waiting for DONE...
    (AIS Parse): Boot completed successfully.
    (Serial Port): Closing COM3.

  • Halin,

    We have an example to demonstrate the process of binding that I can share. Do you have a local TI contact through whom I can forward the examples or if you can accept my firend request on the forums, I can send you over the package.

    The sequence 0x58535923 represents AIS command to specify Exit type as has been specified by Stalin in the response above.

    Regards.

    Rahul

     

  • Can  you  send the example to me ? denny-yang@ti.com  is my local TI contact .I want the updated package .can you sent it to me  as soon as possible

  • We have already recieved this request and forwarded the secure collateral update to denny. Please work with him and let us know if you have any questions after reviewing the package.

    Regards,

    Rahul