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.

AM625: u-boot tispl.bin ti-sci authentication failed

Part Number: AM625

I am trying to boot u-boot on an HS AM625 device, i have changed the keys in "arch/arm/mack-k3/keys" to my custom keys, and i know the signing works because my tiboot3.bin file boots on the device no problem. My issue arrised when the R5 SPL tries loading tispl.bin. I get the following error:

```

U-Boot SPL 2026.01-ti-g127a42c7257a (Jan 05 2026 - 20:49:22 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000c '12.0.2--v12.00.02 (Clever Cat)')
Changed A53 CPU frequency to 1250000000Hz (T grade) in DT
SPL initial stack usage: 13384 bytes
Trying to boot from DFU
dwc3-am62 dwc3-usb@f900000: unable to get ti,syscon-phy-pll-refclk regmap
#####DOWNLOAD ... OK
Ctrl+C to exit ...
####DOWNLOAD ... OK
Ctrl+C to exit ...
ti_sci system-controller@44043000: Message not acknowledged
Authentication failed!
### ERROR ### Please RESET the board ###

```

  • I'm attaching a pair of dfu working log (one host side, one target side) with AM62x 12.0.0.7.4 on AM62-SK (HS-SE).
    Do we have usb-dfu working on your setup previously?
    Best,
    -Hong

    U-Boot SPL 2026.01-g2549829cc194-dirty (Jul 20 2026 - 14:43:18 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000c '12.0.2--v12.00.02 (Clever Cat)')
    Set clock rates for '/a53@0', CPU: 1250MHz at Speed Grade 'T'
    SPL initial stack usage: 13432 bytes
    Trying to boot from DFU
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from nowhere... OK
    init_env from device 10 not supported!
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.14.0(release):sandbox/v2.14-472-g76500ceaee
    NOTICE:  BL31: Built : 11:33:22, Feb  2 2026
    
    U-Boot SPL 2026.01-g2549829cc194-dirty (Jul 20 2026 - 14:43:54 -0500)
    SYSFW ABI: 4.0 (firmware rev 0x000c '12.0.2--v12.00.02 (Clever Cat)')
    SPL initial stack usage: 2048 bytes
    MMC: no card present
    ** Bad device specification mmc 1 **
    Couldn't find partition mmc 1:1
    Error: could not access storage.
    Trying to boot from DFU
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    
    
    U-Boot 2026.01-g2549829cc194-dirty (Jul 20 2026 - 14:43:54 -0500)
    
    SoC:   AM62X SR1.0 HS-SE
    Reset reason: POR
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -19
    DRAM:  2 GiB
    Core:  93 devices, 35 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial
    Out:   serial
    Err:   serial
    EEPROM not available at 0x50, trying to read at 0x51
    Net:   eth0: ethernet@8000000port@1
    
    Hit any key to stop autoboot:  2 
    Hit any key to stop autoboot: 1
    Hit any key to stop autoboot: 0
    => 

    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/r5$ 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=118, cfg=1, intf=0, path="1-1", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6165] ver=0200, devnum=118, cfg=1, intf=0, path="1-1", alt=0, name="bootloader", serial="01.00.00.00"
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/r5$ sudo dfu-util -R -a bootloader -D tiboot3-am62x-hs-evm.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%       304650 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
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/r5$ cd ..
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu$ cd a53
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/a53$ sudo dfu-util -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%      1330059 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
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/a53$ sudo dfu-util -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%      1448531 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
    jason@laptop:~/am6/am62_12.0.0.7.4/board-support/u-boot-build_dfu/a53$ 
    
    
    

  • My DFU-USB setup workes fine on our hs_fs hardware, however tispl will not load after burning the keys and turning the device into an HS device.

    I suspect this is an issue with the signing of the firmware in tispl.bin however i do not have access to my work computer right now.

  • I'd recommend having a review on tispl.bin signing process with the customer key.
    Best,
    -Hong