Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-07 Thread Måns Rullgård
Maxime Ripard writes: > On Wed, May 02, 2018 at 03:24:50PM +0100, Måns Rullgård wrote: >> Maxime Ripard writes: >> >> > 1;5201;0c >> > On Wed, May 02, 2018 at 10:34:49AM +0100, Måns Rullgård wrote: >> >> Siarhei Siamashka

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-07 Thread Maxime Ripard
On Wed, May 02, 2018 at 03:24:50PM +0100, Måns Rullgård wrote: > Maxime Ripard writes: > > > 1;5201;0c > > On Wed, May 02, 2018 at 10:34:49AM +0100, Måns Rullgård wrote: > >> Siarhei Siamashka writes: > >> > >> > On Tue, 01 May 2018

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-02 Thread Måns Rullgård
Maxime Ripard writes: > 1;5201;0c > On Wed, May 02, 2018 at 10:34:49AM +0100, Måns Rullgård wrote: >> Siarhei Siamashka writes: >> >> > On Tue, 01 May 2018 18:25:06 +0100 >> > Måns Rullgård wrote: >> > >> >> Maxime Ripard

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-02 Thread Maxime Ripard
1;5201;0c On Wed, May 02, 2018 at 10:34:49AM +0100, Måns Rullgård wrote: > Siarhei Siamashka writes: > > > On Tue, 01 May 2018 18:25:06 +0100 > > Måns Rullgård wrote: > > > >> Maxime Ripard writes: > >> > >> > The

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-02 Thread Måns Rullgård
Siarhei Siamashka writes: > On Tue, 01 May 2018 18:25:06 +0100 > Måns Rullgård wrote: > >> Maxime Ripard writes: >> >> > The U-Boot binary may trip over its actual allocated size in the storage. >> > In such a

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-01 Thread Siarhei Siamashka
On Tue, 01 May 2018 18:25:06 +0100 Måns Rullgård wrote: > Maxime Ripard writes: > > > The U-Boot binary may trip over its actual allocated size in the storage. > > In such a case, the environment will not be readable anymore (because > >

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-01 Thread Måns Rullgård
Maxime Ripard writes: > The U-Boot binary may trip over its actual allocated size in the storage. > In such a case, the environment will not be readable anymore (because > corrupted when the new image was flashed), and any attempt at using saveenv > to

[U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2017-10-20 Thread Maxime Ripard
The U-Boot binary may trip over its actual allocated size in the storage. In such a case, the environment will not be readable anymore (because corrupted when the new image was flashed), and any attempt at using saveenv to reconstruct the environment will result in a corrupted U-Boot binary.