From mboxrd@z Thu Jan 1 00:00:00 1970 From: alison at peloton-tech.com Date: Sun, 25 Jun 2017 16:43:16 -0700 Subject: [U-Boot] [PATCH v7 0/9] add support for GPT partition name manipulation In-Reply-To: <20170618110845.1E50B120250@gemini.denx.de> References: <20170618110845.1E50B120250@gemini.denx.de> Message-ID: <1498434205-21115-1-git-send-email-alison@peloton-tech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de From: Alison Chaiken Here is a resubmission of the 9-part patch series, the first 8 of which have already been marked 'applied', 'reviewed', or 'ack'ed' by Lukasz Majewski, Simon Glass or Tom Rini. I'm reposting them all as a set at Tom Rini's suggestion. Those earlier patches are listed here: GPT: read partition table from device into a data structure Reviewed-by: Tom Rini, Jun 11 in <20170611133854.GS10782@bill-the-cat> GPT: add accessor function for disk GUID Reviewed-by: Tom Rini, Jun 11 in <20170611133849.GR10782@bill-the-cat> partitions: increase MAX_SEARCH_PARTITIONS and move to part.h Reviewed-by: Lukasz Majewski, Jun 3 in <20170603135259.6ba67e86@jawa> cmd gpt: test in sandbox Applied to u-boot-dm by Simon Glass, Jun 15 in sandbox: README: fix partition command invocation Reviewed-by: Simon Glass, Jun 15, applied to u-boot-dm in GPT: fix error in partitions string doc Ack'ed by Lukasz Majewski, May 31, in <0170531132155.33a558e7@jawa> disk_partition: introduce macros for description string lengths Reviewed-by: Tom Rini, May 31 in <20170531135056.GZ10782@bill-the-cat> =20 EFI: replace number with UUID_STR_LEN macro Acked-by: Lukasz Majewski, May 31 in <20170531093702.736b567f@jawa> Changes since last version to the last patch in the series: -- Removed several casts in create_gpt_partitions_list() and do_rename_gpt_parts() as suggested by Lothar Wa=C3=9Fmann. The cast of gpt_part_info.name to char* is needed to silence a compiler warning. -- Substituted simple_strtol() for atoi() in do_gpt_rename_parts() as suggested by Tom Rini and Wolfgang Denk. -- Fixed bug in do_rename_gpt_parts() where 0 was returned as a valid number of partitions with which to continue. -- Added a comment to do_rename_gpt_parts() noting that the debug() string it optionally prints is useful as input to the pre-existing 'gpt write' and 'gpt verify' commands. -- Changed some -1 return values to -ENODEV and -EINVAL as suggested by Tom Rini. Changes to penultimate patch: -- Removed a cast in allocate_disk_part() as suggested by Lothar. Remaining tasks planned for future patches: -- Create tests for GPT functionality as suggested by Lukasz. -- Improve support for CONFIG_RANDOM_UUID. -- Preserve partition type info when rewriting GPT. Alison Chaiken (9): EFI: replace number with UUID_STR_LEN macro disk_partition: introduce macros for description string lengths GPT: fix error in partitions string doc sandbox: README: fix partition command invocation cmd gpt: test in sandbox partitions: increase MAX_SEARCH_PARTITIONS and move to part.h GPT: add accessor function for disk GUID GPT: read partition table from device into a data structure GPT: provide commands to selectively rename partitions board/sandbox/README.sandbox | 2 +- cmd/Kconfig | 8 + cmd/gpt.c | 376 +++++++++++++++++++++++++++++++++++++++= +++- disk/part.c | 1 - disk/part_efi.c | 33 +++- doc/README.gpt | 39 ++++- include/part.h | 35 +++- 7 files changed, 481 insertions(+), 13 deletions(-) --=20 2.1.4