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.

SK-AM64: SK-AM64

Part Number: SK-AM64

I encountered this problem while upgrading uboot with DFU.

https://software-dl.ti.com/processor-sdk-linux-rt/esd/docs/08_00_00_21/linux/Foundational_Components/U-Boot/UG-DFU.htm

The linked document above says to execute these two commands:

sudo dfu-util -R -a bootloader -D tiboot3.bin

sudo dfu-util -l

After that, you can burn u-boot.img and tispl.bin

 my log is not like this:

  Found DFU: [0451:6165] ver=0224, devnum=11, cfg=1, intf=0, path="1-2.2", alt=1, name="u-boot.img", serial="UNKNOWN"
  Found DFU: [0451:6165] ver=0224, devnum=11, cfg=1, intf=0, path="1-2.2", alt=0, name="tispl.bin", serial="UNKNOWN"

My log is not like this, but like this:

weicheng@cvte:~/ti-processor-sdk-linux-rt-am64xx-evm-08.00.00.21/board-support/k3-image-gen-2021.05$ 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 sourceforge.net/.../

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:6165
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% 431118 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
weicheng@cvte:~/ti-processor-sdk-linux-rt-am64xx-evm-08.00.00.21/board-support/k3-image-gen-2021.05$ 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 sourceforge.net/.../

weicheng@cvte:~/ti-processor-sdk-linux-rt-am64xx-evm-08.00.00.21/board-support/k3-image-gen-2021.05$ uname -a
Linux cvte 5.4.0-81-generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
weicheng@cvte:~/ti-processor-sdk-linux-rt-am64xx-evm-08.00.00.21/board-support/k3-image-gen-2021.05$

My Ubuntu is installed in the VirtualBox

What's the reason??


  • Hi Cheng Wei,
    I'll check DFU utility with SDK 8.0.0, and get back to you.
    Best,
    -Hong

  • HI  Hong,

     I think after this log appears, the USB cable can no longer be connected 

    “dfu-util: can't detach
    Resetting USB to switch back to Run-Time mode”

  • Hi Cheng Wei,

    Thanks for additional info, and will get back to you once I check it up on my setup.

    Best,

    -Hong

  • Hi Hong,

         I set it up on my SK-AM64 board. 

    If usb cable doesn't connect to board, run "sudo dfu-util -l", then it prompt as below shown. 

    "

    dfu-util 0.9

    Copyright 2005-2009 Westion 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 sourceforge.net/.../

    "

    So it seems that it can not work with DFU and SK-AM64 USB3.1 interface. 

  • Hi Cheng Wei,
    I tested DFU using the prebuilt binary from AM64x Linux SDK 8.0.0 package on AM64x GP EVM.
    I used the steps as outlined in
    software-dl.ti.com/.../UG-DFU.html

    I'm attaching two files for your reference:
    1. am6_dfu_host.txt: Linux host DFU cmds
    2. am6_8.0.0_dfu_boot.txt: boot log from serial port uart0.

    Best,
    -Hong

    am6_dfu_host.txt
    sitara@sitara-Latitude-E6410:~/am6/sdk8.0.0_gp/board-support/prebuilt-images$ sudo dfu-util -l
    dfu-util 0.8
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2014 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to dfu-util@lists.gnumonks.org
    
    Found DFU: [0451:6165] ver=0200, devnum=55, cfg=1, intf=0, alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6165] ver=0200, devnum=55, cfg=1, intf=0, alt=0, name="bootloader", serial="01.00.00.00"
    
    sitara@sitara-Latitude-E6410:~/am6/sdk8.0.0_gp/board-support/prebuilt-images$ sudo dfu-util -R -a bootloader -D tiboot3.bin
    dfu-util 0.8
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2014 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to dfu-util@lists.gnumonks.org
    
    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%       431102 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!
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    
    sitara@sitara-Latitude-E6410:~/am6/sdk8.0.0_gp/board-support/prebuilt-images$ sudo dfu-util -R -a tispl.bin -D tispl.bin
    dfu-util 0.8
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2014 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to dfu-util@lists.gnumonks.org
    
    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%       723856 bytes
    Download done.
    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
    
    sitara@sitara-Latitude-E6410:~/am6/sdk8.0.0_gp/board-support/prebuilt-images$ sudo dfu-util -R  -a u-boot.img -D u-boot.img
    dfu-util 0.8
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2014 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to dfu-util@lists.gnumonks.org
    
    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%      1006404 bytes
    Download done.
    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
    
    sitara@sitara-Latitude-E6410:~/am6/sdk8.0.0_gp/board-support/prebuilt-images$ 
    
    

    am6_8.0.0_dfu_boot.txt
    U-Boot SPL 2021.01-g53e79d0e89 (Aug 10 2021 - 21:47:42 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    SPL initial stack usage: 13392 bytes
    Trying to boot from DFU
    ####################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    init_env from device 10 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.5(release):08.00.00.004-dirty
    NOTICE:  BL31: Built : 21:46:29, Aug 10 2021
    
    U-Boot SPL 2021.01-g53e79d0e89 (Aug 10 2021 - 21:47:02 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    Trying to boot from DFU
    ####DOWNLOAD ... OK
    Ctrl+C to exit ...
    
    
    U-Boot 2021.01-g53e79d0e89 (Aug 10 2021 - 21:47:02 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  1  0 
    =>