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.

AM335x: eMMC Flashing

Other Parts Discussed in Thread: UNIFLASH

Hi,

there is a process of eMMC flashing described here

http://processors.wiki.ti.com/index.php/Sitara_Linux_AM335x_Flash_Programming_Linux_Development#eMMC_Programming_Process

A debrick script is mentioned. Is there a download link for it?

Thanks,

--Gunter

  • Hi Gunter,

    As stated here, the instructions on thе page are still work in progress. Please take a look at the following pages for reference eMMC flasher scripts:

    http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process

    https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh

    The script from the second link is pretty much what you need. You just need to modify it to load the files via TFTP and not from the SD card.

    Best regards,
    Miroslav

  • Hi Miroslav,

    I am following  the link (http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black) for  flashing beaglebone black using uniflash in production environment onto eMMC  And am using windows as host,

    1) Could you please confirm is the above script ie., https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh can be used without any modification as debrick.sh??..

    And I have copied all the below files into (c:\AM335x_images by default as per the link http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black ).

    • u-boot-spl-restore.bin - U-Boot SPL
      • u-boot-restore.img - U-Boot image
      • zImage - Linux kernel with initramfs
      • am335x-boneblack.dtb - DeviceTree Blob for BeagleBone Black
      • debrick.sh - bash script to do the flashing operations which is loaded by the fetcher.sh init script in the initramfs
    • Image to be flashed
      • boot_partition.tar.gz - files for the boot partition
      • rootfs_partition.tar.gz - files for the root filesystem partition

    Could you please let me know if there are any other files to be put into c:\AM335x_images, because I was confused when I was going through the other link ie., (http://processors.wiki.ti.com/index.php/Sitara_Linux_AM335x_Flash_Programming_Linux_Development#eMMC_Programming_Process)

    Or only the above files is sufficient 

    2) Can I use uboot.img & image.fit (verified boot , signed images) format files for flashing into eMMC by following the link (http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black) using uniflash,If so how can I flash this uboot.img & image.fit ( ie., signed kernel image) onto eMMC using Uniflash

    Could you please do the needful as early as possible, as am stuck with this from many days

    Awaiting for your replies,

    Many Thanks in advance

  • Hi Srini,

    Miroslav is not in his role so you can followup the following threads.

    http://e2e.ti.com/support/embedded/linux/f/354/t/382761.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/382761.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/380960.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/382809.aspx