U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFT v2 0/3] fastboot: add support for generic block flashing
@ 2025-04-09  7:58 neil.armstrong
  2025-04-09  7:58 ` [PATCH RFT v2 1/3] fastboot: blk: introduce fastboot block flashing support neil.armstrong
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: neil.armstrong @ 2025-04-09  7:58 UTC (permalink / raw)
  To: Tom Rini, Mattijs Korpershoek; +Cc: u-boot, Neil Armstrong, Dmitrii Merkurev

This serie permits using any block device as target
for fastboot by moving the generic block logic into
a common set of helpers and also use them as generic
backend.

The erase logic has been extended to support software
erase since only 2 block drivers exposes the erase
operation.

Tests are welcome to make sure this series doesn't
introduce any regressions on the emmc backend.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Dropped applied virtio erase patch
- Reorganize patches, introducing helpers first, using them in mmc afterwards
- Added soft-erase logic
- Added move helpers to handle the partitions erase & flash from emmc
- Fixed const var on last patch
- Link to v1: https://lore.kernel.org/all/20240306185921.1854109-1-dimorinny@google.com/

---
Dmitrii Merkurev (3):
      fastboot: blk: introduce fastboot block flashing support
      fastboot: blk: switch emmc to use the block helpers
      fastboot: integrate block flashing back-end

 drivers/fastboot/Kconfig      |  20 ++-
 drivers/fastboot/Makefile     |   4 +-
 drivers/fastboot/fb_block.c   | 313 ++++++++++++++++++++++++++++++++++++++++++
 drivers/fastboot/fb_command.c |   8 ++
 drivers/fastboot/fb_common.c  |  16 ++-
 drivers/fastboot/fb_getvar.c  |   8 +-
 drivers/fastboot/fb_mmc.c     | 210 ++--------------------------
 include/fb_block.h            | 104 ++++++++++++++
 8 files changed, 477 insertions(+), 206 deletions(-)
---
base-commit: f892a7f397a66d8d09f418d1e0e06dfb48bac27d
change-id: 20250408-topic-fastboot-blk-c5e14cd59224

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-04-29 16:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09  7:58 [PATCH RFT v2 0/3] fastboot: add support for generic block flashing neil.armstrong
2025-04-09  7:58 ` [PATCH RFT v2 1/3] fastboot: blk: introduce fastboot block flashing support neil.armstrong
2025-04-22 13:17   ` Mattijs Korpershoek
2025-04-23  7:38     ` Neil Armstrong
2025-04-29  8:04       ` Mattijs Korpershoek
2025-04-29 10:45         ` Dmitrii Merkurev
2025-04-29 12:32           ` Mattijs Korpershoek
2025-04-29 13:04             ` neil.armstrong
2025-04-29 16:22         ` neil.armstrong
2025-04-09  7:58 ` [PATCH RFT v2 2/3] fastboot: blk: switch emmc to use the block helpers neil.armstrong
2025-04-09  7:58 ` [PATCH RFT v2 3/3] fastboot: integrate block flashing back-end neil.armstrong
2025-04-14  9:13 ` [PATCH RFT v2 0/3] fastboot: add support for generic block flashing Neil Armstrong
2025-04-14  9:21   ` Mattijs Korpershoek
2025-04-17 14:58 ` Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox