From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 26 May 2017 08:39:11 -0400 Subject: [U-Boot] [PATCH 3/3] rename GPT partitions to detect boot failure In-Reply-To: <1495333675-14854-4-git-send-email-alison@peloton-tech.com> References: <1495333675-14854-1-git-send-email-alison@peloton-tech.com> <1495333675-14854-4-git-send-email-alison@peloton-tech.com> Message-ID: <20170526123911.GL10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, May 20, 2017 at 07:27:55PM -0700, alison at peloton-tech.com wrote: > From: Alison Chaiken > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via a new 'gpt flip' > command. [snip] > Signed-off-by: Alison Chaiken > --- > cmd/gpt.c | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 201 insertions(+), 6 deletions(-) There's some whitespace-only chunks, please drop. Also: [snip] > +/* ONEMIB is 2**20 */ > +#define ONEMIB 1024*1024 SZ_1MB from > +/* > + * The number '33' comes from the '32' in the definition of disk_partition_t > + * in include/part.h. That file has '37' rather than UUID_STR_LEN + 1, from > + * include/uuid.h > + */ Lets update include/part.h in a new patch earlier in the series, possibly as part of addressing the problems I mention with the previous patch. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: