1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-30 01:17:10 +01:00
Files
u-boot-megous/include
Fabio Estevam 1fae23899c warp7: Fix U-Boot corruption after saving the environment
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 same problem in the future, use
CONFIG_BOARD_SIZE_LIMIT, which will detect the overlap in build-time.

CONFIG_BOARD_SIZE_LIMIT does not accept math expressions, so declare
CONFIG_ENV_OFFSET with its direct value instead.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Acked-by: Joris Offouga <offougajoris@gmail.com>
Tested-by: Joris Offouga <offougajoris@gmail.com>
2019-12-06 12:09:25 +01:00
..
2019-10-16 05:42:27 +02:00
2019-09-04 11:37:19 -05:00
2019-11-14 07:09:34 -06:00
2019-11-17 17:22:53 +08:00
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-11-02 18:00:51 +08:00
2019-09-20 20:09:19 +02:00
2018-09-10 20:48:16 -04:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-10-13 23:34:43 +02:00
2019-10-06 16:02:37 +02:00
2019-04-22 12:06:39 -04:00
2018-09-23 21:55:30 +02:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-10-14 09:31:41 +02:00
2019-11-05 10:27:18 +01:00
2018-12-05 06:01:35 -07:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-12-02 18:23:11 -05:00
2019-08-02 11:19:14 -04:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2019-12-02 18:23:09 -05:00
2018-10-09 04:40:27 -06:00
2019-05-20 13:50:34 +02:00
2018-07-19 16:31:37 -04:00
2019-11-03 07:20:26 +08:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00
2019-12-02 18:23:09 -05:00
2019-07-19 20:14:50 +02:00