From mboxrd@z Thu Jan 1 00:00:00 1970 From: Otavio Salvador Date: Mon, 3 Dec 2018 15:39:27 -0200 Subject: [U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size In-Reply-To: References: <1543589533-4257-1-git-send-email-festevam@gmail.com> <20181130153312.08C74242267@gemini.denx.de> <20181203155205.6D296242267@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Fabio, On Mon, Dec 3, 2018 at 2:53 PM Fabio Estevam wrote: > On Mon, Dec 3, 2018 at 1:52 PM Wolfgang Denk 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