
Hi Wolfgang,
On Fri, Nov 30, 2018 at 1:33 PM Wolfgang Denk wd@denx.de wrote:
This is IMHO the wrong approach. Why not fix this problem?
That would be much better indeed, but I don't have the necessary Makefile skills to fix it.
Can you please try somthing like this (only minimally tested):
I tried it, thanks, but unfortunately It does not work for me.
Here is the complete patch I used, which consists of your proposal plus my changes: http://dark-code.bulix.org/nhg8l0-515675
Then when I build the pico-imx7d_defconfig target I get the following error:
/bin/sh: 1: printf: CONFIG_ENV_OFFSET - (69 * 1024): expected numeric value u-boot-nodtb.bin exceeds file size limit: limit: 0 bytes actual: 482952 bytes excess: 482952 bytes Makefile:1040: recipe for target 'u-boot-nodtb.bin' failed make: *** [u-boot-nodtb.bin] Error 1 make: *** Waiting for unfinished jobs.... LD spl/u-boot-spl OBJCOPY spl/u-boot-spl-nodtb.bin COPY spl/u-boot-spl.bin