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.

J722SXH01EVM: [TDA4AEN] Is there a tool in eMMC to write images?

Part Number: J722SXH01EVM

Hi.
I have a J722S-EVM EVKIT.
I have confirmed that I can boot to eMMC by making it so that it can be booted to eMMC after booting to an SD card.

I couldn't find a tool to easily write images to eMMC via USB port.
Is there any tool that can write images to enable eMMC boot via gui tool without booting and entering commands with SD card?

  • Hello,
    Thank you for your inquiry. **Gokul Praveen** is currently on leave and will be available on **2026-03-17**.
    Your query will be addressed upon their return. We appreciate your patience and understanding.
    Best regards,
    TI E2E Support Team
    ---
    *This is an automated notification.*

  • Hi Lee,

    Is there any tool that can write images to enable eMMC boot via gui tool without booting and entering commands with SD card?

    Currently, there is no tool to enable emmc via gui tool without booting and entering commands with SD card.

    However, you can flash to emmc via DFU boot mode.The below link has the reference for the same.

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j722s/11_01_00_03/exports/docs/linux/Foundational_Components/U-Boot/UG-DFU.html

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j722s/11_01_00_03/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory-K3.html#:~:text=3%2E1%2E1%2E5%2E2%2E6%2E%20Flashing%20an%20MMC%20device%20using%20USB%2DDFU%EF%83%81

    Also please apply this patch from the <UBOOT FOLDER> for dfu boot mode.

    diff --git a/configs/j722s_evm_a53_defconfig b/configs/j722s_evm_a53_defconfig
    index d4be8eaf0fc..30cb728fb15 100644
    --- a/configs/j722s_evm_a53_defconfig
    +++ b/configs/j722s_evm_a53_defconfig
    @@ -10,6 +10,7 @@ CONFIG_TARGET_J722S_A53_EVM=y
     CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
     CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
     CONFIG_SF_DEFAULT_SPEED=25000000
    +CONFIG_SYS_MALLOC_LEN=0x2000000
     CONFIG_ENV_SIZE=0x40000
     CONFIG_DM_GPIO=y
     CONFIG_SPL_DM_SPI=y
    

    Best Regards

    Gokul Praveen

  • Hi Gokul Praveen.

    Patch:

    diff --git a/configs/j722s_evm_a53_defconfig b/configs/j722s_evm_a53_defconfig
    index 6af8241a067..3bc992f5c66 100644
    --- a/configs/j722s_evm_a53_defconfig
    +++ b/configs/j722s_evm_a53_defconfig
    @@ -10,6 +10,7 @@ CONFIG_TARGET_J722S_A53_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
    CONFIG_SF_DEFAULT_SPEED=25000000
    +CONFIG_SYS_MALLOC_LEN=0x2000000

    build:

    rm -rf output/*
    sync
    
    make ARCH=arm O=output/r5 j722s_evm_r5_defconfig am62x_r5_usbdfu.config
    make ARCH=arm O=output/r5 CROSS_COMPILE="$CROSS_COMPILE_32" BINMAN_INDIRS=/home/LJH117/sdk/board-support/prebuilt-images
    
    make ARCH=arm O=output/a53 j722s_evm_a53_defconfig
    make ARCH=arm O=output/a53 CROSS_COMPILE="$CROSS_COMPILE_64" CC="$CC_64" BL31=/home/LJH117/sdk/board-support/prebuilt-images/bl31.bin TEE=/home/LJH117/sdk/board-support/prebuilt-images/bl32.bin BINMAN_INDIRS=/home/LJH117/sdk/board-support/prebuilt-images
    
    rm -rf output/*
    sync
    
    make ARCH=arm O=output/r5 j722s_evm_r5_defconfig am62x_r5_usbdfu.config
    make ARCH=arm O=output/r5 CROSS_COMPILE="$CROSS_COMPILE_32" BINMAN_INDIRS=/home/LJH117/sdk/board-support/prebuilt-images
    
    make ARCH=arm O=output/a53 j722s_evm_a53_defconfig
    make ARCH=arm O=output/a53 CROSS_COMPILE="$CROSS_COMPILE_64" CC="$CC_64" BL31=/home/LJH117/sdk/board-support/prebuilt-images/bl31.bin TEE=/home/LJH117/sdk/board-support/prebuilt-images/bl32.bin BINMAN_INDIRS=/home/LJH117/sdk/board-support/prebuilt-images
    

    use dfu-utils:

    s:\dfu-util-0.9-win64\dfu-util-0.9-win64> dfu-util.exe -l
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
    
    Found DFU: [0451:6165] ver=0200, devnum=61, cfg=1, intf=0, path="1-2", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6165] ver=0200, devnum=61, cfg=1, intf=0, path="1-2", alt=0, name="bootloader", serial="01.00.00.00"
    
    
    
    
    
    s:\dfu-util-0.9-win64\dfu-util-0.9-win64>dfu-util-static.exe -R -a bootloader -D tiboot3.bin
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
    
    Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6165
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from PC to DFU device
    Download        [=========================] 100%       341845 bytes
    Download done.
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode

    j722s evklt dbg uart:

    U-Boot SPL 2025.01 (Mar 24 2026 - 04:50:28 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000b '11.0.9--v11.00.09+ (Fancy Rat)')
    SPL initial stack usage: 17064 bytes
    Trying to boot from DFU
    No USB device found
    udc_device_get_by_index failed
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###
    

    u-boot commit:

    commit 70667128cb5b2c2a7621965ba948b5a56a2e756f (tag: cicd.scarthgap.202504090823, tag: 11.00.10)
    Author: Santhosh Kumar K <s-k6@ti.com>
    Date:   Wed Mar 26 18:58:27 2025 +0530
    
        FROMLIST: configs: am62px: Add UBIFS support
        
        Add UBIFS support on top of MTD devices by enabling the required
        configs.
        
        Link: https://lore.kernel.org/u-boot/20250326121220.1831975-1-s-k6@ti.com/T/#mfd329583b04de5959da336f081271972f539d8e5
        Signed-off-by: Santhosh Kumar K <s-k6@ti.com>

    An error occurs.
    Is there anything else I need to revise?

    Thanks.

  • Hi Gokul Praveen,

    Sorry, it was a problem that was caused by my wrong build.

    Referring to the link you sent me, I confirmed that the bootloader is written well.

    I want to create an integrated image divided up to the rootfs partition that can be booted with emmc, and write this integrated image in one process.
    Is there a way?
    Is it possible to write an integrated image through dfu-utils?

    thanks.

  • Hello,
    Thank you for your inquiry. **Gokul Praveen** is currently on leave and will be available on **2026-03-27**.
    Your query will be addressed upon their return. We appreciate your patience and understanding.
    Best regards,
    TI E2E Support Team
    ---
    *This is an automated notification.*

  • Hi LEE,

    Apologies for the delay.

    I want to create an integrated image divided up to the rootfs partition that can be booted with emmc, and write this integrated image in one process.
    Is there a way?
    Is it possible to write an integrated image through dfu-utils?

    We are sorry to say that currently we do not have support for this feature.

    Best Regards

    Gokul Praveen