From: Tom Rini Date: Mon, 6 Jan 2020 10:25:45 -0500 Subject: fitImage align 8-byte for ARM64 In-Reply-To: <74cf7380-5926-268b-3967-e3169b9f5dea@googlemail.com> References: <222c1023-fef5-bed2-520e-285fd99dd1d5@googlemail.com> <20200106142054.GC4866@bill-the-cat> <74cf7380-5926-268b-3967-e3169b9f5dea@googlemail.com> Message-ID: <20200106152545.GE4866@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jan 06, 2020 at 04:22:02PM +0100, Matthias Schoepfer wrote: > Hi Tom, > > thanks for your reply. As far as I can understand this code, only if > fdt_high is set to 0xffffffffffffffff (which is the very case for > dragonboard410c) a not aligned mapping of the fdt can happen. > In this case, the address is images->ft_addr, which I *think* comes from the > fitImage creation?! > > I wonder, whether just removing fdt_high is a valid solution... Ah. Yes, generally speaking fdt_high shouldn't be set as it stops us from relocating things to ensure alignment. Making use of bootm_size instead (to ensure that everything is within a certain area of memory) is better for the general case. So please, update the default environment and CC the board maintainer, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: