Skip to content

Fix 'mbr' command with hybrid MBR/GPT

Joshua Watt u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 11 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dm: test: Fix partition test to use mmc2test/dm/part.c+9 -93 replies
2/5dm: test: Improve partition test error outputtest/dm/part.c+6 -42 replies
3/5disk: part: Add API to get partitions with specific driverdisk/part.c include/part.h+49 -82 replies
4/5dm: test: Add test for part_get_info_by_typeconfigs/sandbox_defconfig test/dm/part.c+89 -02 replies
5/5cmd: mbr: Force DOS driver to be used for verifycmd/mbr.c+1 -12 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSimon GlassJaehoon Chung
1/5R-b R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fix 'mbr' command with hybrid MBR/GPT

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(-)
Signature · 1 line
2.33.0