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.

Factory flashing

Other Parts Discussed in Thread: UNIFLASH

Dear TI E2E Community

As I was unable to succeed with uniflash tool (& moreover it might be expected to consume more than 5 minutes) for eMMC flashing in factory production environment & moreover I donn have SD card slot in my custom board henceforth,

1) Could you please let me know whether (MLO + uboot) can be flashed onto eMMC via network

2) Planning to flash (MLO + uboot)  via CCS JTAG onto eMMC

The below link explains of flashing for NAND
http://processors.wiki.ti.com/index.php/AM335x_CCS_Flashing_Tools_Guide

Could you please help me how this can be done for eMMC via CCS

OR

3)please let me know any other alternatives or suggestions methods for quick flashing of eMMC in production environment

As am trying for flashing eMMC across various methods in production environment I was unable to succeed further


Kindly do the needful as early as possible

Many Thanks in advance

  • Hi Srini,

    We don't have CCS example code for flashing the eMMC.

    Did your custom board support SD card boot ?
    Then,
    I think, you can use SD card for booting purpose and need to run application or script automatically and it should read the MLO + u-boot.img files and needs to be flashed on eMMC.

    It is very quick and easy to develop too.

    I'm not sure for ethernet boot for flashing at production so some other TI folks can help on this.
  • Thanks a lot Titus for your quick responses,

    We can't have sd card adaptors & sd card in all our custom boards henceforth, only for one custom board we had explicitly added the sd card slot inorder to bringup the board

    But finally in my custom board there will not be any sd card slots , in that case could you please check with other TI folks or your collegues how eMMC can be programmed

    Because from long time discussion w.r.t eMMC programming in production environment is open & as was unable to succeed even with uniflash as well(moreover it might take more than 5 minutes), could you please help me in getting a solution for this at the earliest

    Kindly do the needful as early as possible,

    Many Thanks in advance again

  • Hi ,

    Yes you can flash your eMMC trougt network, uart or usb. I'll explain how you can boot to the u-boot prompt and which way to flash eMMC. The similar way you can use and network and usb.

    * How to boot from UART and then transfer binaries to memory from UART
    1. Use the u-boot.img and also the u-boot-spl.bin from the ./spl folder.
    2. Set the EVM switches for UART boot (1-5: 10000)
    3. Start picocom from the folder containing the UART boot images (board is OFF):
    # picocom -b 115200 /dev/ttyS0 --send-cmd "sx -vv"
    4. Press CTRL+A; CTRL+S; to send the u-boot-spl.bin file via UART and then start the board.
    5. After transfer is complete press CTRL+A; CTRL+S; to send the u-boot.img file.
    6. After transfer is complete U-Boot will start.
    7. Flash binaries to memory with one of the following commands:
    IMPORTANT: Depending on whether you're using kermit or ymodem mode use one of these two commands to load the image files to RAM:
    loadb - load binary file over serial line (kermit mode)
    loady - load binary file over serial line (ymodem mode)
    Example:
    loady 0x82000000
    (when prompted press CTRL+A; CTRL+S; and send the binary via UART)

    After loading kernel and FS you can boot kernel and file system. Now you are ready to flash eMMC from Linux console.

    Please see the:
    http://elinux.org/Beagleboard:Updating_The_Software

    BR
    Ivan