[PATCH v2 0/5] Fix 'mbr' command with hybrid MBR/GPT
Joshua Watt
jpewhacker at gmail.com
Mon Jul 3 15:39:51 CEST 2023
When dealing with a hybrid MBR/GPT partition table, the 'mbr' command
would misbehave because it was reading the GPT partitions instead of
reading from the MBR when verifying. Fix this by forcing 'mbr verify' to
read MBR partitions.
V2: Fixed up dm_test_part tests and added tests for new API
Joshua Watt (5):
dm: test: Fix partition test to use mmc2
dm: test: Improve partition test error output
disk: part: Add API to get partitions with specific driver
dm: test: Add test for part_get_info_by_type
cmd: mbr: Force DOS driver to be used for verify
cmd/mbr.c | 2 +-
configs/sandbox_defconfig | 2 +
disk/part.c | 38 ++++++++++---
include/part.h | 19 ++++++-
test/dm/part.c | 115 +++++++++++++++++++++++++++++++++-----
5 files changed, 154 insertions(+), 22 deletions(-)
--
2.33.0
More information about the U-Boot
mailing list