From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Mon, 3 Dec 2018 14:53:17 -0200 Subject: [U-Boot] [PATCH v4] pico-imx7d: Increase the CONFIG_ENV_OFFSET size In-Reply-To: <20181203155205.6D296242267@gemini.denx.de> 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 Hi Wolfgang, 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?