Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-17 Thread Michael Tretter
On Mon, 17 Dec 2018 14:27:38 +0100, Michal Simek wrote: > On 03. 12. 18 14:42, Alexander Graf wrote: > > On 03.12.18 14:14, Michal Simek wrote: > >> +Alex > >> > >> On 28. 11. 18 11:47, Michael Tretter wrote: > >>> The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, > >>>

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-17 Thread Michal Simek
On 03. 12. 18 14:42, Alexander Graf wrote: > > > On 03.12.18 14:14, Michal Simek wrote: >> +Alex >> >> On 28. 11. 18 11:47, Michael Tretter wrote: >>> The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, >>> which implies that the partition size is 4 byte aligned. When writi

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-03 Thread Alexander Graf
On 03.12.18 16:19, Michael Tretter wrote: > On Mon, 03 Dec 2018 14:42:59 +0100, Alexander Graf wrote: >> On 03.12.18 14:14, Michal Simek wrote: >>> +Alex >>> >>> On 28. 11. 18 11:47, Michael Tretter wrote: The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, whic

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-03 Thread Michael Tretter
On Mon, 03 Dec 2018 14:42:59 +0100, Alexander Graf wrote: > On 03.12.18 14:14, Michal Simek wrote: > > +Alex > > > > On 28. 11. 18 11:47, Michael Tretter wrote: > >> The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, > >> which implies that the partition size is 4 byte al

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-03 Thread Michal Simek
On 03. 12. 18 14:42, Alexander Graf wrote: > > > On 03.12.18 14:14, Michal Simek wrote: >> +Alex >> >> On 28. 11. 18 11:47, Michael Tretter wrote: >>> The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, >>> which implies that the partition size is 4 byte aligned. When writi

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-03 Thread Alexander Graf
On 03.12.18 14:14, Michal Simek wrote: > +Alex > > On 28. 11. 18 11:47, Michael Tretter wrote: >> The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, >> which implies that the partition size is 4 byte aligned. When writing the >> partition, mkimage calculates "Total Partit

Re: [U-Boot] [PATCH] tools: zynqmpimage: round up partition size

2018-12-03 Thread Michal Simek
+Alex On 28. 11. 18 11:47, Michael Tretter wrote: > The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin, > which implies that the partition size is 4 byte aligned. When writing the > partition, mkimage calculates "Total Partition Word Length" by dividing > the size by 4. This