Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-28 Thread Tom Rini
On Mon, Aug 28, 2017 at 09:54:38AM +0200, Łukasz Majewski wrote: > On 08/28/2017 01:02 AM, Chaiken, Alison wrote: > >On 2017-05-31 01:12, Lukasz Majewski wrote: > > > >[ . . . ] > > > >>And another request -> Could you consider adding tests for those new > >>gpt commands to the 'sandbox' (sandbox_d

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-28 Thread Łukasz Majewski
On 08/28/2017 01:02 AM, Chaiken, Alison wrote: On 2017-05-31 01:12, Lukasz Majewski wrote: [ . . . ] And another request -> Could you consider adding tests for those new gpt commands to the 'sandbox' (sandbox_defconfig) ? Then you can 'mount' some gpt test image ('host' command) and use it wi

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-08-27 Thread Chaiken, Alison
On 2017-05-31 01:12, Lukasz Majewski wrote: [ . . . ] And another request -> Could you consider adding tests for those new gpt commands to the 'sandbox' (sandbox_defconfig) ? Then you can 'mount' some gpt test image ('host' command) and use it with: gpt host X . The GPT functionality re

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Lukasz Majewski
Hi Alison, > Lukasz Majewski wrote: > > > Maybe it would be better to have > > > > gpt flip mmc 0 > > > > (By default we have "primary" and "backup") > > > > In that way we could set other names to GPT partitions without the > > need to modify the code. > > I answered: > > >> Another possi

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Chaiken, Alison
Lukasz Majewski wrote: > Maybe it would be better to have > > gpt flip mmc 0 > > (By default we have "primary" and "backup") > > In that way we could set other names to GPT partitions without the > need to modify the code. I answered: >> Another possibility is to support >> >> gpt flip mmc

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Chaiken, Alison
On 2017-05-31 01:12, Lukasz Majewski wrote: [ SNIP ] Maybe it would be better to have gpt flip mmc 0 (By default we have "primary" and "backup") In that way we could set other names to GPT partitions without the need to modify the code. Another possibility is to support gpt flip mmc

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-06-01 Thread Lukasz Majewski
Hi Alison, > On 2017-05-31 01:12, Lukasz Majewski wrote: > > [ SNIP ] > > > Maybe it would be better to have > > > > gpt flip mmc 0 > > > > (By default we have "primary" and "backup") > > > > In that way we could set other names to GPT partitions without the > > need to modify the code. > >

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-05-31 Thread Lukasz Majewski
Hi Alison, > From: Alison Chaiken > > This patch provides support in u-boot for renaming GPT > partitions. The renaming is accomplished via a new 'gpt flip' > command which is enabled via a CONFIG_CMD_GPT_FLIP option. > > The concept for the bootloader state machine is the following: > > -- u

Re: [U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-05-30 Thread Lothar Waßmann
ali...@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 which is enabled via a CONFIG_CMD_GPT_FLIP option. > > The concept for the bootloader state machine is the

[U-Boot] [PATCH v2 5/6] rename GPT partitions to detect boot failure

2017-05-29 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via a new 'gpt flip' command which is enabled via a CONFIG_CMD_GPT_FLIP option. The concept for the bootloader state machine is the following: -- u-boot renames ‘primary’ partit