Up till now "gpt" command was only able to write (i.e. restore) GPT partition on specified medium with information provided at "$partitions" env variable.
This patch series adds complementary feature - namely "gpt verify", which allows checking (at e.g. boot time) if previously created GPT layout is still correct. This patch series clearly applies on top of u-boot/master: SHA1: 736d1746fb7b8f7cd70657a4a72db2b6bd8de40e It has been tested on Beaglebone Black development board (Sitara AM335x CPU). Lukasz Majewski (5): gpt: command: Remove duplicated check for empty partition description gpt: doc: README: Update README entry for gpt verify extension gpt: doc: Update gpt command's help description gpt: part: Definition and declaration of GPT verification functions gpt: command: Extend gpt command to support GPT table verification common/cmd_gpt.c | 102 ++++++++++++++++++++++++++++++++++++--------------- disk/part_efi.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/README.gpt | 27 +++++++++++++- include/part.h | 35 ++++++++++++++++++ 4 files changed, 243 insertions(+), 31 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot