##// END OF EJS Templates
Added variables to allow for differnt kernel branches and Arm64.
Bobberty -
r149:50f0ea1b2bdc
parent child
Show More
@@ -69,6 +69,9 Specifiy the target Raspberry Pi hardware model. The script at this time support
69 69 ##### `RELEASE`="jessie"
70 70 Set the desired Debian release name. The script at this time supports the bootstrapping of the Debian releases "jessie" and "stretch". `BUILD_KERNEL`=true will automatically be set if the Debian release `stretch` is used.
71 71
72 ##### `RELEASE_ARCH`="armhf"
73 Set the desired Debian release architecture.
74
72 75 ##### `HOSTNAME`="rpi$RPI_MODEL-$RELEASE"
73 76 Set system host name. It's recommended that the host name is unique in the corresponding subnet.
74 77
@@ -259,6 +262,24 Add SSH (v2) public key(s) from specified file to `authorized_keys` file to enab
259 262 ##### `BUILD_KERNEL`=false
260 263 Build and install the latest RPi2/3 Linux kernel. Currently only the default RPi2/3 kernel configuration is used. `BUILD_KERNEL`=true will automatically be set if the Raspberry Pi model `3` is used.
261 264
265 ##### `CROSS_COMPILE`="arm-linux-gnueabihf-"
266 This sets the cross compile enviornment for the compiler.
267
268 ##### `KERNEL_ARCH`="arm"
269 This sets the kernel architecture for the compiler.
270
271 ##### `KERNEL_IMAGE`="kernel7.img"
272 Name of the image file in the boot partition.
273
274 ##### `KERNEL_BRANCH`=""
275 Name of the requested branch from the GIT location for the RPi Kernel. Default is using the current default branch from the GIT site.
276
277 ##### `QEMU_BINARY`="/usr/bin/qemu-arm-static"
278 Sets the QEMU enviornment for the Debian archive.
279
280 ##### `KERNEL_DEFCONFIG`="bcm2709_defconfig"
281 Sets the default config for kernel compiling.
282
262 283 ##### `KERNEL_REDUCE`=false
263 284 Reduce the size of the generated kernel by removing unwanted device, network and filesystem drivers (experimental).
264 285
@@ -345,8 +366,8 Sets key size in bits. The argument has to be a multiple of 8.
345 366 ##### `BASEDIR`=$(pwd)/images/${RELEASE}
346 367 Set a path to a working directory used by the script to generate an image.
347 368
348 ##### `IMAGE_NAME`=${BASEDIR}/${DATE}-rpi${RPI_MODEL}-${RELEASE}
349 Set a filename for the output file(s). Note: the script will create $IMAGE_NAME.img if `ENABLE_SPLITFS`=false or $IMAGE_NAME-frmw.img and $IMAGE_NAME-root.img if `ENABLE_SPLITFS`=true.
369 ##### `IMAGE_NAME`=${BASEDIR}/${DATE}-${KERNEL_ARCH}-${KERNEL_BRANCH}-rpi${RPI_MODEL}-${RELEASE}-${RELEASE_ARCH}
370 Set a filename for the output file(s). Note: the script will create $IMAGE_NAME.img if `ENABLE_SPLITFS`=false or $IMAGE_NAME-frmw.img and $IMAGE_NAME-root.img if `ENABLE_SPLITFS`=true. Note 2: If the KERNEL_BRANCH is not set, the word "CURRENT" is used.
350 371
351 372 ## Understanding the script
352 373 The functions of this script that are required for the different stages of the bootstrapping are split up into single files located inside the `bootstrap.d` directory. During the bootstrapping every script in this directory gets executed in lexicographical order:
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant