Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-07-02 Thread Lothar Waßmann
Hi, > The underlying cause of the problem is that u-boot's implementations > of strlen() and the CLI handle strings differently. The former > "u-boot's implementation" is conformant with the standard and well documented libc implementation that exists since the dawn of C programming. > terminat

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-07-01 Thread Alison Chaiken
On Tue, Jun 27, 2017 at 12:05 AM, Lothar Waßmann wrote: > > Hi, > > On Sun, 25 Jun 2017 14:54:56 -0700 Alison Chaiken wrote: > > On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > > > > > Dear Alison, > > > > > > In message > > gmail.com> you wrote: > > > > > > > > The idea behind the 'swa

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-27 Thread Lothar Waßmann
Hi, On Tue, 27 Jun 2017 09:05:14 +0200 Lothar Waßmann wrote: > Hi, > > On Sun, 25 Jun 2017 14:54:56 -0700 Alison Chaiken wrote: > > On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > > > > > Dear Alison, > > > > > > In message > > gmail.com> you wrote: > > > > > > > > The idea behind the

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-27 Thread Lothar Waßmann
Hi, On Sun, 25 Jun 2017 14:54:56 -0700 Alison Chaiken wrote: > On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > > > Dear Alison, > > > > In message > gmail.com> you wrote: > > > > > > The idea behind the 'swap' mode is that a storage device can have two > > sets > > > of partitions, one

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-26 Thread Tom Rini
On Sun, Jun 25, 2017 at 02:54:56PM -0700, Alison Chaiken wrote: > On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > > > Dear Alison, > > > > In message > gmail.com> you wrote: > > > > > > The idea behind the 'swap' mode is that a storage device can have two > > sets > > > of partitions, on

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-25 Thread Alison Chaiken
On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > Dear Alison, > > In message gmail.com> you wrote: > > > > The idea behind the 'swap' mode is that a storage device can have two > sets > > of partitions, one set all named 'primary' and one set all named > 'backup'. > > The software updat

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-18 Thread Wolfgang Denk
Dear Tom, In message <20170612145646.GY10782@bill-the-cat> you wrote: > > Looking at the man page for atoi: > The atoi() function converts the initial portion of the string pointed > to by nptr to int. The behavior is the same as > > strtol(nptr, NULL, 10); > > So we should just re-work

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-18 Thread Wolfgang Denk
Dear Alison, In message you wrote: > > The idea behind the 'swap' mode is that a storage device can have two sets > of partitions, one set all named 'primary' and one set all named 'backup'. > The software updater in userspace can then simply rename the partitions > with sgdisk in order to pic

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-12 Thread Tom Rini
On Mon, Jun 12, 2017 at 07:24:17AM -0700, Alison Chaiken wrote: > On Mon, Jun 12, 2017 at 12:45 AM, Wolfgang Denk wrote: > > > Dear Alison, > > > > In message <1497137617-772-1-git-send-email-ali...@peloton-tech.com> you > > wrote: > > > > > > This patch provides support in u-boot for renaming GP

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-12 Thread Alison Chaiken
On Mon, Jun 12, 2017 at 12:45 AM, Wolfgang Denk wrote: > Dear Alison, > > In message <1497137617-772-1-git-send-email-ali...@peloton-tech.com> you > wrote: > > > > This patch provides support in u-boot for renaming GPT > > partitions. The renaming is accomplished via new 'gpt swap' > > and 'gpt

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-12 Thread Wolfgang Denk
Dear Alison, In message <1497137617-772-1-git-send-email-ali...@peloton-tech.com> you wrote: > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via new 'gpt swap' > and 'gpt rename' commands. Thanks. One question: can multiple GPT partitions h

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-11 Thread Tom Rini
On Sat, Jun 10, 2017 at 04:33:37PM -0700, ali...@peloton-tech.com wrote: > From: Alison Chaiken > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via new 'gpt swap' > and 'gpt rename' commands. > > The 'swap' mode prints a warning if no matchi

[U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-10 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via new 'gpt swap' and 'gpt rename' commands. The 'swap' mode prints a warning if no matching partition names are found. If only one matching name of a provided pair is found, i