TDA4VEN-Q1: J722S EVM , DFU boot

Part Number: TDA4VEN-Q1

Tool/software:

Dear expert, 

I am trying to test the DFU boot on J722S EVM. But I can't find the DFU device on ubuntu. Same method I have tested on other device. 

1. It may the boot mode is not correct, pls double confirm : SW3[1-8] : 1100 1011 SW4[1-8]: 0010 0000 

2. Do we test on EVM for the feature , can you pls try on your side for this one ?

Regards,

Fredy Zhang

  • Diwakar, 

    Can you pls check my question again ? It's not relative to my questions. It's image building for DFU. 

    Rgeards,

    Fredy Zhang

  • HI Fredy

    To keep the device in DFU boot mode DIP switch configuration on the EVM are 

    SW3[1-8]= 11001010

    SW4[1-8] = 00000000

    also make sure that  USB0 port in UFP/DRP mode: SW2[2:3] = 01 or 00

    Regards
    Diwakar

  • The setting is for DFU . That works. But DFU have some error. 

    `

    [SDK-1000-j722s-DRA829]:~/startjacinto/tools/host-tools/k3-bootswitch/bin/j722s-evm> sudo dfu-util -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=34, cfg=1, intf=0, path="3-4", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6165] ver=0200, devnum=34, cfg=1, intf=0, path="3-4", alt=0, name="bootloader", serial="01.00.00.00"
    [SDK-1000-j722s-DRA829]:~/startjacinto/tools/host-tools/k3-bootswitch/bin/j722s-evm> sudo dfu-util -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/
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: 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%       350004 bytes
    Download done.
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    dfu-util: unable to read DFU status after completion
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    

  • HI

    I tested at my end on 10.00 SDK and its working for me.

    Switch configuration 

    SW3[1-8]= 11001010

    SW4[1-8] = 00000000

    Target Logs:

    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 16:24:07 +0530)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 17048 bytes
    Trying to boot from DFU
    ###################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    Authentication passed
    init_env from device 10 not supported!
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2024.04-dirty (Dec 02 2024 - 16:27:12 +0530)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from DFU
    #####DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-dirty (Dec 02 2024 - 16:27:12 +0530)
    
    SoC:   J722S SR1.0 HS-FS
    Model: Texas Instruments J722S EVM
    DRAM:  2 GiB (effective 8 GiB)
    Core:  79 devices, 29 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    => 
    => 
    => 
    

    Host logs:

    sudo dfu-util -v -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/
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: 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%       349928 bytes
    Download done.
    Sent a total of 349928 bytes
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    dfu-util: unable to read DFU status after completion
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    0.00user 0.00system 0:02.47elapsed 0%CPU (0avgtext+0avgdata 2688maxresident)k
    0inputs+0outputs (0major+223minor)pagefaults 0swaps
    
    
     sudo time  dfu-util -v -R -a tispl.bin -D tispl.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/
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: 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 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1026819 bytes
    Download done.
    Sent a total of 1026819 bytes
    state(7) = dfuMANIFEST, 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
    0.00user 0.00system 0:02.40elapsed 0%CPU (0avgtext+0avgdata 3328maxresident)k
    0inputs+0outputs (0major+386minor)pagefaults 0swaps
    
    
    sudo time  dfu-util -v -R -a  u-boot.img  -D u-boot.img
    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/
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: 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 #1 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1182619 bytes
    Download done.
    Sent a total of 1182619 bytes
    state(7) = dfuMANIFEST, 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
    0.00user 0.00system 0:02.93elapsed 0%CPU (0avgtext+0avgdata 3584maxresident)k
    0inputs+0outputs (0major+426minor)pagefaults 0swaps
    
    

    Images :

    tiboot3-j722s-hs-fs-evm.bin

    1300.tispl.bin

    6170.u-boot.img

    Regards
    Diwakar