Hi Wolfgang, On Tue, Dec 4, 2018 at 11:03 AM Wolfgang Denk <w...@denx.de> wrote:
> IMO there is nothing architecture specific about this check, so we > should probably patch the top level Makefile and remove the test in > arch/arm/mach-imx/Makefile ? It is not so simple, for the two following reasons: 1. The imx check has been introduced by: commit 43e6f94cbcaf193aeedcf86e85a3ff4c79f66773 Author: Marcel Ziswiler <marcel.ziswi...@toradex.com> Date: Fri Nov 9 15:31:17 2018 +0100 imx: mkimage: add size check to the u-boot.imx make target The make macro to check if the binary exceeds the board size limit is taken straight from the root Makefile. Without this and e.g. enabled EFI Vybrid fails booting as the regular size limit check does not take the final u-boot.imx binary size into account which is bigger due to alignment as well as IMX header stuff. Signed-off-by: Marcel Ziswiler <marcel.ziswi...@toradex.com> Reviewed-by: Fabio Estevam <feste...@gmail.com> 2. For testing purpose, I removed the imx check and patched the main Makefile, but still got error: u-boot-nodtb.bin exceeds file size limit: limit: 0 bytes actual: 482968 bytes excess: 482968 bytes How should we proceed? _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot