[U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size

Fabio Estevam festevam at gmail.com
Mon Dec 3 16:53:17 UTC 2018


Hi Wolfgang,

On Mon, Dec 3, 2018 at 1:52 PM Wolfgang Denk <wd at denx.de> wrote:

> Can you live with something like this:
>
> #define CONFIG_ENV_OFFSET               (768 * 1024)
> #define CONFIG_BOARD_SIZE_LIMIT         ((768 * 1024) - (69 * 1024))

It does not work:

/bin/sh: 1: printf: ((768 * 1024) - (69 * 1024)): expected numeric value
u-boot-nodtb.bin exceeds file size limit:
  limit:  0 bytes
  actual: 482968 bytes
  excess: 482968 bytes

> [or maybe even  ((768 - 69) * 1024)  ?]

/bin/sh: 1: printf: ((768 - 69) * 1024): expected numeric value
u-boot-nodtb.bin exceeds file size limit:
  limit:  0 bytes
  actual: 482968 bytes
  excess: 482968 bytes
Makefile:1040: recipe for target 'u-boot-nodtb.bin' failed

Can we please go with the solution I sent, which is ugly but at least
allows the board to boot?


More information about the U-Boot mailing list