Hello Fabio, On Mon, Dec 3, 2018 at 2:53 PM Fabio Estevam <feste...@gmail.com> wrote: > On Mon, Dec 3, 2018 at 1:52 PM Wolfgang Denk <w...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot