From: Maxime Ripard Date: Mon, 29 Jan 2018 11:37:39 +0100 Subject: [U-Boot] [PATCH] sunxi: Pine64: temporarily remove extra Pine64 non-plus DT In-Reply-To: <20180127005222.10594-1-andre.przywara@arm.com> References: <20180127005222.10594-1-andre.przywara@arm.com> Message-ID: <20180129103739.tllgarwasg4y3bil@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Jan 27, 2018 at 12:52:22AM +0000, Andre Przywara wrote: > With the merge of the new u-boot.itb size check now the build for > pine64_plus_defconfig breaks, as this file gets too large: > ============= > u-boot.itb exceeds file size limit: > limit: 516096 bytes > actual: 521852 bytes > excess: 5756 bytes > make: *** [u-boot.itb] Error 1 > ============= > One easily fixable reason is that we actually have two .dtbs in our FIT > image, one for the regular Pine64+ board, and one for the non-plus version. > The only difference U-Boot cares about is the 100Mbit Ethernet PHY used > on the non-plus version, however Ethernet isn't enabled in the non-plus > DT anyway. > So we could avoid the non-plus special handling, and remove that extra > .dtb from the FIT image, which saves a few KBs and brings us back below the > limit. The Pine64 would boot with a Pine64+ .dtb, and would fail to > enable Ethernet. Given that it didn't work in the first place, this is not > a regression. > Once we switch to a non-MMC environment, we can bring this back, then > with a proper .dtb and hopefully working Ethernet. > > Signed-off-by: Andre Przywara That works for me, but we have other ways ot address this as well, see the other thread :) Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: