AM62L: eMMC booting issue through .wic file

Part Number: AM62L


Hello Team,

We are trying to boot the AM62Lx board from the eMMC. We are able to successfully flash the .wic image to the eMMC; however, during boot, the board fails to load the kernel and device tree.

Below is the error log observed during boot:

 
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_1   /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

We request your support in providing the correct procedure to flash and boot the AM62Lx from eMMC using a .wic file 

Regards,
J S Ninad

  • Hello,

    If you have flashed the WIC image then your Linux Rootfs partition is in the 2nd partition so you would have to run the following commands to boot the Linux.

    => setenv mmcdev 0
    => setenv bootpart 0:2
    => boot

  • Hello ,

    Still the issue is same could you please share the complete steps and log for booting from eMMC by flashing .wic file
    is there any limitation for .wic file size ?
    because iam getting 

    this error if i try to flash my default image .wic file of size 10gb.



    Thank you

  • We are able to successfully flash the .wic image to the eMMC;

    What is this WIC image then for which you say it flashes successfully?

  • That was tiny image of size 400mb , in that also we faced same issue after uboot it was going to grub

    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_1   /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
    


    like this .

    Please send the procedure to flash default image .wic file and booting it with logs for am62lx 

  • That was tiny image of size 400mb , in that also we faced same issue after uboot it was going to grub

    I have clarified in my first response that you need to set the "mmcdev" and "bootpart" env variables before booting the Linux.

  • 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  0 
    iWave-G69M > 
    iWave-G69M > 
    iWave-G69M > 
    iWave-G69M > setenv mmcdev 0
    iWave-G69M > setenv bootpart 0:2
    iWave-G69M > boot
    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
    Cannot persist EFI variables without system partition
    Booting /\EFI\BOOT\BOOTAA64.EFI
    error: no such device: ((hd1,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...
    

    i have tried the same , you can see the log 

    Can i get the working log of eMMC boot using .wic 

    Thank you

  • Can you please check if the rootfs in your tiny image even contains the Kernel path (/boot/Image) and the DTB path (/boot/dtb/ti/k3-am62l3-ig69s-prgjj-04.dtb) that the U-Boot is looking for?

    If in doubt, please share the output of the following commands

    => mmc dev 0
    => mmc part
    => ls mmc 0:2 /boot
    => ls mmc 0:2 /boot/dtb/ti

  • 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  0 
    iWave-G69M > 
    iWave-G69M > 
    iWave-G69M > mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    iWave-G69M > mmc part
    
    Partition Map for mmc device 0  --   Partition Type: DOS
    
    Part	Start Sector	Num Sectors	UUID		Type
      1	2048      	262144    	076c4a2a-01	0c Boot
      2	264192    	505148    	076c4a2a-02	83
    iWave-G69M > ls mmc 0:2 /boot
                ./
                ../
                EFI/
        <SYM>   Image
     22325760   Image-6.12.43-ti-01064-g3a3f87d0bf70-dirty
                dtb/
        <SYM>   fitImage
      9346982   fitImage-6.12.43-ti-01064-g3a3f87d0bf70-dirty
    
    4 file(s), 4 dir(s)
    
    iWave-G69M > ls mmc 0:2 /boot/dtb/ti
                ./
                ../
        33413   k3-am62l3-ig69s-prgjj-04.dtb
        32798   k3-am62l3-ig69s-prgjj-41-mipi-dsi.dtb
        36371   k3-am62l3-ig69s-prgjj-41.dtb
    
    3 file(s), 2 dir(s)
    
    iWave-G69M > 

  • The filesystems looks fine. I see in the boot logs that the uEnv.txt file is loaded. Can you please share the contents of this file? I would like to make sure if this uEnv.txt file is interfering with the env variables.

  • # This uEnv.txt file can contain additional environment settings that you
    # want to set in U-Boot at boot time.  This can be simple variables such
    # as the serverip or custom variables.  The format of this file is:
    #    variable=value
    # NOTE: This file will be evaluated after the bootcmd is run and the
    #       bootcmd must be set to load this file if it exists (this is the
    #       default on all newer U-Boot images.  This also means that some
    #       variables such as bootdelay cannot be changed by this file since
    #       it is not evaluated until the bootcmd is run.
    
    optargs=vt.global_cursor_default=0
    

  • This looks okay. How about the output of the following command?

    => printenv

  • Unknown command '' - try 'help'
    iWave-G69M > 
    Unknown command '' - try 'help'
    iWave-G69M > 
    Unknown command '' - try 'help'
    iWave-G69M > 
    Unknown command '' - try 'help'
    iWave-G69M > <INTERRUPT>
    iWave-G69M > 
    iWave-G69M > 
    iWave-G69M > mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    iWave-G69M > printenv
    addr_fit=0x90000000
    arch=arm
    args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
    args_mmc=setenv bootpart ${mmcdev}:${mmcpart}; run finduuid;setenv bootargs console=${console} ${optargs} root=/dev/mmcblk${mmcdev}p${mmcpart} rw rootfstype=${mmcrootfstype}
    args_net=setenv bootargs console=${console} ${optargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp rootfstype=nfs
    args_usb=setenv bootpart ${mmcdev}:${mmcpart}; setenv bootargs console=${console} ${optargs} root=/dev/sda2 rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=ig69m
    board_name=ig69m
    boot=mmc
    boot_fdt=try
    boot_fit=0
    boot_targets=ospi mmc0 mmc1
    bootcmd=run envboot; run bootcmd_ti_mmc; bootflow scan -lb
    bootcmd_ti_dhcp=run init_${boot}; run update_do_main_cpsw0_qsgmii_phyinit; if test ${boot_fit} -eq 1; then run get_fit_net; run get_overlaystring; run run_fit; else; run get_kern_net; run get_fdt_net; run get_overlay_net; run run_kern; fi
    bootcmd_ti_mmc=run init_${boot}; run update_do_main_cpsw0_qsgmii_phyinit; if test ${boot_fit} -eq 1; then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; else; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; fi;
    bootcmd_ti_usb=run init_${boot}; run update_do_main_cpsw0_qsgmii_phyinit; if test ${boot_fit} -eq 1; then run get_fit_usb; run get_overlaystring; run run_fit; else; run get_kern_usb; run get_fdt_usb; run get_overlay_usb; run run_kern; fi
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootmeths=script efi extlinux
    bootpart=0:1
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS0,115200n8
    cpu=armv8
    dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1; rootfs part 0 1; tiboot3.bin.raw raw 0x0 0x400 mmcpart 1; tispl.bin.raw raw 0x400 0xc00 mmcpart 1; u-boot.img.raw raw 0x1000 0xf00 mmcpart 1 u-env.raw raw 0x1f00 0x100 mmcpart 1;
    dfu_alt_info_mmc=boot part 1 1; rootfs part 1 2; tiboot3.bin fat 1 1; tispl.bin fat 1 1; u-boot.img fat 1 1; uEnv.txt fat 1 1; sysfw.itb fat 1 1
    dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000; tispl.bin raw 0x080000 0x200000; u-boot.img raw 0x280000 0x400000; u-boot-env raw 0x680000 0x020000; sysfw.itb raw 0x6c0000 0x100000; rootfs raw 0x800000 0x3800000
    dfu_alt_info_ospi_nand=ospi_nand.tiboot3 part 1; ospi_nand.tispl part 2; ospi_nand.u-boot part 3; ospi_nand.env part 4; ospi_nand.env.backup part 5; ospi_nand.rootfs part 6; ospi_nand.phypattern part 7
    dfu_alt_info_ram=tispl.bin ram 0x80080000 0x200000; u-boot.img ram 0x83000000 0x400000
    dtboaddr=0x89000000
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if run loadbootscript; then run bootscript; else if run get_env; then echo Loaded env from ${bootenvfile}; fi; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi; fi; fi;
    envpart=1
    eth1addr=76:ca:d8:61:71:70
    ethact=ethernet@8000000port@1
    ethaddr=a0:cd:f3:77:ef:49
    ethprime=eth0
    fdt_addr_r=0x88000000
    fdtaddr=0x84000000
    fdtcontroladdr=bde590e0
    fdtfile=ti/k3-am62l3-ig69s-prgjj-04.dtb
    fdtoverlay_addr_r=0x89000000
    findfdt=echo WARN: fdtfile already set. Stop using findfdt in script
    finduuid=part uuid ${boot} ${bootpart} uuid
    get_env=if test ${boot} = "usb"; then usb start; fatload ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile}; elif test ${boot} = "mmc"; then mmc dev ${mmcdev}; mmc rescan; if test ${mmcenvdev} -eq 1; then load ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile}; else; ext4load ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootdir}/${bootenvfile}; fi; fi; env import -t ${loadaddr} ${filesize}
    get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
    get_fdt_net=${get_cmd} ${fdtaddr} ${default_device_tree}
    get_fdt_usb=load usb ${bootpart} ${fdtaddr} ${bootdir}/dtb/${name_fdt}
    get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
    get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_fit_net=${get_cmd} ${addr_fit} ${name_fit}
    get_fit_overlaystring=for overlay in $name_overlays; do; setexpr name_fit_overlay gsub / _ conf-${overlay}; setenv overlaystring ${overlaystring}'#'${name_fit_overlay}; done;
    get_fit_usb=load usb ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_kern_net=${get_cmd} ${loadaddr} ${name_kern}
    get_kern_usb=load usb ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_overlay_mmc=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} && fdt apply ${dtboaddr}; done;
    get_overlay_net=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; ${get_cmd} ${dtboaddr} ${overlay} && fdt apply ${dtboaddr}; done;
    get_overlay_usb=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; load usb ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr}; done;
    importbootenv=echo Importing environment from ${boot}${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_mmc=run args_all args_mmc
    init_net=echo Booting from net ...; run args_all args_net; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi;
    init_usb=echo Booting from usb ...; usb start; run args_all args_usb
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=if test ${boot} = "usb"; then usb start; fatload ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile}; elif test ${boot} = "mmc"; then mmc dev ${mmcdev};mmc rescan; if test ${mmcenvdev} -eq 1; then load ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile}; else; ext4load ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootdir}/${bootenvfile}; fi; fi;
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmcboot=if mmc dev ${mmcdev}; then devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados; fi; fi; fi; fi;
    mmcdev=0
    mmcenvdev=0
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run get_fdt_mmc; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcpart=1
    mmcrootfstype=ext4 rootwait
    name_fit=fitImage
    name_kern=Image
    partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rd_spec=-
    rdaddr=0x88080000
    run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
    run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
    save_env=env export -t ${loadaddr}; if test ${boot} = "usb"; then usb start; fatwrite ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile} ${filesize}; elif test ${boot} = "mmc"; then mmc dev ${mmcdev}; mmc rescan; if test ${mmcenvdev} -eq 1; then fatwrite ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootenvfile} $filesize; else; ext4write ${boot} ${mmcenvdev}:${envpart} ${loadaddr} ${bootdir}/${bootenvfile} $filesize; fi; fi;
    scriptaddr=0x80000000
    secure_rprocs=0
    soc=k3
    stderr=serial@2800000
    stdin=serial@2800000
    stdout=serial@2800000
    update_do_main_cpsw0_qsgmii_phyinit=setenv do_main_cpsw0_qsgmii_phyinit 0;
    update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
    usb_pgood_delay=2000
    vendor=ti
    
    Environment size: 7429/262140 bytes
    iWave-G69M > 

  • The "args_mmc" in your env differs from the default

    args_mmc=setenv bootpart ${mmcdev}:${mmcpart}; run finduuid;setenv bootargs console=${console} ${optargs} root=/dev/mmcblk${mmcdev}p${mmcpart} rw rootfstype=${mmcrootfstype}

    Since you are setting bootpart as part of running the args_mmc, this overwrites the bootpart var set with "setenv bootpart 0:2".

    Can you try the following commands

    => setenv mmcdev 0
    => setenv bootpart 0:2
    => setenv mmcpart 2
    => boot

  • Yes, This works 

    Is there any method to reduce the size of default image .wic file ?

    Thank you .

  • I am not the subject matter expert for the latest query. In my knowledge, there are a lot of packages, utilities, and so on built with the default WIC image. You may remvoe the ones you don't have the need for to reduce the size. There is Base WIC image as well built with Yocto much smaller in size than the default.

    Please create a new thread if you need the support for the latest query.

  • Hello , 

    I had flashed uboot binaries using DFU and then followed the steps to flash the .wic file .
    tiny image .wic file is successfully  flashed . But after observing the uboot binaries arent from the .wic file which i flashed these are from the previous binaries which i flashed through dfu tool.
    i tried replacing the binaries using ums 0 mmc 0 command binaries are replaced but while booting these binaries arent used . 
    How to update the uboot binaries (tiboot3.bin tispl.bin u-boot.img ) which are used for booting ? 
    If there is any log or steps for reference to check the flashing and booting from .wic file ?

  • I had flashed uboot binaries using DFU

    Please share the logs of the procedure you followed for this?

  • Closing this thread as the original issue is resolved and the latest issue is followed on this new thread: e2e.ti.com/.../am62l-emmc-booting-issue-using-wic-file