From mboxrd@z Thu Jan 1 00:00:00 1970
From: Przemyslaw Marczak
Date: Tue, 24 Nov 2015 10:56:41 +0100
Subject: [U-Boot] [U-Boot, v2,
4/5] gpt: part: Definition and declaration of GPT verification
functions
In-Reply-To: <20151123224443.GA9551@bill-the-cat>
References: <1448003177-26917-5-git-send-email-l.majewski@majess.pl>
<20151123224443.GA9551@bill-the-cat>
Message-ID: <56543459.2050207@samsung.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
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
>> Reviewed-by: Tom Rini
>> Reviewed-by: Przemyslaw Marczak
>
> 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