summaryrefslogtreecommitdiff
path: root/board/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-22 15:22:45 (GMT)
committerTom Rini <trini@konsulko.com>2016-07-25 16:05:53 (GMT)
commit5923c843ba0e06a90e0c0c5cc6894ac8641377e1 (patch)
treedbd9f504d4923087eb9efa43922050291d95035c /board/sandbox
parent713fb2dcb24537073171fc84528044a3ba081817 (diff)
downloadu-boot-5923c843ba0e06a90e0c0c5cc6894ac8641377e1.tar.xz
sandbox: Add instructions about building on 32-bit machines
Sandbox is built with 64-bit ints by default. This doesn't work properly on 32-bit machines. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/sandbox')
-rw-r--r--board/sandbox/README.sandbox3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
index 9fe3bf1..ed820d3 100644
--- a/board/sandbox/README.sandbox
+++ b/board/sandbox/README.sandbox
@@ -44,6 +44,9 @@ Note:
make sandbox_defconfig all NO_SDL=1
./u-boot
+ If you are building on a 32-bit machine you may get errors from __ffs.h
+ about shifting more than the machine word size. Edit the config file
+ include/configs/sandbox.h and change CONFIG_SANDBOX_BITS_PER_LONG to 32.
U-Boot will start on your computer, showing a sandbox emulation of the serial
console: