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.

DRA722: how to load m4 firmware from u-boot

Part Number: DRA722

I am using vision sdk 3.08 , has been put early boot patch to u-boot , but no message about loading m4 firmware 

  • Hi,

    I will need more information to commend on your issue.

    Could you explain what steps you have followed and changes you have made?

    Regards,

    Stanley

  • I am using vision sdk 3.08 , has been put early boot patch to u-boot , but no message about loading IPU firmware , when open DEBUG in u-boot , I can see:

    spl_boot_ipu: IPU1 failed to initialize on rproc (-19)

    spl_boot_ipu: IPU2 failed to initialize on rproc (-19)

    spl_boot_ipu: DSP1 failed to initialize on rproc (-19)

    spl_boot_ipu: DSP2 failed to initialize on rproc (-19)

    I open the option CONFIG_CMD_REMOTEPROC=y , then I run cmd : rproc list , the result is empty, and run : rproc init 1 , result is : 
        Firmware loading failed
        Operation Failed with error (-22)
  • I open u-boot config CONFIG_CMD_REMOTEPROC=y and DEBUG, use rproc load command , result:

         

    => fatload mmc 0:1 $LOADADDR dra7-ipu2-fw.xem4
    fatload - load binary file from a dos filesystem
    
    => rproc load 1 $loadaddr $filesize
    ID 1 memory    l2ram: bus addr 0x0000000055020000 size 0x10000 va 55020000 da 0x0
    Firmware loading failed
    Load Remote Processor 1 with data@addr=0x82000000 810624 bytes: Failed!

  • Could you tell me which patch you have applied and which document you are following for enabling early boot? Thanks.

  • patch is : $VISION_SDK/ti-componets/os_tools/linux/kernel/linux-kernel-addon/early-lateattach-patches/uboot : 

    001-spl-Move-the-peripheral-clock-initialization-before-.patch

    0002-u-boot-configs-Enable-configs-for-Early-boot-support.patch

    maybe you can let me know howto do step by step, Thanks