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.

SK-AM62A-LP: SK-AM62A-LP: Flashing SBL, DM and MCU binaries via DFU to eMMC

Part Number: SK-AM62A-LP

Hi There 

I want to know whether we can flash the MCU+SDK binaries like ipc_rpmsg_echo_linux.release.appimage, linux.appimage, sbl_emmc_linux_stage2.release.appimage, sbl_emmc_linux_stage1.release.tiimage to eMMC via DFU. If possible can i know steps how to flash it.


  • Hi There

    i tried like this but results with some error.

    these steps i tried 

    1. firstly changed  the dfu ENV variables to

              setenv dfu_alt_info_emmc 'rootfs part 0 1 mmcpart 0;stage1 raw 0x0 0x80000 mmcpart 1;stage2 raw 0x80000 0x80000 mmcpart 1;mcu raw 0x100000 0x700000 mmcpart 1;hsm raw 0x800000 0x200000 mmcpart 1;dm raw 0xA00000 0x200000 mmcpart 1;linux_app raw 0xC00000 0x200000 mmcpart 1'

    2. Next   

          setenv dfu_alt_info ${dfu_alt_info_emmc}
          dfu 0 mmc 0

    3. then it is waiting for the binaries. after transferring some binaries via dfu-util resulting this error.

           dfu-util.exe -R -a 1 -D stage1.release.tiimage

           dfu-util.exe -R -a 2 -D stage2.release.appimage

           dfu-util.exe -R -a 3 -D mcu.release.appimage

           dfu-util.exe -R -a 4 -D hsm.appimage

    ERROR

  • Hi Varun,

    Please note you must use eMMC block offsets instead of the raw address offsets. Considering the eMMC block size is 512B, the command for stage2 would be:

    stage2 raw 0x400 0x400 mmcpart 1

    Likewise you would have to calculate the block offsets for other images and form the final command. Afterwards, the DFU flashing should be successful.

    Regards,

    Prashant

  • Thanks Prashant for the reply.


    Regards
    Varun Nuvvula.