Re: [U-Boot] [PATCH v2 3/5] disk: efi: correct the overlap check on GPT header and PTE

2017-10-22 Thread Simon Glass
On 16 October 2017 at 18:17, Patrick Delaunay wrote: > the partition starting at 0x4400 is refused with overlap error: > $> gpt write mmc 0 "name=test,start=0x4400,size=0" > Writing GPT: Partition overlap > error! > > even if the 0x4400 is the first available offset

[U-Boot] [PATCH v2 3/5] disk: efi: correct the overlap check on GPT header and PTE

2017-10-16 Thread Patrick Delaunay
the partition starting at 0x4400 is refused with overlap error: $> gpt write mmc 0 "name=test,start=0x4400,size=0" Writing GPT: Partition overlap error! even if the 0x4400 is the first available offset for LBA35 with default value: - MBR=LBA1 - GPT header=LBA2 - PTE= 32 LBAs (128 entry), 3