about summary refs log tree commit diff stats
path: root/docs/COMPILE.md
diff options
context:
space:
mode:
authorNeil Davis <neildavis@users.noreply.github.com>2023-01-09 16:02:14 +0000
committerGitHub <noreply@github.com>2023-01-09 16:02:14 +0000
commitd1f63fe260c28e3246ef23cd090eab51fcc8152e (patch)
tree9ff8aee33bb180d21b2ea3b8920f77695fec6a60 /docs/COMPILE.md
parent53eee70c0384e24a6f31e398ac7a271ef7e27432 (diff)
downloadbox64-d1f63fe260c28e3246ef23cd090eab51fcc8152e.tar.gz
box64-d1f63fe260c28e3246ef23cd090eab51fcc8152e.zip
Add support for Rpi3 on 64-bit ARM (aarch64) (#494)
Diffstat (limited to 'docs/COMPILE.md')
-rwxr-xr-xdocs/COMPILE.md27
1 files changed, 26 insertions, 1 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md
index d48bc1b6..c6c509f8 100755
--- a/docs/COMPILE.md
+++ b/docs/COMPILE.md
@@ -27,7 +27,32 @@ If it's the first install, you also need:
 sudo systemctl restart systemd-binfmt

 ```

 

-#### for PI4

+#### for Raspberry Pi 3

+

+Warning, you need a 64bit OS:

+

+If building on the Pi, you will also need a large swap (2 GB+)

+and reduce GPU memory to a minimum (e.g. 16 MB) using `raspi-config`

+(and reboot) before starting the build:

+

+You can use e.g. '`make -j4`' to speed up the build, but on a Pi 3 with 1GB memory you will likely

+run out of memory at some point and need to run the build again.

+Still, this can be faster if your build is attended.

+

+```

+git clone https://github.com/ptitSeb/box64

+cd box64

+mkdir build; cd build; cmake .. -DRPI3ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo

+make 

+# or e.g. make -j4

+sudo make install

+```

+If it's the first install, you also need:

+```

+sudo systemctl restart systemd-binfmt

+```

+

+#### for Raspberry Pi 4

 

 Warning, you need a 64bit OS: