@@ -49,26 +49,25 Set Debian packages server address. Choose a server from the list of Debian worl | |||||
49 | Set Proxy server address. Using a local Proxy-Cache like `apt-cacher-ng` will speed-up the bootstrapping process because all required Debian packages will only be downloaded from the Debian mirror site once. If `apt-cacher-ng` is running on default `http://127.0.0.1:3142` it is autodetected and you don't need to set this. |
|
49 | Set Proxy server address. Using a local Proxy-Cache like `apt-cacher-ng` will speed-up the bootstrapping process because all required Debian packages will only be downloaded from the Debian mirror site once. If `apt-cacher-ng` is running on default `http://127.0.0.1:3142` it is autodetected and you don't need to set this. | |
50 |
|
50 | |||
51 | ##### `APT_INCLUDES`="" |
|
51 | ##### `APT_INCLUDES`="" | |
52 |
A comma |
|
52 | A comma-separated list of additional packages to be installed by debootstrap during bootstrapping. | |
53 |
|
53 | |||
54 | ##### `APT_INCLUDES_LATE`="" |
|
54 | ##### `APT_INCLUDES_LATE`="" | |
55 |
A comma |
|
55 | A comma-separated list of additional packages to be installed by apt after bootstrapping and after APT sources are set up. This is useful for packages with pre-depends, which debootstrap do not handle well. | |
56 |
|
56 | |||
57 | --- |
|
57 | --- | |
58 |
|
58 | |||
59 | #### General system settings: |
|
59 | #### General system settings: | |
60 | ##### `SET_ARCH`=32 |
|
60 | ##### `SET_ARCH`=32 | |
61 |
Set Architecture to default 32bit. If you want to |
|
61 | Set Architecture to default 32bit. If you want to compile 64-bit (RPI3 or RPI3+) set it to `64`. This option will set every needed cross-compiler or board specific option for a successful build. | |
62 |
|
62 | |||
63 | ##### `RPI_MODEL`=2 |
|
63 | ##### `RPI_MODEL`=2 | |
64 |
Specif |
|
64 | Specify the target Raspberry Pi hardware model. The script at this time supports the following Raspberry Pi models: | |
65 |
- `0` = |
|
65 | - `0` = Raspberry Pi 0 and Raspberry Pi 0 W | |
66 |
- `1` = |
|
66 | - `1` = Raspberry Pi 1 model A and B | |
67 |
- `1P` = |
|
67 | - `1P` = Raspberry Pi 1 model B+ and A+ | |
68 |
- `2` = |
|
68 | - `2` = Raspberry Pi 2 model B | |
69 |
- `3` = |
|
69 | - `3` = Raspberry Pi 3 model B | |
70 |
- `3P` = |
|
70 | - `3P` = Raspberry Pi 3 model B+ | |
71 | - `BUILD_KERNEL`=true will automatically be set if the Raspberry Pi model `3` or `3P` is used. |
|
|||
72 |
|
71 | |||
73 | ##### `RELEASE`="buster" |
|
72 | ##### `RELEASE`="buster" | |
74 | Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases `stretch` and `buster`. |
|
73 | Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases `stretch` and `buster`. | |
@@ -117,7 +116,7 Set extra xkb configuration options. | |||||
117 | --- |
|
116 | --- | |
118 |
|
117 | |||
119 | #### Networking settings (DHCP): |
|
118 | #### Networking settings (DHCP): | |
120 |
This parameter is used to set up networking auto |
|
119 | This parameter is used to set up networking auto-configuration in `/etc/systemd/network/eth.network`. The default location of network configuration files in the Debian `stretch` release was changed to `/lib/systemd/network`.` | |
121 |
|
120 | |||
122 | ##### `ENABLE_DHCP`=true |
|
121 | ##### `ENABLE_DHCP`=true | |
123 | Set the system to use DHCP. This requires an DHCP server. |
|
122 | Set the system to use DHCP. This requires an DHCP server. | |
@@ -158,13 +157,13 Enable serial console interface. Recommended if no monitor or keyboard is connec | |||||
158 | Enables printing kernel messages to konsole. printk is `3 4 1 3` as in raspbian. |
|
157 | Enables printing kernel messages to konsole. printk is `3 4 1 3` as in raspbian. | |
159 |
|
158 | |||
160 | ##### `ENABLE_BLUETOOTH`=false |
|
159 | ##### `ENABLE_BLUETOOTH`=false | |
161 | Enable onboard Bluetooth interface on the RPi0/3/3P. See: https://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/ |
|
160 | Enable onboard Bluetooth interface on the RPi0/3/3P. See: [Configuring the GPIO serial port on Raspbian jessie and stretch](https://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/). | |
162 |
|
161 | |||
163 | ##### `ENABLE_MINIUART_OVERLAY`=false |
|
162 | ##### `ENABLE_MINIUART_OVERLAY`=false | |
164 |
Enable Bluetooth to use this. Adds overlay to swap UART0 with UART1. Enabling (slower) Bluetooth and full speed serial console. - RPI `0` `3` `3P` have a fast `hardware UART0` (ttyAMA0) and a `mini UART1` (ttyS0)! RPI `1` `1P` `2` only have a `hardware UART0`. `UART0` is considered better, because is faster and more stable than `mini UART1`. By default the Bluetooth modem is mapped to the `hardware UART0` and `mini UART` is used for console. The `mini UART` is a problem for the serial console, because its baudrate depends on the |
|
163 | Enable Bluetooth to use this. Adds overlay to swap UART0 with UART1. Enabling (slower) Bluetooth and full speed serial console. - RPI `0` `3` `3P` have a fast `hardware UART0` (ttyAMA0) and a `mini UART1` (ttyS0)! RPI `1` `1P` `2` only have a `hardware UART0`. `UART0` is considered better, because is faster and more stable than `mini UART1`. By default the Bluetooth modem is mapped to the `hardware UART0` and `mini UART` is used for console. The `mini UART` is a problem for the serial console, because its baudrate depends on the CPU frequency, which is changing on runtime. Resulting in a volatile baudrate and thus in an unusable serial console. | |
165 |
|
164 | |||
166 | ##### `ENABLE_TURBO`=false |
|
165 | ##### `ENABLE_TURBO`=false | |
167 | Enable Turbo mode. This setting locks cpu at highest frequency. As setting ENABLE_CONSOLE=true locks RPI to lowest CPU speed, this is can be used additionally to lock cpu hat max speed. Need a good power supply and probably cooling for the Raspberry PI. |
|
166 | Enable Turbo mode. This setting locks cpu at the highest frequency. As setting ENABLE_CONSOLE=true locks RPI to lowest CPU speed, this is can be used additionally to lock cpu hat max speed. Need a good power supply and probably cooling for the Raspberry PI. | |
168 |
|
167 | |||
169 | ##### `ENABLE_I2C`=false |
|
168 | ##### `ENABLE_I2C`=false | |
170 | Enable I2C interface on the RPi 0/1/2/3. Please check the [RPi 0/1/2/3 pinout diagrams](https://elinux.org/RPi_Low-level_peripherals) to connect the right GPIO pins. |
|
169 | Enable I2C interface on the RPi 0/1/2/3. Please check the [RPi 0/1/2/3 pinout diagrams](https://elinux.org/RPi_Low-level_peripherals) to connect the right GPIO pins. | |
@@ -191,7 +190,7 If set to false, disable and uninstall rsyslog (so logs will be available only i | |||||
191 | Enable sound hardware and install Advanced Linux Sound Architecture. |
|
190 | Enable sound hardware and install Advanced Linux Sound Architecture. | |
192 |
|
191 | |||
193 | ##### `ENABLE_HWRANDOM`=true |
|
192 | ##### `ENABLE_HWRANDOM`=true | |
194 |
Enable Hardware Random Number Generator. Strong random numbers are important for most network |
|
193 | Enable Hardware Random Number Generator. Strong random numbers are important for most network-based communications that use encryption. It's recommended to be enabled. | |
195 |
|
194 | |||
196 | ##### `ENABLE_MINGPU`=false |
|
195 | ##### `ENABLE_MINGPU`=false | |
197 | Minimize the amount of shared memory reserved for the GPU. It doesn't seem to be possible to fully disable the GPU. |
|
196 | Minimize the amount of shared memory reserved for the GPU. It doesn't seem to be possible to fully disable the GPU. | |
@@ -203,7 +202,7 Install and enable D-Bus message bus. Please note that systemd should work witho | |||||
203 | Install Xorg open-source X Window System. |
|
202 | Install Xorg open-source X Window System. | |
204 |
|
203 | |||
205 | ##### `ENABLE_WM`="" |
|
204 | ##### `ENABLE_WM`="" | |
206 |
Install a user |
|
205 | Install a user-defined window manager for the X Window System. To make sure all X related package dependencies are getting installed `ENABLE_XORG` will automatically get enabled if `ENABLE_WM` is used. The `rpi23-gen-image.sh` script has been tested with the following list of window managers: `blackbox`, `openbox`, `fluxbox`, `jwm`, `dwm`, `xfce4`, `awesome`. | |
207 |
|
206 | |||
208 | ##### `ENABLE_SYSVINIT`=false |
|
207 | ##### `ENABLE_SYSVINIT`=false | |
209 | Support for halt,init,poweroff,reboot,runlevel,shutdown,telinit commands |
|
208 | Support for halt,init,poweroff,reboot,runlevel,shutdown,telinit commands | |
@@ -230,16 +229,16 Install and enable the [hardware accelerated Xorg video driver](https://github.c | |||||
230 | Path to a directory (`xf86-video-fbturbo`) of [hardware accelerated Xorg video driver sources](https://github.com/ssvb/xf86-video-fbturbo) that will be copied, configured, build and installed inside the chroot. |
|
229 | Path to a directory (`xf86-video-fbturbo`) of [hardware accelerated Xorg video driver sources](https://github.com/ssvb/xf86-video-fbturbo) that will be copied, configured, build and installed inside the chroot. | |
231 |
|
230 | |||
232 | ##### `ENABLE_VIDEOCORE`=false |
|
231 | ##### `ENABLE_VIDEOCORE`=false | |
233 |
Install and enable the [ |
|
232 | Install and enable the [ARM side libraries for interfacing to Raspberry Pi GPU](https://github.com/raspberrypi/userland) `vcgencmd`. Please note that this driver is currently limited to hardware accelerated window moving and scrolling. | |
234 |
|
233 | |||
235 | ##### `VIDEOCORESRC_DIR`="" |
|
234 | ##### `VIDEOCORESRC_DIR`="" | |
236 |
Path to a directory (`userland`) of [ |
|
235 | Path to a directory (`userland`) of [ARM side libraries for interfacing to Raspberry Pi GPU](https://github.com/raspberrypi/userland) that will be copied, configured, build and installed inside the chroot. | |
237 |
|
236 | |||
238 | ##### `ENABLE_IPTABLES`=false |
|
237 | ##### `ENABLE_IPTABLES`=false | |
239 | Enable iptables IPv4/IPv6 firewall. Simplified ruleset: Allow all outgoing connections. Block all incoming connections except to OpenSSH service. |
|
238 | Enable iptables IPv4/IPv6 firewall. Simplified ruleset: Allow all outgoing connections. Block all incoming connections except to OpenSSH service. | |
240 |
|
239 | |||
241 | ##### `ENABLE_USER`=true |
|
240 | ##### `ENABLE_USER`=true | |
242 | Create non-root user with password `USER_PASSWORD`=raspberry. Unless overridden with `USER_NAME`=user, username will be `pi`. |
|
241 | Create non-root user with password `USER_PASSWORD`=raspberry. Unless overridden with `USER_NAME`=user, the username will be `pi`. | |
243 |
|
242 | |||
244 | ##### `USER_NAME`=pi |
|
243 | ##### `USER_NAME`=pi | |
245 | Non-root user to create. Ignored if `ENABLE_USER`=false |
|
244 | Non-root user to create. Ignored if `ENABLE_USER`=false | |
@@ -269,10 +268,10 Disable RPi2/3 under-voltage warnings and overlays. Setting the parameter to `1` | |||||
269 |
|
268 | |||
270 | #### SSH settings: |
|
269 | #### SSH settings: | |
271 | ##### `SSH_ENABLE_ROOT`=false |
|
270 | ##### `SSH_ENABLE_ROOT`=false | |
272 | Enable password root login via SSH. This may be a security risk with default password, use only in trusted environments. `ENABLE_ROOT` must be set to `true`. |
|
271 | Enable password-based root login via SSH. This may be a security risk with the default password set, use only in trusted environments. `ENABLE_ROOT` must be set to `true`. | |
273 |
|
272 | |||
274 | ##### `SSH_DISABLE_PASSWORD_AUTH`=false |
|
273 | ##### `SSH_DISABLE_PASSWORD_AUTH`=false | |
275 |
Disable password |
|
274 | Disable password-based SSH authentication. Only public key based SSH (v2) authentication will be supported. | |
276 |
|
275 | |||
277 | ##### `SSH_LIMIT_USERS`=false |
|
276 | ##### `SSH_LIMIT_USERS`=false | |
278 | Limit the users that are allowed to login via SSH. Only allow user `USER_NAME`=pi and root if `SSH_ENABLE_ROOT`=true to login. This parameter will be ignored if `dropbear` SSH is used (`REDUCE_SSHD`=true). |
|
277 | Limit the users that are allowed to login via SSH. Only allow user `USER_NAME`=pi and root if `SSH_ENABLE_ROOT`=true to login. This parameter will be ignored if `dropbear` SSH is used (`REDUCE_SSHD`=true). | |
@@ -290,7 +289,7 Add SSH (v2) public key(s) from specified file to `authorized_keys` file to enab | |||||
290 | Build and install the latest RPi 0/1/2/3 Linux kernel. Currently only the default RPi 0/1/2/3 kernel configuration is used. |
|
289 | Build and install the latest RPi 0/1/2/3 Linux kernel. Currently only the default RPi 0/1/2/3 kernel configuration is used. | |
291 |
|
290 | |||
292 | ##### `CROSS_COMPILE`="arm-linux-gnueabihf-" |
|
291 | ##### `CROSS_COMPILE`="arm-linux-gnueabihf-" | |
293 |
This sets the cross |
|
292 | This sets the cross-compile environment for the compiler. | |
294 |
|
293 | |||
295 | ##### `KERNEL_ARCH`="arm" |
|
294 | ##### `KERNEL_ARCH`="arm" | |
296 | This sets the kernel architecture for the compiler. |
|
295 | This sets the kernel architecture for the compiler. | |
@@ -308,13 +307,13 Sets the QEMU enviornment for the Debian archive. If not set, `QEMU_BINARY` will | |||||
308 | Sets the default config for kernel compiling. If not set, `KERNEL_DEFCONFIG` will be set to "bcmrpi3\_defconfig" automatically if building for arm64. |
|
307 | Sets the default config for kernel compiling. If not set, `KERNEL_DEFCONFIG` will be set to "bcmrpi3\_defconfig" automatically if building for arm64. | |
309 |
|
308 | |||
310 | ##### `KERNEL_REDUCE`=false |
|
309 | ##### `KERNEL_REDUCE`=false | |
311 | Reduce the size of the generated kernel by removing unwanted device, network and filesystem drivers (experimental). |
|
310 | Reduce the size of the generated kernel by removing unwanted devices, network and filesystem drivers (experimental). | |
312 |
|
311 | |||
313 | ##### `KERNEL_THREADS`=1 |
|
312 | ##### `KERNEL_THREADS`=1 | |
314 | Number of parallel kernel building threads. If the parameter is left untouched the script will automatically determine the number of CPU cores to set the number of parallel threads to speed the kernel compilation. |
|
313 | Number of parallel kernel building threads. If the parameter is left untouched the script will automatically determine the number of CPU cores to set the number of parallel threads to speed the kernel compilation. | |
315 |
|
314 | |||
316 | ##### `KERNEL_HEADERS`=true |
|
315 | ##### `KERNEL_HEADERS`=true | |
317 | Install kernel headers with built kernel. |
|
316 | Install kernel headers with the built kernel. | |
318 |
|
317 | |||
319 | ##### `KERNEL_MENUCONFIG`=false |
|
318 | ##### `KERNEL_MENUCONFIG`=false | |
320 | Start `make menuconfig` interactive menu-driven kernel configuration. The script will continue after `make menuconfig` was terminated. |
|
319 | Start `make menuconfig` interactive menu-driven kernel configuration. The script will continue after `make menuconfig` was terminated. |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant