Re: [PATCH v3 2/2] fastboot: bail if update handler couldn't be found for bbu-partition

2022-06-09 Thread Sascha Hauer
On Fri, Jun 10, 2022 at 08:36:35AM +0200, Michael Olbrich wrote: > On Thu, Jun 09, 2022 at 04:12:39PM +0200, Ahmad Fatoum wrote: > > On 09.06.22 16:10, Sascha Hauer wrote: > > > On Thu, Jun 09, 2022 at 03:09:36PM +0200, Ahmad Fatoum wrote: > > >> Fastboot would fall back to a raw copy even for bbu-

Re: [PATCH v3 2/2] fastboot: bail if update handler couldn't be found for bbu-partition

2022-06-09 Thread Michael Olbrich
On Thu, Jun 09, 2022 at 04:12:39PM +0200, Ahmad Fatoum wrote: > On 09.06.22 16:10, Sascha Hauer wrote: > > On Thu, Jun 09, 2022 at 03:09:36PM +0200, Ahmad Fatoum wrote: > >> Fastboot would fall back to a raw copy even for bbu- partitions if > >> no barebox_update handler was found. Prevent this by

Re: [PATCH v3 2/2] fastboot: bail if update handler couldn't be found for bbu-partition

2022-06-09 Thread Ahmad Fatoum
On 09.06.22 16:10, Sascha Hauer wrote: > On Thu, Jun 09, 2022 at 03:09:36PM +0200, Ahmad Fatoum wrote: >> Fastboot would fall back to a raw copy even for bbu- partitions if >> no barebox_update handler was found. Prevent this by bailing out >> with an error code. >> >> Signed-off-by: Ahmad Fatoum

Re: [PATCH v3 2/2] fastboot: bail if update handler couldn't be found for bbu-partition

2022-06-09 Thread Sascha Hauer
On Thu, Jun 09, 2022 at 03:09:36PM +0200, Ahmad Fatoum wrote: > Fastboot would fall back to a raw copy even for bbu- partitions if > no barebox_update handler was found. Prevent this by bailing out > with an error code. > > Signed-off-by: Ahmad Fatoum > --- > v2 -> v3: > - bail out instead of o

[PATCH v3 2/2] fastboot: bail if update handler couldn't be found for bbu-partition

2022-06-09 Thread Ahmad Fatoum
Fastboot would fall back to a raw copy even for bbu- partitions if no barebox_update handler was found. Prevent this by bailing out with an error code. Signed-off-by: Ahmad Fatoum --- v2 -> v3: - bail out instead of only printing message and falling back to raw copy (Sascha) v1 -> v2: - p