mbox series

[0/2] qcom: capsule update prep (DFU scsi + GPT part type flags)

Message ID 20240409-b4-dfu-scsi-v1-0-3e1441a60376@linaro.org
Headers show
Series qcom: capsule update prep (DFU scsi + GPT part type flags) | expand

Message

Caleb Connolly April 9, 2024, 1:55 p.m. UTC
This series adds two missing features necessary for Capsule updates to
work on Qualcomm platforms.

It introduces a DFU SCSI backend, necessary to support capsule updates
on devices with UFS storage.

It also adjusts the partition framework to export the GPT vendor
attribute bits for each partition. These bits are used on Qualcomm
Android and IoT platforms to encode the A/B slot data. They are used on
Chromebooks for roughly the same purpose but with an entirely
incompatible encoding.

---
Caleb Connolly (2):
      dfu: add scsi backend
      disk: expose partition type flags

 disk/part_efi.c        |   1 +
 doc/usage/dfu.rst      |  31 ++++
 drivers/dfu/Kconfig    |   7 +
 drivers/dfu/Makefile   |   1 +
 drivers/dfu/dfu.c      |   5 +-
 drivers/dfu/dfu_scsi.c | 437 +++++++++++++++++++++++++++++++++++++++++++++++++
 include/dfu.h          |  26 +++
 include/part.h         |   1 +
 8 files changed, 508 insertions(+), 1 deletion(-)
---
change-id: 20240409-b4-dfu-scsi-9d460ff99796
base-commit: a96a91644cdd9d58596908edc38b5d934d99fc34

Caleb Connolly <caleb.connolly@linaro.org>