From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 20 Apr 2021 10:20:43 -0400 Subject: [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses In-Reply-To: <20210412000455.12996-2-andre.przywara@arm.com> References: <20210412000455.12996-1-andre.przywara@arm.com> <20210412000455.12996-2-andre.przywara@arm.com> Message-ID: <20210420142043.GD1310@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, Apr 12, 2021 at 01:04:50AM +0100, Andre Przywara wrote: > So far on Highbank/Midway machines U-Boot only ever uses 512MB of DRAM, > even though the machines have typically 4GB and 8GB, respectively. > That means that so far we didn't need an extra limit for placing the DTB > and initrd, as the 512MB are lower than the kernel's limit ("lowmem", > typically 768MB). > > With U-Boot now needing to learn about the actual memory size (to > correctly populate the EFI memory map), it might relocate fdt and initrd > to the end of DRAM, which is out of reach of the kernel. > > So add limiting values to the fdt_high and initrd_high environment > variables, to prevent U-Boot from using too high addresses. > > Signed-off-by: Andre Przywara > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: