Re: [U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-16 Thread Alison Chaiken
se, the tests will all fail if the gdisk package is not installed. Assuredly anyone who does not have gdisk installed does not care about these tests anyway. If people agree, I can submit a patch, or perhaps Stephen could just add it to his. Best wishes, Alison Chaiken Peloton Technology On Fri

Re: [U-Boot] [PATCH] cmd/gpt.c: Fix warning over memset args in allocate_disk_part

2017-09-16 Thread Alison Chaiken
it by the number of elements)? > memset(newpart, '\0', sizeof(newpart)); > ^~~ > > As we should have been passing sizeof(*newpart) not sizeof(newpart) > here. > > Agreed. I'm happy to have now read how u-boot can be compiled with clang. -- Alison >

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 > >

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-12 Thread Alison Chaiken
Wolfgang Denk One additional note: the last version I posted worked fine for the sandbox, but wouldn't link for an ARM target with the Linaro toolchain, as the linker couldn't find atoi(). I guess the libc for the x86 compiler includes it. To test on ARM, I copied in simple_atoi() from lib/vsprintf.c, but assuredly that is an ugly solution.Does anyone have a better idea to solve this problem? Thanks, Alison Chaiken Peloton Technology ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v5 3/3] rename GPT partitions to detect boot failure

2017-06-10 Thread Alison Chaiken
eave more freedom > for the user's creativity. > Lukasz has already made similar suggestions. In the following message is a new version which attempts to implement them. Thanks to Lothar and Lukasz for all their help. Best wishes, Alison Chaiken Peloton Technology ___