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.

DRA821U: eMMC boot failure after dfu-util flashing

Part Number: DRA821U

Hi TI

There's an issue from eMMC booting after dfu-util download.

After updating firmware binaries including rootfs, the eMMC booting can not be succedded with following logs.

When we check mmc part, user partition has been deleted.

Could you please check the procudure introduced in spracy5.pdf is correct?

We followed the the following steps to update firmware usinf dfu-util.

# This will download the images to the board but not flash them to eMMC
# These first set of steps are optional if you have u-boot running on the board already
HOST $ sudo dfu-util -l
HOST $ sudo dfu-util -R -a bootloader -D <PATH_TO_BIN>/tiboot3.bin
HOST $ sudo dfu-util -R -a sysfw.itb -D <PATH_TO_BIN>/sysfw.itb
HOST $ sudo dfu-util -R -a tispl.bin -D <PATH_TO_BIN>/tispl.bin
HOST $ sudo dfu-util -R -a u-boot.img -D <PATH_TO_BIN>/u-boot.img
# At this point, the u-boot will start executing. Halt at the u-boot prompt (u-boot logs will
appear on the MAIN UART 1st instance)
TARGET => env default -f -a
TARGET => setenv mmcdev 0
TARGET => setenv bootpart 0
TARGET => saveenv
TARGET => setenv dfu_alt_info ${dfu_alt_info_emmc}
# one time only per board
TARGET => gpt write mmc 0 ${partitions}
TARGET => dfu 0 mmc 0
# This does the actual flashing to the eMMC boot0 partition
HOST $ sudo dfu-util -l
HOST $ sudo dfu-util -a tiboot3.bin.raw -D <PATH_TO_BIN>/tiboot3.bin
HOST $ sudo dfu-util -a tispl.bin.raw -D <PATH_TO_BIN>/tispl.bin
HOST $ sudo dfu-util -a u-boot.img.raw -D <PATH_TO_BIN>/u-boot.img
HOST $ sudo dfu-util -a sysfw.itb.raw -D <PATH_TO_BIN>/sysfw.itb

# Flashing a tiny file system to eMMC User partition
HOST $ sudo dfu-util -a rootfs -D <PATH_TO_CREATED_TINYFS>/tinyrootfs.img
#one time only per board, to give ROM access to the boot partition, the following commands must
be used for the first time
TARGET => mmc partconf 0 1 1 1


U-Boot SPL 2020.01-dirty (Jul 27 2021 - 01:45:40 -0700)

SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

33333  do_board_detect

4444 do_board_detect()Trying to boot from MMC1

Loading Environment from MMC... *** Warning - bad CRC, using default environment

 

init_env from device 17 not supported!

Starting ATF on ARM64 core...

 

NOTICE:  BL31: v2.4(release):07.03.00.005-dirty

NOTICE:  BL31: Built : 13:45:56, Apr 10 2021

 

U-Boot SPL 2020.01-dirty (Jul 27 2021 - 01:44:44 -0700)

SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

33333  do_board_detect

4444 do_board_detect()Trying to boot from MMC1

 

 

U-Boot 2020.01-dirty (Jul 27 2021 - 22:55:07 -0700)

 

SoC:   J7200 SR1.0

Model: Texas Instruments K3 J7200 SoC

ti_i2c_eeprom_am6_parse_record: Ignoring record id 17

Board: J7200X-PM2-SOM rev E6

DRAM:  4 GiB

not found for dev hbmc-mux

Flash: 64 MiB

MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1

Loading Environment from MMC... OK

In:    serial@2800000

Out:   serial@2800000

Err:   serial@2800000

Detected: J7X-BASE-CPB rev E3

Detected: J7X-GESI-EXP rev E3

Detected: J7X-VSC8514-ETH rev E2

Net:   K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000

 

Warning: ethernet@46000000 using MAC address from ROM

eth0: ethernet@46000000

Hit any key to stop autoboot:  0

switch to partitions #0, OK

mmc0(part 0) is current device

SD/MMC found on device 0

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid GPT ***

find_valid_gpt: ***        Using Backup GPT ***

** Unrecognized filesystem type **

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid GPT ***

find_valid_gpt: ***        Using Backup GPT ***

** Unrecognized filesystem type **

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_valid_gpt: *** ERROR: Invalid GPT ***

find_valid_gpt: ***        Using Backup GPT ***

GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

find_val


Thanks.

Regards, 

Jack Cha

  • Hi

    Here is the log captured while flashing binaries.


    Uart log

     

    U-Boot SPL 2020.01-dirty (Jul 27 2021 - 01:45:40 -0700)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    33333  do_board_detect

    4444 do_board_detect()Trying to boot from DFU

    ####DOWNLOAD ... OK

    Ctrl+C to exit ...

    Loading Environment from MMC... *** Warning - No MMC card found, using default environment

     

    init_env from device 18 not supported!

    Starting ATF on ARM64 core...

     

    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty

    NOTICE:  BL31: Built : 13:45:56, Apr 10 2021

     

    U-Boot SPL 2020.01-dirty (Jul 27 2021 - 01:44:44 -0700)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    33333  do_board_detect

    4444 do_board_detect()Trying to boot from DFU

    Unable to get USB2 phy (ret -61)

    Unable to get USB3 phy (ret -61)

    DRD version v1 (ID: 0004024e, rev: 00000200)

    Initialized  ep0 support:

    Initialized  ep1out support: BULK, INT ISO

    Initialized  ep2out support: BULK, INT ISO

    Initialized  ep3out support: BULK, INT ISO

    Initialized  ep4out support: BULK, INT ISO

    Initialized  ep5out support: BULK, INT ISO

    Initialized  ep6out support: BULK, INT ISO

    Initialized  ep7out support: BULK, INT ISO

    Initialized  ep8out support: BULK, INT ISO

    Initialized  ep9out support: BULK, INT ISO

    Initialized  ep10out support: BULK, INT ISO

    Initialized  ep11out support: BULK, INT ISO

    Initialized  ep12out support: BULK, INT ISO

    Initialized  ep13out support: BULK, INT ISO

    Initialized  ep14out support: BULK, INT ISO

    Initialized  ep15out support: BULK, INT ISO

    Initialized  ep1in support: BULK, INT ISO

    Initialized  ep2in support: BULK, INT ISO

    Initialized  ep3in support: BULK, INT ISO

    Initialized  ep4in support: BULK, INT ISO

    Initialized  ep5in support: BULK, INT ISO

    Initialized  ep6in support: BULK, INT ISO

    Initialized  ep7in support: BULK, INT ISO

    Initialized  ep8in support: BULK, INT ISO

    Initialized  ep9in support: BULK, INT ISO

    Initialized  ep10in support: BULK, INT ISO

    Initialized  ep11in support: BULK, INT ISO

    Initialized  ep12in support: BULK, INT ISO

    Initialized  ep13in support: BULK, INT ISO

    Initialized  ep14in support: BULK, INT ISO

    Initialized  ep15in support: BULK, INT ISO

    #####DOWNLOAD ... OK

    Ctrl+C to exit ...

     

     

    U-Boot 2020.01-dirty (Jul 27 2021 - 22:55:07 -0700)

     

    SoC:   J7200 SR1.0

    Model: Texas Instruments K3 J7200 SoC

    ti_i2c_eeprom_am6_parse_record: Ignoring record id 17

    Board: J7200X-PM2-SOM rev E6

    DRAM:  4 GiB

    not found for dev hbmc-mux

    Flash: 64 MiB

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1

    Loading Environment from MMC... OK

    In:    serial@2800000

    Out:   serial@2800000

    Err:   serial@2800000

    Detected: J7X-BASE-CPB rev E3

    Detected: J7X-GESI-EXP rev E3

    Detected: J7X-VSC8514-ETH rev E2

    Net:   K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000

     

    Warning: ethernet@46000000 using MAC address from ROM

    eth0: ethernet@46000000

    Hit any key to stop autoboot:  0

    =>

    => env default -f -a

    ## Resetting to default environment

    => setenv mmcdev 0

    => setenv bootpart 0

    => saveenv

    Saving Environment to MMC... Writing to MMC(0)... OK

    => setenv dfu_alt_info ${dfu_alt_info_emmc}

    => gpt write mmc 0 ${partitions}

    Writing GPT: success!

    => dfu 0 mmc 0

    Unable to get USB2 phy (ret -61)

    Unable to get USB3 phy (ret -61)

    DRD version v1 (ID: 0004024e, rev: 00000200)

    Initialized  ep0 support:

    Initialized  ep1out support: BULK, INT ISO

    Initialized  ep2out support: BULK, INT ISO

    Initialized  ep3out support: BULK, INT ISO

    Initialized  ep4out support: BULK, INT ISO

    Initialized  ep5out support: BULK, INT ISO

    Initialized  ep6out support: BULK, INT ISO

    Initialized  ep7out support: BULK, INT ISO

    Initialized  ep8out support: BULK, INT ISO

    Initialized  ep9out support: BULK, INT ISO

    Initialized  ep10out support: BULK, INT ISO

    Initialized  ep11out support: BULK, INT ISO

    Initialized  ep12out support: BULK, INT ISO

    Initialized  ep13out support: BULK, INT ISO

    Initialized  ep14out support: BULK, INT ISO

    Initialized  ep15out support: BULK, INT ISO

    Initialized  ep1in support: BULK, INT ISO

    Initialized  ep2in support: BULK, INT ISO

    Initialized  ep3in support: BULK, INT ISO

    Initialized  ep4in support: BULK, INT ISO

    Initialized  ep5in support: BULK, INT ISO

    Initialized  ep6in support: BULK, INT ISO

    Initialized  ep7in support: BULK, INT ISO

    Initialized  ep8in support: BULK, INT ISO

    Initialized  ep9in support: BULK, INT ISO

    Initialized  ep10in support: BULK, INT ISO

    Initialized  ep11in support: BULK, INT ISO

    Initialized  ep12in support: BULK, INT ISO

    Initialized  ep13in support: BULK, INT ISO

    Initialized  ep14in support: BULK, INT ISO

    Initialized  ep15in support: BULK, INT ISO

    ##DOWNLOAD ... OK

    Ctrl+C to exit ...

    ####DOWNLOAD ... OK

    Ctrl+C to exit ...

    #####DOWNLOAD ... OK

    Ctrl+C to exit ...

     

     

     

    VMware 상의 command

     

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -l

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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:6164] ver=0200, devnum=42, cfg=1, intf=0, path="3-2", alt=1, name="SocId", serial="01.00.00.00"

    Found DFU: [0451:6164] ver=0200, devnum=42, cfg=1, intf=0, path="3-2", alt=0, name="bootloader", serial="01.00.00.00"

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -R -a bootloader -D ./tiboot3.bin

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #0 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 512

    Copying data from PC to DFU device

    Download         [=========================] 100%       522913 bytes

    Download done.

    DFU state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    dfu-util: can't detach

    Resetting USB to switch back to Run-Time mode

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -R -a tispl.bin -D ./tispl.bin

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #0 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%       863912 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    Resetting USB to switch back to Run-Time mode

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -R -a u-boot.img -D ./u-boot.img

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #1 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%      1048868 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    Resetting USB to switch back to Run-Time mode

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -l

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=6, name="sysfw.itb.raw", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=5, name="u-env.raw", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=4, name="u-boot.img.raw", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=3, name="tispl.bin.raw", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=2, name="tiboot3.bin.raw", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=1, name="rootfs", serial="0000000000000079"

    Found DFU: [0451:6164] ver=0224, devnum=44, cfg=1, intf=0, path="3-2", alt=0, name="rawemmc", serial="0000000000000079"

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-

    dfu-prefix  dfu-suffix  dfu-tool    dfu-util   

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./ti

    tiboot3.bin           tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a tiboot3.bin.raw -D ./tiboot3.bin

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #2 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%       522913 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin             

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tis

    tisdk-tiny-image.img  tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo tispl.bin.raw -D ./tispl.bin

    sudo: tispl.bin.raw: command not found

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a  tispl.bin.raw -D ./tispl.bin

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #3 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%       863912 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a u-boot.img.raw -D ./u-boot.img

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #4 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%      1048868 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/                

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./d

    dasarootfs.tar.gz  dev/               ds/               

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./t

    tgu_default.ext4      tisdk-tiny-image.img  tmp/                 

    tiboot3.bin           tispl.bin            

    dongsukkim@ubuntu:~/evm-07_03/dasanfs$ sudo dfu-util -a rootfs -D ./tgu_default.ext4

    dfu-util 0.10-dev

     

    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.

    Copyright 2010-2021 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: Warning: Invalid DFU suffix signature

    dfu-util: A valid DFU suffix will be required in a future dfu-util release

    Opening DFU capable USB device...

    Device ID 0451:6164

    Device DFU version 0110

    Claiming USB DFU Interface...

    Setting Alternate Interface #1 ...

    Determining device status...

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    DFU mode device DFU version 0110

    Device returned transfer size 4096

    Copying data from PC to DFU device

    Download         [=========================] 100%   1782579200 bytes

    Download done.

    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present

    DFU state(2) = dfuIDLE, status(0) = No error condition is present

    Done!


  • Hi Jack,

    I'm assuming this was resolved, can you please confirm if you need help here or not?

    Regards

    Karan

  • Hi Karan

    I remember dfc-util seems support tiby image only. 

    Can you please check if dfu-util able to support ti-default image too?

    Thanks.

    Regards, 

    Jack

  • Hi Jack,

    dfu-util should be able to flash any image but that would be slow.

    I would suggest the faster way would be to get to a tiny file system and then maybe use USB to flash the full file system.

    Or if there is an option to boot from SD card then boot till kernel and from there flash the eMMC from the image in the SD card.

    Also please refer the app note for more details on the flashing techniques - https://www.ti.com/lit/pdf/spracy5 

    Regards

    Karan