public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses
Date: Tue, 20 Apr 2021 10:20:43 -0400	[thread overview]
Message-ID: <20210420142043.GD1310@bill-the-cat> (raw)
In-Reply-To: <20210412000455.12996-2-andre.przywara@arm.com>

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 <andre.przywara@arm.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/c9988f53/attachment.sig>

  parent reply	other threads:[~2021-04-20 14:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12  0:04 [PATCH 0/6] highbank: Update to driver model Andre Przywara
2021-04-12  0:04 ` [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses Andre Przywara
2021-04-12  0:29   ` Tom Rini
2021-04-20 14:20   ` Tom Rini [this message]
2021-04-12  0:04 ` [PATCH 2/6] arm: highbank: Enable OF_CONTROL Andre Przywara
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 3/6] net: calxedagmac: Convert to DM_ETH Andre Przywara
2021-04-15  1:53   ` Ramon Fried
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 4/6] arm: highbank: Remove artificial SDRAM size Andre Przywara
2021-04-20 14:20   ` Tom Rini
2021-04-12  0:04 ` [PATCH 5/6] arm: highbank: Do DRAM init from DT Andre Przywara
2021-04-20 14:21   ` Tom Rini
2021-04-12  0:04 ` [PATCH 6/6] arm: highbank: Update maintainership Andre Przywara
2021-04-20 14:21   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210420142043.GD1310@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox