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: TDA4VM

Part Number: TDA4VM

I am referring [FAQ] TDA4VM: MCUSW demo on CAN along side Linux on A72 - Processors forum - Processors - TI E2E support forums link for my use case(To run RTOS and Linux parallelly  for MCUSW IPC-CDD demo) .

I am using ti-processor-sdk-rtos-j721e-evm-08_02_00_0 SDK.

I am trying patch for SDK 8.2

I am getting below error.

 

 

Could you please support me for this?

  • Pratik,

    I installed a fresh SDK8.2 and patched the MCUSW with the patch for SDK8.2 in the below FAQ. I don't see any errors apart from the whitespace warning.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1003429/faq-tda4vm-mcusw-demo-on-can-along-side-linux-on-a72 

    The patch applies cleanly, see below logs.

    (base) karan@karan:/mnt/hdd2/j7es_sdks/temp_sdk8.2/ti-processor-sdk-rtos-j721e-evm-08_02_00_05/mcusw$ git am /mnt/hdd2/j7es_sdks/temp_sdk8.2/integrated_demos_SDK_8_2/MCUSW/*
    Applying: Modify can_profile_app to work with Linux on A72
    .git/rebase-apply/patch:61: trailing whitespace.
    const Ipc_ResourceTable ti_ipc_remoteproc_ResourceTable __attribute__ ((section (".resource_table"), aligned (4096))) =
    .git/rebase-apply/patch:67: trailing whitespace.
                0U,
    .git/rebase-apply/patch:81: trailing whitespace.
        void _freertosresetvectors (void);
    .git/rebase-apply/patch:375: trailing whitespace.
        .resource_table :
    warning: 4 lines add whitespace errors.

    Please check your setup, the patch applies on a fresh SDK8.2.

    Also you can look at the diff when you get an error and resolve the merge conflicts, if any.

    Regards

    Karan

  • Hello Karan,

    With fresh sdk i am able to resolved this issue.

    I will now try further steps.

  • Hello Karan,

    I have followed all 8 steps.

    Linux A72 is not getting bootup.

    I am getting below messages in log in UART at starting kernel section.


    A72Uart_1.log

    Could please support me on this?

  • Pratik

    1. Are the firmwares in the /lib/firmware of the Linux file system the default ones from SDK8.2?

    I see some issues when Linux is trying to boot 4d80800000.dsp and also there seems to be a filesystem error "FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck."

    2. Did you patch Linux as well with the patches? I don't think the above issue is due to this but want to make sure.

    (To run RTOS and Linux parallelly  for MCUSW IPC-CDD demo) .

    I just realized that you are trying to run IPC-CDD with Linux. The patches in the FAQ were for the can_profile_app. Are you tying can_profile_app or IPC-CDD?

    Regards

    Karan

  • 1. Are the firmwares in the /lib/firmware of the Linux file system the default ones from SDK8.2?

    firmwares are default one.

    2. Did you patch Linux as well with the patches? I don't think the above issue is due to this but want to make sure.

    3rd steps of patching is executed successfully. 

    Currently i am using CAN application demo to test this.

    I have repeated steps again.

    Only change i have done is

    1)Kept "can_profile_app_mcu1_0_release.xer5f" file in prebuilt folder board-support/prebuilt-images and Changed UBOOT_DM in make file(can_profile_app_mcu1_0_release.xer5f).

    2)Replace the tispl.bin in the SD card's FAT32 partition (boot/)(u-boot.img and tiboot.bin not changed in sd card)

    3)Same file can_profile_app_mcu1_0_release.xer5f i have changed to j7-mcu-r5f0_0-fw and kept it in /rootfs/lib/firmware/j7-mcu-r5f0_0-fw.

    During 1st boot it is working fine. Once i reboot the system then 2nd time it start showing below messages in UART log.

    CAN_Linux_Log.txt

    Could please support me for this?

  • Pratik

    I see now that you are trying to run this on the TDA4VM Starter Kit and not the EVM. These patches and demos are not tested on the Starter Kit.

    Do you have an EVM on which you can try these?

    Regards

    Karan

  • Hello Karan,

    We have bought the EVM but it is in shipment phase.

    Once we get the board i will try it on EVM.