Re: [U-Boot] [PATCH] mx53loco: Fix U-Boot corruption after saving the environment

2019-09-03 Thread Tom Rini
On Mon, Sep 02, 2019 at 01:40:27PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Fri, Aug 30, 2019 at 3:14 PM Tom Rini wrote: > > > Are there more i.mx platforms that are not setting BOARD_SIZE_LIMIT > > today? I assume there are, sadly. Can you audit and catch the rest of > > Yes, only a

Re: [U-Boot] [PATCH] mx53loco: Fix U-Boot corruption after saving the environment

2019-09-02 Thread Fabio Estevam
Hi Tom, On Fri, Aug 30, 2019 at 3:14 PM Tom Rini wrote: > Are there more i.mx platforms that are not setting BOARD_SIZE_LIMIT > today? I assume there are, sadly. Can you audit and catch the rest of Yes, only a very few i.MX boards set BOARD_SIZE_LIMIT currently. > these likely problems, and

Re: [U-Boot] [PATCH] mx53loco: Fix U-Boot corruption after saving the environment

2019-08-30 Thread Tom Rini
On Fri, Aug 30, 2019 at 01:58:29PM -0300, Fabio Estevam wrote: > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" causes U-Boot to hang because of this overlap. > > Fix this problem by increasing the

[U-Boot] [PATCH] mx53loco: Fix U-Boot corruption after saving the environment

2019-08-30 Thread Fabio Estevam
U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" causes U-Boot to hang because of this overlap. Fix this problem by increasing the CONFIG_ENV_OFFSET size. Also, in order to prevent this same problem in the