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-AM62B-P1: DFU booting error - yocto build

Part Number: SK-AM62B-P1

Tool/software:

Hi,

I have done a  YOCTO build for am62xx , and I have enabled USB, DFU properties using u-boot menuconfig,

When I try to boot using tiboot3, it shows the following error:

U-Boot SPL 2023.04-ti-g836606420854 (May 09 2024 - 05:42:45 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)')
SPL initial stack usage: 13408 bytes
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

i also checks with SDK , it works fine for me .

can you provide me which all configs as to be enabled (r5,a53) for the correct yocto build ..

Regards,

-RJ

  • Hi,

    I don't know about Yocto, but when using DFU, please use U-Boot defconfig "am62x_r5_usbdfu.config" to enable all the relevant config options.

  • Hi Bin Liu,

    In my yocto build there is a similar file am62x_evm_r5_usbdfu_defconfig ,  i enabled all the configs shown in the "am62x_r5_usbdfu.config"

    then test using the yocto  build binaries , now the issue is its not showing proper logs in terminal , not able to send other binaries properly .

    attaching  boot logs,

    U-Boot SPL 2023.04-ti-g836606420854 (May 09 2024 - 05:42:45 +0000)
    0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    e: 13408 bytes

    -> boot logs are not visible properly

    attaching  dfu logs

     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%       295502 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

     

  • The subject owner is currently out of office, please expect a response later this week or early next week.

  • Hi,

    U-Boot SPL 2023.04-ti-g836606420854 (May 09 2024 - 05:42:45 +0000)
    0x0009 '9.2.8--v09.02.08 (Kool Koala)')
    e: 13408 bytes

    The board console log misses the next line:

        Trying to boot from DFU

    which basically means you didn't enable DFU properly in U-Boot.

    i enabled all the configs shown in the "am62x_r5_usbdfu.config"

    Were you manually enabling the config options in this defconfig? You should directly use this defconfig to build U-Boot.

    $ make ... am62x_r5_usbdfu.config