Re: [PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-11 Thread Daniel Golle
On Tue, Apr 11, 2023 at 02:31:55PM +0200, Koen Vandeputte wrote: > On Tue, Apr 11, 2023 at 10:33 AM Koen Vandeputte > wrote: > > > > On Tue, Apr 11, 2023 at 1:36 AM Lanchon wrote: > > > > > > > > > > > > On 4/10/23 15:38, Daniel Golle wrote: > > > > On Mon, Apr 10, 2023 at 07:01:35PM +0200, Rafał

Re: [PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-11 Thread Koen Vandeputte
On Tue, Apr 11, 2023 at 10:33 AM Koen Vandeputte wrote: > > On Tue, Apr 11, 2023 at 1:36 AM Lanchon wrote: > > > > > > > > On 4/10/23 15:38, Daniel Golle wrote: > > > On Mon, Apr 10, 2023 at 07:01:35PM +0200, Rafał Miłecki wrote: > > >> From: Rafał Miłecki > > >> > > >> When using "ubiformat" wi

Re: [PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-11 Thread Koen Vandeputte
On Tue, Apr 11, 2023 at 1:36 AM Lanchon wrote: > > > > On 4/10/23 15:38, Daniel Golle wrote: > > On Mon, Apr 10, 2023 at 07:01:35PM +0200, Rafał Miłecki wrote: > >> From: Rafał Miłecki > >> > >> When using "ubiformat" with stdin it requires passing image size using > >> the -S argument. Provide i

Re: [PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-10 Thread Lanchon
On 4/10/23 15:38, Daniel Golle wrote: On Mon, Apr 10, 2023 at 07:01:35PM +0200, Rafał Miłecki wrote: From: Rafał Miłecki When using "ubiformat" with stdin it requires passing image size using the -S argument. Provide it just like we do for "ubiupdatevol". This fixes: ubiformat: error!: must

Re: [PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-10 Thread Daniel Golle
On Mon, Apr 10, 2023 at 07:01:35PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > When using "ubiformat" with stdin it requires passing image size using > the -S argument. Provide it just like we do for "ubiupdatevol". > > This fixes: > ubiformat: error!: must use '-S' with non-zero value

[PATCH] base-files: fix nand_upgrade_ubinized()

2023-04-10 Thread Rafał Miłecki
From: Rafał Miłecki When using "ubiformat" with stdin it requires passing image size using the -S argument. Provide it just like we do for "ubiupdatevol". This fixes: ubiformat: error!: must use '-S' with non-zero value when reading from stdin This change fixes sysupgrade for bcm53xx and bcm490