[PATCH 0/5] EFI Capsule "dfu_alt_info" fixes for TI Boards

Siddharth Vadapalli s-vadapalli at ti.com
Sun Nov 24 06:15:29 CET 2024


Hello,

This series fixes the commits which introduced EFI Capsule support. The
blamed commits unconditionally updated "dfu_alt_info" with the
"dfu_string" corresponding to SPI Flash and therefore its associated
partitions. While this addresses use-cases where the interface is indeed
SPI Flash ("sf"), it breaks use-cases such as USB DFU Boot where the
interface is RAM ("ram").

As of commit
52c0e5f8a3 Merge branch '2024-11-22-assorted-fixes'
of the master branch of U-Boot, USB DFU Boot on AM625-SK is
non-functional. Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/726854b49eb199f4acf79028212fabdc

In order to fix this, update "dfu_alt_info" only if the interface is "sf".

The patch for AM62x in this series has been tested and it fixes USB DFU
Boot on AM625-SK. Logs:
https://gist.github.com/Siddharth-Vadapalli-at-TI/feaed5b0a30aff752306d370531a4e10

Series is based on commit
52c0e5f8a3 Merge branch '2024-11-22-assorted-fixes'
of the master branch of U-Boot.

Regards,
Siddharth.

Siddharth Vadapalli (5):
  board: ti: am64x: evm: Set "dfu_alt_info" only if interface is SPI
    Flash
  board: ti: j721e: evm: Set "dfu_alt_info" only if interface is SPI
    Flash
  board: ti: am62x: evm: Set "dfu_alt_info" only if interface is SPI
    Flash
  board: ti: am62px: evm: Set "dfu_alt_info" only if interface is SPI
    Flash
  board: ti: j784s4: evm: Set "dfu_alt_info" only if interface is SPI
    Flash

 board/ti/am62px/evm.c | 8 +++++++-
 board/ti/am62x/evm.c  | 8 +++++++-
 board/ti/am64x/evm.c  | 8 +++++++-
 board/ti/j721e/evm.c  | 8 +++++++-
 board/ti/j784s4/evm.c | 8 +++++++-
 5 files changed, 35 insertions(+), 5 deletions(-)

-- 
2.43.0



More information about the U-Boot mailing list