Re: [PATCH v2 14/25] binman: Allow mkimage to use a non-zero fake-blob size

2022-03-11 Thread Simon Glass
Hi Alper, On Thu, 10 Mar 2022 at 12:36, Alper Nebi Yasak wrote: > > On 06/03/2022 06:08, Simon Glass wrote: > > On Thu, 3 Mar 2022 at 14:16, Alper Nebi Yasak > > wrote: > >>> def ObtainContents(self): > >>> +# Use a non-zero size for any fake files to keep mkimage happy > >>>

Re: [PATCH v2 14/25] binman: Allow mkimage to use a non-zero fake-blob size

2022-03-10 Thread Alper Nebi Yasak
On 06/03/2022 06:08, Simon Glass wrote: > On Thu, 3 Mar 2022 at 14:16, Alper Nebi Yasak > wrote: >>> def ObtainContents(self): >>> +# Use a non-zero size for any fake files to keep mkimage happy >>> data, input_fname, uniq = self.collect_contents_to_file( >>> -se

Re: [PATCH v2 14/25] binman: Allow mkimage to use a non-zero fake-blob size

2022-03-05 Thread Simon Glass
Hi Alper, On Thu, 3 Mar 2022 at 14:16, Alper Nebi Yasak wrote: > > On 24/02/2022 02:00, Simon Glass wrote: > > Unfortunately mkimage gets upset with zero-sized files. Update the > > ObtainContents() method to support specifying the size, if a fake blob is > > created. > > > > Signed-off-by: Simon

Re: [PATCH v2 14/25] binman: Allow mkimage to use a non-zero fake-blob size

2022-03-03 Thread Alper Nebi Yasak
On 24/02/2022 02:00, Simon Glass wrote: > Unfortunately mkimage gets upset with zero-sized files. Update the > ObtainContents() method to support specifying the size, if a fake blob is > created. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add a patch to allow mkimage to use a no

[PATCH v2 14/25] binman: Allow mkimage to use a non-zero fake-blob size

2022-02-23 Thread Simon Glass
Unfortunately mkimage gets upset with zero-sized files. Update the ObtainContents() method to support specifying the size, if a fake blob is created. Signed-off-by: Simon Glass --- Changes in v2: - Add a patch to allow mkimage to use a non-zero fake-blob size tools/binman/entry.py