[U-Boot] [PATCH RFC] sandbox: Add 64-bit sandbox

Simon Glass sjg at chromium.org
Fri Dec 29 03:13:50 UTC 2017


Hi Mario,

On 20 December 2017 at 07:31, Mario Six <mario.six at gdsys.cc> wrote:
> From: Mario Six <six at gdsys.cc>
>
> To debug device tree issues involving 32- and 64-bit platforms, it is useful to
> have a generic 64-bit platform available.
>
> Add a version of the sandbox that uses 64-bit integers for its physical
> addresses as well as a modified device tree.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
>
> ---
>  arch/sandbox/Kconfig             |   6 +
>  arch/sandbox/cpu/cpu.c           |   2 +-
>  arch/sandbox/dts/Makefile        |   4 +
>  arch/sandbox/dts/sandbox64.dts   | 317 +++++++++++++++++++++++++++++++++++++++
>  arch/sandbox/include/asm/io.h    |   6 +
>  arch/sandbox/include/asm/types.h |  14 +-
>  cmd/demo.c                       |   6 +-
>  configs/sandbox64_defconfig      | 200 ++++++++++++++++++++++++
>  drivers/demo/demo-simple.c       |   2 +-
>  9 files changed, 550 insertions(+), 7 deletions(-)
>  create mode 100644 arch/sandbox/dts/sandbox64.dts
>  create mode 100644 configs/sandbox64_defconfig

Reviewed-by: Simon Glass <sjg at chromium.org>

Can you please update the sandbox README?

Also, how does this play with CONFIG_SANDBOX_64BIT and CONFIG_PHYS_64BIT ?

Regards,
Simon


More information about the U-Boot mailing list