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

2019-11-27 Thread Stefano Babic
On 26/11/19 23:38, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Oct 21, 2019 at 11:23 AM 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" followed by a "reset" causes U-Boot to

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

2019-11-26 Thread Fabio Estevam
Hi Stefano, On Mon, Oct 21, 2019 at 11:23 AM 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" followed by a "reset" causes U-Boot to hang because > of this overlap. > > Fix this problem by

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

2019-10-21 Thread Joris Offouga
Hi Fabio, Pierre-Jean Le 21/10/2019 à 19:12, Pierre-Jean Texier a écrit : Fabio, Le 21/10/2019 à 18:50, Fabio Estevam a écrit : Hi Pierre-Jean, On Mon, Oct 21, 2019 at 1:43 PM Pierre-Jean Texier wrote: On top-of master 32ded50 ("spl: mmc: make eMMC HW boot partition configuration

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

2019-10-21 Thread Pierre-Jean Texier
Fabio, Le 21/10/2019 à 18:50, Fabio Estevam a écrit : Hi Pierre-Jean, On Mon, Oct 21, 2019 at 1:43 PM Pierre-Jean Texier wrote: On top-of master 32ded50 ("spl: mmc: make eMMC HW boot partition configuration optional ") I am not able to reproduce the described behavior. I used u-boot-imx

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

2019-10-21 Thread Fabio Estevam
Hi Pierre-Jean, On Mon, Oct 21, 2019 at 1:43 PM Pierre-Jean Texier wrote: > On top-of master 32ded50 ("spl: mmc: make eMMC HW boot > partition configuration optional ") > I am not able to reproduce the described behavior. I used u-boot-imx tree and this is what I get: ls -al u-boot-dtb.imx

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

2019-10-21 Thread Pierre-Jean Texier
Hello Fabio, Le 21/10/2019 à 16:22, Fabio Estevam a écrit : U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" followed by a "reset" causes U-Boot to hang because of this overlap. On top-of master 32ded50 ("spl:

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

2019-10-21 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" followed by a "reset" 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