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.

AM3358: eMMC backup and flash procedure

Part Number: AM3358

Hi,

I am looking for a thread that can show me how to flash the EMMC and make a backup of the EMMC (creating a flash image from EMMC) for the AM3358, in case of no SSD slot mounted on the board.
I do have access to serial port, USB0 and JTAG debug port.

Thank you.

  • JE,

    there is content related to both eMMC programming and backup in the community for the BeagleBone Black that you can probably re-use as a partial starting point. Since you don't have an SD slot you can use the USB port in host mode with a USB thumb drive plugged in for both operations. The BeagleBone Black scripts use the 'dd' utility to perform some of the underlying operations, so you would need to update those scripts to use suitable USB partitions rather than SD card partitions

    https://linuxpropaganda.wordpress.com/2018/06/26/backup-and-restore-your-beaglebone-black/

    https://github.com/RobertCNelson/boot-scripts/tree/master/tools/eMMC

    Some other ideas:

    • Setup and use DFU from U-Boot to program/read the eMMC, see https://processors.wiki.ti.com/index.php/AMSDK_u-boot_User%27s_Guide#Updating_an_SD_card_or_eMMC_using_DFU
    • In Linux use USB in device mode ("gadget mode") to expose the eMMC to a host computer, and perform backup/restore from there (via 'dd' for example). The challenge is you would need to setup your system such that you can boot from another device (either another partition on the eMMC, or an ramdisk image) so you can properly and interference-free expose eMMC partition(s) you want to backup/restore from via the gadget interface

    I would not recommend trying to use serial I/F (too slow-- think about the size of data you want to transfer) or JTAG (would need to go hand-in-hand with a custom firmware solution of sorts running on the AM335x to extract/write data from/to the eMMC --> high effort/challenging implementation, and potentially slow too).

    Regards, Andreas