mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] fastboot: fix handling of non-existent partitions
@ 2025-04-28 12:52 Ahmad Fatoum
  2025-04-28 12:52 ` [PATCH 1/6] fastboot: terminate request for non-file-backed partition properly Ahmad Fatoum
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ahmad Fatoum @ 2025-04-28 12:52 UTC (permalink / raw)
  To: barebox

To allow flashing an image with a partition table followed by an image
for a specific partition, the fastboot implementation was changed to
evaluate partitions on demand.

This introduced issues around handling of non-existent files, which
should be resolved by this series.

I think it's fine for the series to go through next, but would like at
least the first patch to go into master.

Ahmad Fatoum (6):
  fastboot: terminate request for non-file-backed partition properly
  fastboot: introduce fastboot_tx_print_var() helper
  fastboot: don't populate partition variables unconditionally
  fastboot: only populate variables explicitly asked for
  fastboot: factor out fb_file_getsize
  fastboot: check for file existence before flashing/erasing

 common/fastboot.c | 138 ++++++++++++++++++++++++++++++++--------------
 1 file changed, 98 insertions(+), 40 deletions(-)

-- 
2.39.5




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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 12:52 [PATCH 0/6] fastboot: fix handling of non-existent partitions Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 1/6] fastboot: terminate request for non-file-backed partition properly Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 2/6] fastboot: introduce fastboot_tx_print_var() helper Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 3/6] fastboot: don't populate partition variables unconditionally Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 4/6] fastboot: only populate variables explicitly asked for Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 5/6] fastboot: factor out fb_file_getsize Ahmad Fatoum
2025-04-28 12:52 ` [PATCH 6/6] fastboot: check for file existence before flashing/erasing Ahmad Fatoum

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