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.

Build Bootloader for SRIOboot under DSP/BIOS for C6455 EVM using diolib

Hello,

I like to boot the mezzanine Board through srio, with an application running on the C6455 DSK Board.

These application should run under the DSP/BIOS.

I've tried the examples from diolib/test directory, there is one for bootload through SRIO: "testDIO_srioBootNcfg" .

The Example runs,even if I change the code to boot on the mezzanine with my code. (only one point it waits somewhere for a doorbell but this is not necessary)

Now i like to port this example to my application on DSK Board. I used DSP/BIOS on the dsk so I build a function boot_on_mezzanine() and i copy a code from example there.

I change the example with defining _OS_SUPPORT and integrate  RapidIO MQT in the project because   it is need for compilation of diolib with "#define _OS_SUPPORT"

it runs without failure till the point of coping sections in L2 memory on mezzanine:

        // Configure this write request (data request object)

...

       // Perform DIO write of THIS SECTION
        cslStatus = DIO_streamingReq(&writeReqObj,&srioObj,RIO_EDMA_STREAM_0)

        asm("        IDLE");    


        // Check completion code
        if (DIO_getOpCompCode(&writeReqObj) != CSL_SRIO_TRANS_NO_ERR) {
           printf("\t Transaction failed Trans_err:%x  \n",DIO_getOpCompCode(&writeReqObj));            //error here :-(
           return(1);
        }

I don't know why this happen, it runs perfect without the OS.

I could not found any other examples for my board running under DSP/BIOS.

What is wrong, or in wich way is it possible to boot the mezzanine under DSP/BIOS???

is it possible to start the BIOS with application after booting the mezzanine board in non OS mode???

  • An other idea is to run the non DSP/BIOS program that is running befor DPS/BIOS starts;

    i tried to put sourcecode of my running boot example in main() function (should start befor DSP/BIOS ???)

    but it stops after DIO stzreaming request qiting for an interupt:

            cslStatus = DIO_streamingReq(&writeReqObj,&srioObj,RIO_EDMA_STREAM_0);
            // Wait for EDMA interruption
            asm("        IDLE");   //<- stops here

    maybe eneable interupts in some way, so no  _OS_SUPPORT is needed. ???

    My intention is only to boot an application on MEZZANINE and after that starts my DSP/DIOS application on DSK board