@@ -1,6 +1,6 | |||
|
1 | 1 | # rpi23-gen-image |
|
2 | 2 | ## Introduction |
|
3 |
`rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for Raspberry Pi 2 (RPi2) and Raspberry Pi 3 (RPi3) computers. The script at this time supports the bootstrapping of the Debian (armhf) releases |
|
|
3 | `rpi23-gen-image.sh` is an advanced Debian Linux bootstrapping shell script for generating Debian OS images for Raspberry Pi 2 (RPi2) and Raspberry Pi 3 (RPi3) computers. The script at this time supports the bootstrapping of the Debian (armhf) releases `stretch` and `buster`. Raspberry Pi 3 images are generated for 32-bit mode only. Raspberry Pi 3 64-bit images can be generated using custom configuration parameters (```templates/rpi3-stretch-arm64-4.11.y```). | |
|
4 | 4 | |
|
5 | 5 | ## Build dependencies |
|
6 | 6 | The following list of Debian packages must be installed on the build system because they are essentially required for the bootstrapping process. The script will check if all required packages are installed and missing packages will be installed automatically if confirmed by the user. |
@@ -9,16 +9,7 The following list of Debian packages must be installed on the build system beca | |||
|
9 | 9 | |
|
10 | 10 | It is recommended to configure the `rpi23-gen-image.sh` script to build and install the latest Raspberry Pi Linux kernel. For the RPi3 this is mandatory. Kernel compilation and linking will be performed on the build system using an ARM (armhf) cross-compiler toolchain. |
|
11 | 11 | |
|
12 |
The script has been tested using the default `crossbuild-essential-armhf` toolchain meta package on Debian Linux |
|
|
13 | ||
|
14 | If a Debian Linux `jessie` build system is used it will be required to add the [Debian Cross-toolchains repository](http://emdebian.org/tools/debian/) first: | |
|
15 | ||
|
16 | ``` | |
|
17 | echo "deb http://emdebian.org/tools/debian/ jessie main" > /etc/apt/sources.list.d/crosstools.list | |
|
18 | sudo -u nobody wget -O - http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add - | |
|
19 | dpkg --add-architecture armhf | |
|
20 | apt-get update | |
|
21 | ``` | |
|
12 | The script has been tested using the default `crossbuild-essential-armhf` toolchain meta package on Debian Linux and `stretch` build systems. Please check the [Debian CrossToolchains Wiki](https://wiki.debian.org/CrossToolchains) for further information. | |
|
22 | 13 | |
|
23 | 14 | ## Command-line parameters |
|
24 | 15 | The script accepts certain command-line parameters to enable or disable specific OS features, services and configuration settings. These parameters are passed to the `rpi23-gen-image.sh` script via (simple) shell-variables. Unlike environment shell-variables (simple) shell-variables are defined at the beginning of the command-line call of the `rpi23-gen-image.sh` script. |
@@ -76,8 +67,8 Specifiy the target Raspberry Pi hardware model. The script at this time support | |||
|
76 | 67 | `3P` = Used for Pi 3 model B+ |
|
77 | 68 | `BUILD_KERNEL`=true will automatically be set if the Raspberry Pi model `3` or `3P` is used. |
|
78 | 69 | |
|
79 |
##### `RELEASE`=" |
|
|
80 |
Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases |
|
|
70 | ##### `RELEASE`="buster" | |
|
71 | Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases "stretch" and "buster". `BUILD_KERNEL`=true will automatically be set if the Debian releases `stretch` or `buster` are used. | |
|
81 | 72 | |
|
82 | 73 | ##### `RELEASE_ARCH`="armhf" |
|
83 | 74 | Set the desired Debian release architecture. |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant