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.

AM62L: eMMC Flash Support for .wic Image on AM62L

Part Number: AM62L

Hi team,

I would like to confirm whether flashing a Yocto-generated .wic image directly to eMMC is supported on the latest SDK for AM62L.
If yes, could you please share the recommended procedure for programming the .wic file to eMMC?

  • Hello 

    This  documentation shows how to flash the eMMC by booting from an SD card and running:

    dd if=tisdk-base-image-<soc>-evm.rootfs.wic of=/dev/mmcblk0

    but it requires booting from an SD card first.

    I would like to flash the same .wic image directly to the onboard eMMC using DFU  instead.
    Is there an official procedure or recommended workflow for flashing an eMMC using DFU with a .wic image?



  • Is there an official procedure or recommended workflow for flashing an eMMC using DFU with a .wic image?

    It is shown in the following response:

    e2e.ti.com/.../5576209

  • Hello, 

    Does AM62L support flashing the eMMC UDA directly using DFU (similar to the AM62x examples),Weather AM62L has eMMC UDA ?

    I tried the steps mentioned in that response 

    These are the prints:

    dfu-util -a wic -D tisdk-xxxxxxxxxx1gbrootfs.wic 
    dfu-util 0.10

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2020 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../

    dfu-util: Warning: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    dfu-util: Cannot open DFU device 0451:6165
    dfu-util: No DFU capable USB device available



    • Is it mandatory to have U-Boot with DFU support already flashed on the eMMC before attempting to write the .wic image?

    • Does AM62L require specific DFU partition names, interfaces, or bootloader configuration to expose the eMMC UDA over USB DFU?



  • Is it mandatory to have U-Boot with DFU support already flashed on the eMMC before attempting to write the .wic image?

    Did you boot the A53 U-Boot over DFU and run the commands to expose DFU interface as shown in the other thread I shared?

  • Weather this procedure is for RAW partition or Rootfs ?

    Does AM62Lx supports this ?


    Yes i had booted U-boot with DFU and then followed the steps as mentioned , 

    NOTICE:  bl1_plat_arch_setup arch setup 
    NOTICE:  Booting Trusted Firmware
    NOTICE:  BL1: v2.12.0(release):9f56914fa-dirty
    NOTICE:  BL1: Built : 13:13:15, Nov 27 2025
    NOTICE:  BL1: dram_class: 11
    NOTICE:  lpddr4: post start - PI training status=0x27c0a000 
    NOTICE:  bl1_platform_setup DDR init done
    NOTICE:  k3_bl1_handoff ENTERING WFI - end of bl1
    NOTICE:  BL31: v2.12.0(release):9f56914fa-dirty
    NOTICE:  BL31: Built : 13:13:15, Nov 27 2025
    NOTICE:  SYSFW ABI: 4.0 (firmware rev 0x000b '11.1.12-v11.01.12 (Fancy Rat)')
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    
    U-Boot SPL 2025.01-g69a2476ac276 (Nov 27 2025 - 13:22:39 +0000)
    SPL initial stack usage: 1936 bytes
    Trying to boot from MMC0
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    
    
    U-Boot 2025.01-g69a2476ac276 (Nov 27 2025 - 13:22:39 +0000)
    
    SoC:   AM62LX SR1.1 HS-FS
    Model: iG-RainboW-G69M-TI-AM62LX OSM
    DRAM:  1 GiB
    ERROR:   Agent 0 Protocol 0x10 Message 0x7: not supported
    Core:  69 devices, 31 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    
    Board Info:
    	BSP Version               : iG-PRITZ-SC-01-R1.0-REL0.1-Linux6.12.43
    	SOM Version               : iG-PRITZ-AP-01-R1.1
    Net:   
    Warning: ethernet@8000000port@1 MAC addresses don't match:
    Address in ROM is		44:88:be:8b:c4:d4
    Address in environment is	a0:cd:f3:77:ef:49
    eth0: ethernet@8000000port@1 [PRIME]
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    ## Error: "loadbootscript" not defined
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Can't set block device
    ## Info: input data size = 2 = 0x2
    Loaded env from uEnv.txt
    Failed to load '/boot/Image'
    Failed to load '/boot/dtb/ti/k3-am62l3-ig69s-prgjj-04.dtb'
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    Scanning for bootflows in all bootdevs
    Seq  Method       State   Uclass    Part  Name                      Filename
    ---  -----------  ------  --------  ----  ------------------------  ----------------
    Unknown uclass 'ospi' in label
    Scanning bootdev 'mmc@fa10000.bootdev':
      0  efi          ready   mmc          1  mmc@fa10000.bootdev.part_ /EFI/BOOT/BOOTAA64.EFI
    ** Booting bootflow 'mmc@fa10000.bootdev.part_1' with efi
    MMC: no card present
    Cannot persist EFI variables without system partition
    Booting /\EFI\BOOT\BOOTAA64.EFI
    error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg.
    error: serial port `com0' isn't found.
    GNU GRUB  version 2.12
    
    ������������������������������������������������������������������─�����������������������������������│�����������������������│���������������������│����������������������│����������������������������������������─�����������������������������������������─���������������������������������     Use the � and � keys to select which entry is highlighted.                                  
          Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a   
          command-line.                                                                                *boot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       The highlighted entry will be executed automatically in 3s.                                            The highlighted entry will be executed automatically in 2s.                                            The highlighted entry will be executed automatically in 1s.                                            The highlighted entry will be executed automatically in 0s.                                           Booting `boot'
    
    EFI stub: Booting Linux Kernel...
    EFI stub: EFI_RNG_PROTOCOL unavailable
    EFI stub: Using DTB from configuration table
    EFI stub: Exiting boot services...
    


    First flashed with tisdk-tiny-image wic and the above log is the output 

    after uboot its entering to Grub u can check the log 
    =========
    when i tried flashing the tisdk-default-image.wic (size around 10gb) below is the log its not completely flashing 




    may i know the reason behind that output ?
    Suggest us with any changes to be done or send the log for complete steps to flash and boot am62lx using .wic file


    Regards, 

    J S Ninad

  • Hi,

    I suppose you are able to successfully flash the WIC image to eMMC as can be inferred from the below thread so I am closing this thread.

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1596268/am62l-emmc-booting-issue-through-wic-file/6151598

    Please feel to reply if any further clarifications are needed related to this thread.

  • Hello,

    Can you please share the output of the following commands run from the A53 U-Boot

    => mmc dev 0
    => mmc info



  • is  capacity the issue for not flashing completely in case of default image .wic ?

    This is one case , but 

    Even after successful flashing of tiny image .wic file  board is not booting i had shared the logs previously .

  • is  capacity the issue for not flashing completely in case of default image .wic ?

    Yes, indeed.

    Even after successful flashing of tiny image .wic file  board is not booting i had shared the logs previously .

    Please continue this discussion on the other thread.

    I will close this thread as the eMMC part on your custom board is only 8GB so you cannot flash the default WIC image.

  • I am able to flash the root filesystem using this method, and while flashing a .wic image (tiny-image) correctly creates eMMC user partitions (e.g., mmcblk0p0/p1), the system fails to boot afterward given that eMMC boot on AM62L appears to occur only from mmcblk0boot0/1, I would like guidance on the correct procedure to flash and boot

  • To boot the U-Boot binaries from the partition created by the WIC image, you would need to use the eMMC UDA FS boot mode.

  • It appears that you have created a separate thread for the latest query. Please continue the discussion on the new thread.

    https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1600130/am62l-emmc-boot-issue

    I am closing this one!!