[RFC PATCH v3] cmd: part: add part dupcheck subcommand

Tom Rini trini at konsulko.com
Sat Mar 28 00:06:24 CET 2026


On Sun, 15 Mar 2026 18:45:29 +0530, Padmarao Begari wrote:

> Add a 'part dupcheck' subcommand that scans all block devices probed
> in U-Boot and reports any partitions sharing the same PARTUUID or
> PARTLABEL. This helps detect situations where the same disk image has
> been flashed onto multiple boot devices (e.g., USB stick and UFS),
> which can lead to unpredictable boot behavior. Duplicate
> PARTUUIDs break UUID-based partition lookup in Linux, and duplicate
> PARTLABELs cause the wrong partition to be silently selected in
> bootscripts that reference partitions by name.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] cmd: part: add part dupcheck subcommand
      commit: b5517950e6ef9b631299f33a4ce84ba380928258
-- 
Tom




More information about the U-Boot mailing list