[U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size
Otavio Salvador
otavio.salvador at ossystems.com.br
Mon Dec 3 17:39:27 UTC 2018
Hello Fabio,
On Mon, Dec 3, 2018 at 2:53 PM Fabio Estevam <festevam at gmail.com> wrote:
> 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?
Agreed. It is better Wolfgang to send a tested solution before we
change it one more time.
This fix should go in as the board is broken without it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
More information about the U-Boot
mailing list