summaryrefslogtreecommitdiff
path: root/board/sandbox
diff options
context:
space:
mode:
authorMario Six <six@gdsys.cc>2018-02-12 08:05:57 +0100
committerSimon Glass <sjg@chromium.org>2018-02-18 15:53:48 -0700
commitc6b89f31806df06a5d7b688a65f9d2e6e6119a55 (patch)
treec672045c9190eba8774a37aa2e14b0e6102bb12e /board/sandbox
parent995b60b5937133639500d89a01da0d88af3cff15 (diff)
sandbox: Add 64-bit sandbox
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@gdsys.cc> Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/sandbox')
-rw-r--r--board/sandbox/MAINTAINERS8
-rw-r--r--board/sandbox/README.sandbox7
2 files changed, 13 insertions, 2 deletions
diff --git a/board/sandbox/MAINTAINERS b/board/sandbox/MAINTAINERS
index 6d0790ccd1..df29abe7aa 100644
--- a/board/sandbox/MAINTAINERS
+++ b/board/sandbox/MAINTAINERS
@@ -5,6 +5,14 @@ F: board/sandbox/
F: include/configs/sandbox.h
F: configs/sandbox_defconfig
+SANDBOX64 BOARD
+M: Simon Glass <sjg@chromium.org>
+M: Mario Six <mario.six@gdsys.cc>
+S: Maintained
+F: board/sandbox/
+F: include/configs/sandbox.h
+F: configs/sandbox64_defconfig
+
SANDBOX_NOBLK BOARD
M: Simon Glass <sjg@chromium.org>
S: Maintained
diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
index 9bc13e142b..760866f1c3 100644
--- a/board/sandbox/README.sandbox
+++ b/board/sandbox/README.sandbox
@@ -24,8 +24,11 @@ single board in board/sandbox.
CONFIG_SANDBOX_BIG_ENDIAN should be defined when running on big-endian
machines.
-By default sandbox builds and runs on 64-bit hosts. If you are going to build
-and run sandbox on a 32-bit host, select CONFIG_SANDBOX_32BIT.
+There are two versions of the sandbox: One using 32-bit-wide integers, and one
+using 64-bit-wide integers. The 32-bit version can be build and run on either
+32 or 64-bit hosts by either selecting or deselecting CONFIG_SANDBOX_32BIT; by
+default, the sandbox it built for a 32-bit host. The sandbox using 64-bit-wide
+integers can only be built on 64-bit hosts.
Note that standalone/API support is not available at present.