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.

DRA829 : OSPI XIP some confirmations

Other Parts Discussed in Thread: DRA829

Hi everybody , 

about  OSPI XIP   as far as I understand  it is available only after booting  am I right ?

So if  you cannot do OSPI  XIP  during  boot  , can you do  QSPI  XIP in booting ? using same HW 

my concerns is to reduce booting time  and XIP would be great , and ideally I m planning only one memory OSPI 

any suggestion is welcome

thank you 

best regards

Carlo

PS   -->     4.6.4.2 OSPI Loading Process OSPI boot mode is not executable-in-place (XIP). ROM code first copies boot image into on-chip RAM and then executes it.

 

  • Hi Carlo,

        Typical XIP boot flow is: RBL(non-XIP)-> SBL(non-XIP) -> Trampoline Function(non-XIP) -> Application(XIP)

        OPSI/QSPI XIP is meant for booting applications (booted by SBL) only. We cannot use XIP to  boot SBL. So, OSPI/QSPI XIP is available only after booting.

        To reduce boot time, you can do the following: 

    • Use degenerate keys for signing the SBL. Find more information about this in the 'Key Generation' section in the DRA829 TRM.
    • After using this, ROM code(RBL) will be directed to use DMA to load the SBL for authentication which saves boot time.

    I hope this answers your queries.

    Thanks & Regards,
    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd