diff options
| author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-07-17 12:32:40 -0700 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-07-29 11:54:14 +0100 |
| commit | 11318d2da103626761f0be0b03a166452416a09f (patch) | |
| tree | 7d09acee7c51fbbd32e0ac639e484ddc6d988a3a | |
| parent | c883daa802027abde6c5a3ff87dac6923e7b5b1a (diff) | |
| download | meta-raspberrypi-11318d2da103626761f0be0b03a166452416a09f.tar.gz | |
docs/extra-build-config.md: document vars to add to boot partition
FATPAYLOAD, DEPLOYPAYLOAD and RPI_SDIMG_EXTRA_DEPENDS
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
| -rw-r--r-- | docs/extra-build-config.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index a8c662a..b881322 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md | |||
| @@ -172,6 +172,31 @@ To build an initramfs image: | |||
| 172 | - `INITRAMFS_MAXSIZE = "315400"` | 172 | - `INITRAMFS_MAXSIZE = "315400"` |
| 173 | - `IMAGE_FSTYPES_pn-${INITRAMFS_IMAGE} = "${INITRAMFS_FSTYPES}"` | 173 | - `IMAGE_FSTYPES_pn-${INITRAMFS_IMAGE} = "${INITRAMFS_FSTYPES}"` |
| 174 | 174 | ||
| 175 | ## Including additional files in the SD card image boot partition | ||
| 176 | |||
| 177 | The SD card image class supports adding extra files into the boot | ||
| 178 | partition, where the files are copied from either the image root | ||
| 179 | partition or from the build image deploy directory. | ||
| 180 | |||
| 181 | To copy files that are present in the root partition into boot, | ||
| 182 | FATPAYLOAD is a simple space-separated list of files to be copied: | ||
| 183 | |||
| 184 | FATPAYLOAD = "/boot/example1 /boot/example2" | ||
| 185 | |||
| 186 | To copy files from the image deploy directory, the files should be | ||
| 187 | listed in the DEPLOYPAYLOAD as a space-separated list of entries. | ||
| 188 | Each entry lists a file to be copied, and an optional destination | ||
| 189 | filename can be specified by supplying it after a colon separator. | ||
| 190 | |||
| 191 | DEPLOYPAYLOAD = "example1-${MACHINE}:example1 example2" | ||
| 192 | |||
| 193 | Files that are to be included from the deploy directory will be produced | ||
| 194 | by tasks that image building task must depend upon, to ensure that the | ||
| 195 | files are available when they are needed, so these component deploy | ||
| 196 | tasks must be added to: RPI_SDIMG_EXTRA_DEPENDS. | ||
| 197 | |||
| 198 | RPI_SDIMG_EXTRA_DEPENDS_append = " example:do_deploy" | ||
| 199 | |||
| 175 | ## Enable SPI bus | 200 | ## Enable SPI bus |
| 176 | 201 | ||
| 177 | When using device tree kernels, set this variable to enable the SPI bus: | 202 | When using device tree kernels, set this variable to enable the SPI bus: |
