From: Tom Rini Date: Mon, 6 Jan 2020 09:20:54 -0500 Subject: fitImage align 8-byte for ARM64 In-Reply-To: <222c1023-fef5-bed2-520e-285fd99dd1d5@googlemail.com> References: <222c1023-fef5-bed2-520e-285fd99dd1d5@googlemail.com> Message-ID: <20200106142054.GC4866@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 01:47:25PM +0100, Matthias Schoepfer wrote: > Hi! > > I have had trouble booting a fitImage packed kernel for dragonboard410c, > which is an ARM64 platform. After days and days of debugging, I found that > the fdt is 4-byte aligned. But within the linux kernel, > Documentation/arm64/booting.txt says, fdt must be 8 byte aligned. > > If I change the alignment by means of fdt_high, the Kernel boots, otherwise, > it hangs. > > Is there an option to align the fitImage to 8-byte boundaries, and if not, > is it feasible to submit a patch or will this never have a chance to get > merged?! That's interesting. It sounds like you need to look at boot_relocate_fdt() perhaps? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: