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.

Linux/AM5728: DFU with USB boot

Part Number: AM5728

Tool/software: Linux

Hi.

we want to run dfu with usbboot on AM5728 EVM Board because our custom board don't have sdcard slot.

we review Flashing_binariesto_the_factory_boards_using_Device_Firmware_Upgrade(DFU).pdf and Linux Core U-Boot User's Guide.pdf.

host(Ubuntu) connect usb cable to USB1(3.0) or USB2(micro usb, 2.0)  in AM5728 EVM. but our  host(Ubuntu) don't have message about ASIC.

We attach usbbot (download from TI site) and u-boot-spl.bin(we compiled it)

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/dfu.7z

./usbboot -S u-boot-spl.bin , but i don't find message about ASIC.

we got  u-boot-spl.bin as following with menuconfig.

 -> menuconfig->SPL/TPL--->
  -> [*] Support booting from RAM
  -> [*] Support USB Gadget drivers
     -> [*] Support DFU (Device Firmware Upgrade)

 -> menuconfig--->Command Line interface
     [ ] Use hush shell  : unselect.

and then we had same result without meuconfig.

How do i usbboot on AM5728 EVM.

  • Joonho,

    You cannot validate DFU boot on AM5728EVM.
    AM5728 ROM only supports USB peripheral boot on USB1 port, but AM5728 USB1 port is in host-only mode. DFU requires USB peripheral port.
  • Hi.

    AM572x USB2 port (limited to USB 2.0 High-Speed) --> microUSB B connector (Client mode only) in AM572x General Purpose EVM HW User Guide.

    and then, Why dfu don't support USB2(microUSB connector) ?  Is it right that TRM 33.3.5 Peripheral Booting only support USB1: High-, and Full-speed USB from USB1 internal transceivers.

    "Figure 33-11. Synchronization Phase for USB" say USB1 automatically run  as Device mode in 3-second. Is ir right ?

    we have plan that uart3 will attach ir receiver. and then uart3 don't use serial boot mode.

    How do we for supporing usbboot in our custom AM572x board(empty eMMC) ?

  • For your custom board you would have to use USB1 as a client, not a host, for usbboot.

    Steve K.