Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-08 Thread Fabio Estevam
On Fri, Feb 2, 2024 at 1:04 PM Fabio Estevam wrote: > > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this overlap. > > Fix this

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Igor Opaniuk
On Fri, Feb 2, 2024 at 9:34 PM Igor Opaniuk wrote: > > On Fri, Feb 2, 2024 at 5:04 PM Fabio Estevam wrote: > > > > From: Fabio Estevam > > > > U-Boot binary has grown in such a way that it goes beyond the reserved > > area for the environment variables. > > > > Running "saveenv" and rebooting th

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Igor Opaniuk
On Fri, Feb 2, 2024 at 5:04 PM Fabio Estevam wrote: > > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this overlap. > > Fix this

Re: [PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Tom Rini
On Fri, Feb 02, 2024 at 01:04:03PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > U-Boot binary has grown in such a way that it goes beyond the reserved > area for the environment variables. > > Running "saveenv" and rebooting the board causes U-Boot to hang because > of this overlap

[PATCH v2 1/3] mx6sabresd: Fix U-Boot corruption after saving the environment

2024-02-02 Thread Fabio Estevam
From: Fabio Estevam U-Boot binary has grown in such a way that it goes beyond the reserved area for the environment variables. Running "saveenv" and rebooting the board causes U-Boot to hang because of this overlap. Fix this problem by selecting CONFIG_LTO so that the U-Boot proper size