[PATCH 0/9] This series adds support for flashing eMMC boot partitions, and for
Sean Anderson
sean.anderson at seco.com
Thu Dec 31 23:48:43 CET 2020
flashing whole partitions. Specifically, it does this by using the
existing U-Boot naming scheme to specify partitions, and not by adding
new KConfig options.
I have added tests for partition naming, but not for the whole flash
process (though that could be a future project). I have tested this on
one board, but I have *not* tested the mt85-specific KConfigs. Hopefully
this series can be a way to phase out those options.
Sean Anderson (9):
mmc: sandbox: Add support for writing
test: dm: Add test for fastboot mmc partition naming
part: Give several functions more useful return values
part: Support getting whole disk from
part_get_info_by_dev_and_name_or_num
part: Support string block devices in part_get_info_by_dev_and_name
fastboot: Remove mmcpart argument from raw_part_get_info_by_name
fastboot: Move part_get_info_by_name_or_alias after
raw_part_get_info_by_name
fastboot: Allow u-boot-style partitions
fastboot: Document alternate partition names
cmd/ab_select.c | 3 +-
configs/sandbox64_defconfig | 2 +
configs/sandbox_defconfig | 2 +
disk/part.c | 81 +++++++-------
doc/android/fastboot.rst | 28 +++++
drivers/fastboot/fb_mmc.c | 203 +++++++++++++++++++++---------------
drivers/mmc/sandbox_mmc.c | 41 +++++++-
include/part.h | 6 +-
test/dm/Makefile | 3 +
test/dm/fastboot.c | 95 +++++++++++++++++
test/dm/mmc.c | 19 +++-
11 files changed, 349 insertions(+), 134 deletions(-)
create mode 100644 test/dm/fastboot.c
--
2.25.1
More information about the U-Boot
mailing list