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.

TDA2EVM5777: Early M4 UC, M4 Early UC, Run Linux UC after Linux Boot

Part Number: TDA2EVM5777

Hi,

I am working with M4 Early UC. But our Sgx custom link does not seem to be available in RTOS Usecase.

So, I would like to have M4 Early UC shut down when Linux boots and Linux Usecase run.

I changed 'CreateLate' and 'StartLate'  to 'StopAndDelete' from M4 Early UC.

like this:

===========================================================

    while(!done)
    {
        Task_sleep(100);
        if(chainsCfg->linux_InitComplete && printNotDone)
        {
            Vps_printf("Late Attach");
            //chains_earlySV_CreateLate(&chainsObj.ucObj, &chainsObj);
            //chains_earlySV_StartLate(&chainsObj.ucObj);
            chains_earlySV_StopAndDeleteApp(&chainsObj);
            printNotDone = FALSE;
            done = FALSE;
        }
    }
    //chains_earlySV_StopAndDeleteApp(&chainsObj);

===========================================================

And i tested it, but M4 Early UC doesn't shut down, and Linux UC doesn't run.

The capture screen continues to display.

Q1. Is the Sgx based custom link not available in the M4 Early UC?

Q2. How can I get M4 Early UC to shut down and Linux UC to run after a Linux boot?

Q3. I want to make a 2x2 image with Alg_dmaSwMs by input Capture 4CH in M4 Early UC, but Alg_dmaSwMs is not working. Is it normal?
(Only the green screen is displayed.)

Q4. Doesn't ALG_vpeSwMs support TDA2x? The log shows that the algorithm cannot be found.

Regards,

tmlee.

  • Hi Lee,

    I will answer to your first question now.

    SGX is available only after user mode libraries are installed once rootfs is mounted. So in early boot case, SGX is not available. Capture , decode, vpe and display can be used in early boot case.

    Will get back to you on your remaining questions.

    Thanks

    RamPrasad

  • Hi  RamPrasad,
    Thanks for your answer.

    I solved the second question.

    M4 Early Usecase is running when power on, and Linux Usecase is running normally after the Linux boot.
    I forgot the part of System_linkControl(APP_CTRL_LINK_CMD_LINUX_INIT_COMPLETE) in HLOS chains_main.

    Please let me know the rest of the third and fourth questions.

    regards,

    tmlee.

  • Hi Lee,

    VPE should be available. Did you try to use VPE for mosaic?

    Thanks

    RamPrasad