public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] db-88f6820-gp.h: Load data blobs into lower memory
Date: Fri, 15 May 2015 09:03:11 +0200	[thread overview]
Message-ID: <55559A2F.2030601@denx.de> (raw)
In-Reply-To: <1431559000-21544-5-git-send-email-kevin.smith@elecsyscorp.com>

On 14.05.2015 01:17, Kevin Smith wrote:
> By default on this platform, u-boot loads data into high memory
> in the range of 0x7Fxxxxxx, which generates a data abort when the
> kernel tries to read it.  Config the u-boot environment to load
> the device tree and initrd image into lower memory to make them
> accessible to the kernel.
>
> Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com>
> ---
>   include/configs/db-88f6820-gp.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
> index 12a24ce..490d74e 100644
> --- a/include/configs/db-88f6820-gp.h
> +++ b/include/configs/db-88f6820-gp.h
> @@ -63,6 +63,11 @@
>   #define CONFIG_SYS_CONSOLE_INFO_QUIET	/* don't print console @ startup */
>   #define CONFIG_SYS_ALT_MEMTEST
>
> +/* Keep device tree and initrd in lower memory so the kernel can access them */
> +#define CONFIG_EXTRA_ENV_SETTINGS       \
> +        "fdt_high=0x10000000\0"         \
> +        "initrd_high=0x10000000\0"

Indentation with tabs please.

Acked-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

      reply	other threads:[~2015-05-15  7:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 23:16 [U-Boot] [PATCH v2 0/4] arm: mvebu: Allow DB-88F6820-GP to boot Linux Kevin Smith
2015-05-13 23:17 ` [U-Boot] [PATCH v2 1/4] arm: mvebu: Disable L2 cache before enabling d-cache Kevin Smith
2015-05-13 23:17 ` [U-Boot] [PATCH v2 2/4] arm: mvebu: Update CBAR with SOC regs base Kevin Smith
2015-05-15  7:01   ` Stefan Roese
2015-05-13 23:17 ` [U-Boot] [PATCH v2 3/4] mv-common.h: Include support for device trees Kevin Smith
2015-05-15  7:02   ` Stefan Roese
2015-05-13 23:17 ` [U-Boot] [PATCH v2 4/4] db-88f6820-gp.h: Load data blobs into lower memory Kevin Smith
2015-05-15  7:03   ` Stefan Roese [this message]

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=55559A2F.2030601@denx.de \
    --to=sr@denx.de \
    --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