[U-Boot] [PATCH v2] vexpress64: use 2nd DRAM bank only on juno

Linus Walleij linus.walleij at linaro.org
Tue Oct 27 13:10:42 CET 2015


On Mon, Oct 26, 2015 at 12:00 PM, Ryan Harkin <ryan.harkin at linaro.org> wrote:

> This patch makes the 2nd DRAM bank available on Juno only and not on
> other vexpress64 targets, eg. the FVP models.
>
> The commit below added a 2nd bank of NOR flash for Juno, but also for
> all vexpress64 targets:
>
>     commit 2d0cee1ca2b9d977fa3214896bb2e30cfec77059
>     Author: Liviu Dudau <Liviu.Dudau at foss.arm.com>
>     Date:   Mon Oct 19 11:08:31 2015 +0100
>
>     vexpress64: Juno: Declare all 8GB of RAM and make them visible to the kernel.
>
>     Juno comes with 8GB RAM, but U-Boot only passes 2GB to the kernel.
>     Declare a secondary memory bank and set the sizes correctly.
>
>     Signed-off-by: Liviu Dudau <Liviu.Dudau at foss.arm.com>
>     Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
>     Reviewed-by: Ryan Harkin <ryan.harkin at linaro.org>
>     Tested-by: Ryan Harkin <ryan.harkin at linaro.org>
>
> Unfortunately, I only fully tested on Juno R0, R1 and the FVP Foundation
> model.  Whilst FVP Base AEMV8 models run U-Boot OK, they fail to boot
> the kernel.
>
> Signed-off-by: Ryan Harkin <ryan.harkin at linaro.org>
> Acked-by: Liviu Dudau <liviu.dudau at foss.arm.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

This relates to the discussion about "unknown board variants"
that we discuss in another thread, but let's keep that there.

Yours,
Linus Walleij


More information about the U-Boot mailing list