summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2020-07-17 12:32:40 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-08-10 11:10:11 +0100
commit66ca1d81ec873c04283d09765c14aba4498f1178 (patch)
treefdfc2f3b8dfc1ff5cbfbcdc05bce4b78449a3015
parentbfde594164a0d3f9cfaf60fccd3bc4c85fa8c19c (diff)
downloadmeta-raspberrypi-66ca1d81ec873c04283d09765c14aba4498f1178.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.md25
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
177The SD card image class supports adding extra files into the boot
178partition, where the files are copied from either the image root
179partition or from the build image deploy directory.
180
181To copy files that are present in the root partition into boot,
182FATPAYLOAD is a simple space-separated list of files to be copied:
183
184 FATPAYLOAD = "/boot/example1 /boot/example2"
185
186To copy files from the image deploy directory, the files should be
187listed in the DEPLOYPAYLOAD as a space-separated list of entries.
188Each entry lists a file to be copied, and an optional destination
189filename can be specified by supplying it after a colon separator.
190
191 DEPLOYPAYLOAD = "example1-${MACHINE}:example1 example2"
192
193Files that are to be included from the deploy directory will be produced
194by tasks that image building task must depend upon, to ensure that the
195files are available when they are needed, so these component deploy
196tasks 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
177When using device tree kernels, set this variable to enable the SPI bus: 202When using device tree kernels, set this variable to enable the SPI bus: