Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Denis Pynkin
14.09.2020 21:50, Tom Rini wrote: > On Mon, Sep 14, 2020 at 08:08:48PM +0300, Denis Pynkin wrote: >> 14.09.2020 17:11, Tom Rini wrote: >>> On Mon, Sep 14, 2020 at 09:29:18AM -0400, Tom Rini wrote: On Mon, Sep 14, 2020 at 04:20:20PM +0300, Denis Pynkin wrote: > 14.09.2020 15:33, Tom Rini wr

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 08:08:48PM +0300, Denis Pynkin wrote: > 14.09.2020 17:11, Tom Rini wrote: > > On Mon, Sep 14, 2020 at 09:29:18AM -0400, Tom Rini wrote: > >> On Mon, Sep 14, 2020 at 04:20:20PM +0300, Denis Pynkin wrote: > >>> 14.09.2020 15:33, Tom Rini wroteт: > On Mon, Sep 14, 2020 at

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Denis Pynkin
14.09.2020 17:11, Tom Rini wrote: > On Mon, Sep 14, 2020 at 09:29:18AM -0400, Tom Rini wrote: >> On Mon, Sep 14, 2020 at 04:20:20PM +0300, Denis Pynkin wrote: >>> 14.09.2020 15:33, Tom Rini wroteт: On Mon, Sep 14, 2020 at 08:03:33AM -0300, Fabio Estevam wrote: >>> >> The size of the binary

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 09:29:18AM -0400, Tom Rini wrote: > On Mon, Sep 14, 2020 at 04:20:20PM +0300, Denis Pynkin wrote: > > 14.09.2020 15:33, Tom Rini wroteт: > > > On Mon, Sep 14, 2020 at 08:03:33AM -0300, Fabio Estevam wrote: > > > > >>> The size of the binary created with the default U-boot c

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 04:20:20PM +0300, Denis Pynkin wrote: > 14.09.2020 15:33, Tom Rini wroteт: > > On Mon, Sep 14, 2020 at 08:03:33AM -0300, Fabio Estevam wrote: > > >>> The size of the binary created with the default U-boot config is much > >>> greater than the default offset for environment

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Denis Pynkin
14.09.2020 15:33, Tom Rini wroteт: > On Mon, Sep 14, 2020 at 08:03:33AM -0300, Fabio Estevam wrote: >>> The size of the binary created with the default U-boot config is much >>> greater than the default offset for environment `0x6`. If the new >>> version is flashed onto SPI it overlaps with t

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Tom Rini
On Mon, Sep 14, 2020 at 08:03:33AM -0300, Fabio Estevam wrote: > Hi Denis, > > On Mon, Sep 14, 2020 at 6:56 AM Denis Pynkin > wrote: > > > > The size of the binary created with the default U-boot config is much > > greater than the default offset for environment `0x6`. If the new > > version

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Fabio Estevam
Hi Denis, On Mon, Sep 14, 2020 at 6:56 AM Denis Pynkin wrote: > > The size of the binary created with the default U-boot config is much > greater than the default offset for environment `0x6`. If the new > version is flashed onto SPI it overlaps with the stored environment. > This leads to U-

Re: [PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Stefano Babic
On 14.09.20 11:56, Denis Pynkin wrote: > The size of the binary created with the default U-boot config is much > greater than the default offset for environment `0x6`. If the new > version is flashed onto SPI it overlaps with the stored environment. > This leads to U-Boot corruption in case of

[PATCH] mx6qsabrelite: increase offset for environment on SPI

2020-09-14 Thread Denis Pynkin
The size of the binary created with the default U-boot config is much greater than the default offset for environment `0x6`. If the new version is flashed onto SPI it overlaps with the stored environment. This leads to U-Boot corruption in case of saving environment onto SPI and non-bootable Sa