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: [U-Boot] [PATCH] image: check "bootm_low" and "bootm_size" if "initrd_high" is missing
Date: Wed, 13 Jan 2016 08:11:03 -0500	[thread overview]
Message-ID: <20160113131103.GA3359@bill-the-cat> (raw)
In-Reply-To: <CAK7LNAQ80r6hz5xwXm+5aV50QT2QjJ1nuNZPvFAhKVA7SS7iVA@mail.gmail.com>

On Sat, Jan 09, 2016 at 01:12:33AM +0900, Masahiro Yamada wrote:
> Hi Tom,
> 
> 
> 2016-01-05 4:59 GMT+09:00 Tom Rini <trini@konsulko.com>:
> > On Thu, Dec 17, 2015 at 05:19:35PM +0900, Masahiro Yamada wrote:
> >
> >> To boot Linux, we should prevent Initramdisk and FDT from going too
> >> high.
> >
> > OK, why?  I could be entirely wrong here but I had thought for some
> > reason that if the ramdisk was in "highmem" the kernel would relocate
> > contents (or if compressed, uncompress to a non-highmem location).  The
> > FDT must be in lowmem as that tells the kernel where memory even is.  Is
> > this not the case?  Thanks!
> 
> 
> Just in case, I asked this in the kernel ML.
> 
> 
> See this thread:
> https://lkml.org/lkml/2016/1/8/169
> 
> 
> Jon gave me the answer.
> 
> 
> 
> 5. Load initramfs.
> ------------------
> 
> Existing boot loaders:          OPTIONAL
> New boot loaders:               OPTIONAL
> 
> If an initramfs is in use then, as with the dtb, it must be placed in
> a region of memory where the kernel decompressor will not overwrite it
> while also with the region which will be covered by the kernel's
> low-memory mapping.
> 
> A safe location is just above the device tree blob which itself will
> be loaded just above the 128MiB boundary from the start of RAM as
> recommended above.

Which explains why I picked the regions I picked for ti_armv7_common.h
that I did.  So, OK, thanks!  I'll apply this patch shortly.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160113/71fa1483/attachment.sig>

  reply	other threads:[~2016-01-13 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17  8:19 [U-Boot] [PATCH] image: check "bootm_low" and "bootm_size" if "initrd_high" is missing Masahiro Yamada
2016-01-04 19:59 ` Tom Rini
2016-01-08 16:12   ` Masahiro Yamada
2016-01-13 13:11     ` Tom Rini [this message]
2016-01-13 21:55 ` 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=20160113131103.GA3359@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