I am facing issue while loading u-boot. I tried loading u-boot on one of our AM64x custom board via USB-DFU. I successfully loaded tiboot3.bin and tispl.bin. After loading tispl.bin, the USB isn’t being detected in the PC hence I couldn’t load the u-boot.img file. (Screenshot of the USB-DFU utility and serial console of the board is attached below). Previously, these binaries were working fine on this board.
I tried flashing these files using dediprog at their respective location and after resetting the board, u-boot stops loading at the same location as in USB-DFU. (Screenshot of console is attached below)
Same binaries I could able to flash on other similar custom-board using dediprog and its working fine on that. (Screenshot of console is attached below)
What is the reason of this behavior and how it could be solved?
Below is the USB-DFU utility and serial-console logs.
USB-DFU utility:
Microsoft Windows [Version 10.0.19044.2604] (c) Microsoft Corporation. All rights reserved. D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>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=10, cfg=1, intf=0, path="1-6", alt=1, name="UNKNOWN", serial="UNKNOWN" Found DFU: [0451:6165] ver=0200, devnum=10, cfg=1, intf=0, path="1-6", alt=0, name="UNKNOWN", serial="UNKNOWN" D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64> D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>clear D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>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=11, cfg=1, intf=0, path="1-6", alt=1, name="SocId", serial="01.00.00.00" Found DFU: [0451:6165] ver=0200, devnum=11, cfg=1, intf=0, path="1-6", alt=0, name="bootloader", serial="01.00.00.00" D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>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/ Invalid DFU suffix signature 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% 568898 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! can't detach Resetting USB to switch back to runtime mode D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>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/ Invalid DFU suffix signature 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% 849207 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 D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>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/ Invalid DFU suffix signature A valid DFU suffix will be required in a future dfu-util release!!! No DFU capable USB device available D:\ModularRTUShare\U-Boot\dfu-util-0.9-win64>
Console log:
U-Boot SPL 2021.01-00001-gf0a5b8927d-dirty (Mar 16 2023 - 14:48:21 +0530) EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed 1 SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') esm main init failed: -19 esm mcu init failed: -19 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.03.00.002-dirty NOTICE: BL31: Built : 17:38:37, May 5 2022
Regards,
Vishal