mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
c883daa802
commit
11318d2da1
|
@ -172,6 +172,31 @@ To build an initramfs image:
|
|||
- `INITRAMFS_MAXSIZE = "315400"`
|
||||
- `IMAGE_FSTYPES_pn-${INITRAMFS_IMAGE} = "${INITRAMFS_FSTYPES}"`
|
||||
|
||||
## Including additional files in the SD card image boot partition
|
||||
|
||||
The SD card image class supports adding extra files into the boot
|
||||
partition, where the files are copied from either the image root
|
||||
partition or from the build image deploy directory.
|
||||
|
||||
To copy files that are present in the root partition into boot,
|
||||
FATPAYLOAD is a simple space-separated list of files to be copied:
|
||||
|
||||
FATPAYLOAD = "/boot/example1 /boot/example2"
|
||||
|
||||
To copy files from the image deploy directory, the files should be
|
||||
listed in the DEPLOYPAYLOAD as a space-separated list of entries.
|
||||
Each entry lists a file to be copied, and an optional destination
|
||||
filename can be specified by supplying it after a colon separator.
|
||||
|
||||
DEPLOYPAYLOAD = "example1-${MACHINE}:example1 example2"
|
||||
|
||||
Files that are to be included from the deploy directory will be produced
|
||||
by tasks that image building task must depend upon, to ensure that the
|
||||
files are available when they are needed, so these component deploy
|
||||
tasks must be added to: RPI_SDIMG_EXTRA_DEPENDS.
|
||||
|
||||
RPI_SDIMG_EXTRA_DEPENDS_append = " example:do_deploy"
|
||||
|
||||
## Enable SPI bus
|
||||
|
||||
When using device tree kernels, set this variable to enable the SPI bus:
|
||||
|
|
Loading…
Reference in New Issue
Block a user