public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 4/5] gpt: part: Definition and declaration of GPT verification functions
Date: Tue, 24 Nov 2015 10:56:41 +0100	[thread overview]
Message-ID: <56543459.2050207@samsung.com> (raw)
In-Reply-To: <20151123224443.GA9551@bill-the-cat>

Hello Tom,

On 11/23/2015 11:44 PM, Tom Rini wrote:
> On Fri, Nov 20, 2015 at 08:06:16AM +0100, Lukasz Majewski wrote:
>
>> This commit provides definition and declaration of GPT verification
>> functions - namely gpt_verify_headers() and gpt_verify_partitions().
>> The former is used to only check CRC32 of GPT's header and PTEs.
>> The latter examines each partition entry and compare attributes such as:
>> name, start offset and size with ones provided at '$partitions' env
>> variable.
>>
>> Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
>> Reviewed-by: Tom Rini <trini@konsulko.com>
>> Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com>
>
> Applied to u-boot/master, thanks!
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

Why merged so quickly?

I tested this patchset on my device and posted about the issues. [1]

This should be reworked, since the verify assumptions are too simple and 
doesn't fully match the GPT header creation.
So this command will fail for some cases of write/verify sequence, 
depending on what the $partitions includes.

[1] https://www.mail-archive.com/u-boot at lists.denx.de/msg193216.html

Best regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com

  reply	other threads:[~2015-11-24  9:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13  6:42 [U-Boot] [PATCH 0/6] gpt: command: Add support for "gpt verify" command Lukasz Majewski
2015-11-13  6:42 ` [U-Boot] [PATCH 1/6] gpt: command: Remove duplicated check for empty partition description Lukasz Majewski
2015-11-18 23:38   ` Tom Rini
2015-11-13  6:42 ` [U-Boot] [PATCH 2/6] gpt: command: cosmetic: Replace printf with puts Lukasz Majewski
2015-11-18 23:37   ` Tom Rini
2015-11-19  5:43     ` Lukasz Majewski
2015-11-13  6:42 ` [U-Boot] [PATCH 3/6] gpt: doc: README: Update README entry for gpt verify extension Lukasz Majewski
2015-11-18 23:38   ` Tom Rini
2015-11-13  6:42 ` [U-Boot] [PATCH 4/6] gpt: doc: Update gpt command's help description Lukasz Majewski
2015-11-18 23:38   ` Tom Rini
2015-11-23 22:44   ` [U-Boot] [U-Boot, " Tom Rini
2015-11-13  6:42 ` [U-Boot] [PATCH 5/6] gpt: part: Definition and declaration of GPT verification functions Lukasz Majewski
2015-11-18 23:39   ` Tom Rini
2015-11-13  6:42 ` [U-Boot] [PATCH 6/6] gpt: command: Extend gpt command to support GPT table verification Lukasz Majewski
2015-11-18 23:40   ` Tom Rini
2015-11-19  5:45     ` Lukasz Majewski
2015-11-20  7:06 ` [U-Boot] [PATCH v2 0/5] gpt: command: Add support for "gpt verify" command Lukasz Majewski
2015-11-20  7:06   ` [U-Boot] [PATCH v2 1/5] gpt: command: Remove duplicated check for empty partition description Lukasz Majewski
2015-11-23 22:44     ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-20  7:06   ` [U-Boot] [PATCH v2 2/5] gpt: doc: README: Update README entry for gpt verify extension Lukasz Majewski
2015-11-23 22:44     ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-20  7:06   ` [U-Boot] [PATCH v2 4/5] gpt: part: Definition and declaration of GPT verification functions Lukasz Majewski
2015-11-20 11:19     ` Przemyslaw Marczak
2015-11-23 22:44     ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-24  9:56       ` Przemyslaw Marczak [this message]
2015-11-24 18:56         ` Tom Rini
2015-11-25  9:06           ` Przemyslaw Marczak
2015-11-20  7:06   ` [U-Boot] [PATCH v2 5/5] gpt: command: Extend gpt command to support GPT table verification Lukasz Majewski
2015-11-20 11:20     ` Przemyslaw Marczak
2015-11-23 22:44     ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-11-23 22:43   ` [U-Boot] [PATCH v2 0/5] gpt: command: Add support for "gpt verify" command Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56543459.2050207@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox