summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Bazile <romain@bazile.io>2022-02-22 11:30:46 +0100
committerGitHub <noreply@github.com>2022-02-22 10:30:46 +0000
commitb1d54c82fec27414ee5200bdc2069a56ede8a1af (patch)
tree595986cb775217c9d07443f930fab19c1651af52
parentc63a3aedf95988b25156794894e512d05b3dc92d (diff)
Provide information to build the 64 bit image in the README (#596)
Fixes #595
-rw-r--r--README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index c19e02e..beba5c2 100644
--- a/README.md
+++ b/README.md
@@ -454,7 +454,22 @@ Now you should be able to start a new build without running into troubles again.
# Troubleshooting
## `64 Bit Systems`
-Please note there is currently an issue when compiling with a 64 Bit OS. See https://github.com/RPi-Distro/pi-gen/issues/271
+Please note there is currently an issue when compiling with a 64 Bit OS. See
+https://github.com/RPi-Distro/pi-gen/issues/271
+
+A 64 bit image can be generated from the `arm64` branch in this repository. Just
+replace the command from [this section](#getting-started-with-building-your-images)
+by the one below, and follow the rest of the documentation:
+```bash
+git clone --depth 1 --branch arm64 https://github.com/RPI-Distro/pi-gen.git
+```
+
+If you want to generate a 64 bits image from a Raspberry Pi running a 32 bits
+version, you need to add `arm_64bit=1` to your `config.txt` file and reboot your
+machine. This will restart your machine with a 64 bits kernel. This will only
+work from a Raspberry Pi with a 64-bit capable processor (i.e. Raspberry Pi Zero
+2, Raspberry Pi 3 or Raspberry Pi 4).
+
## `binfmt_misc`