mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-17 04:06:56 +00:00
extra-build-config.md: Improve documentation on generating initramfs image
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -158,13 +158,14 @@ command (eg. bootz) to be used.
|
|||||||
|
|
||||||
To build an initramfs image:
|
To build an initramfs image:
|
||||||
|
|
||||||
* Set this 3 kernel variables (in linux-raspberrypi.inc for example)
|
* Set this 3 kernel variables (in kernel's do_configure_prepend in linux-raspberrypi.inc after the line kernel_configure_variable LOCALVERSION "\"\""
|
||||||
|
)
|
||||||
- kernel_configure_variable BLK_DEV_INITRD y
|
- kernel_configure_variable BLK_DEV_INITRD y
|
||||||
- kernel_configure_variable INITRAMFS_SOURCE ""
|
- kernel_configure_variable INITRAMFS_SOURCE ""
|
||||||
- kernel_configure_variable RD_GZIP y
|
- kernel_configure_variable RD_GZIP y
|
||||||
|
|
||||||
* Set the yocto variables (in linux-raspberrypi.inc for example)
|
* Set the yocto variables (e.g. in local.conf)
|
||||||
- `INITRAMFS_IMAGE = "<a name for your initramfs image>"`
|
- `INITRAMFS_IMAGE = "<name for your initramfs image>"`
|
||||||
- `INITRAMFS_IMAGE_BUNDLE = "1"`
|
- `INITRAMFS_IMAGE_BUNDLE = "1"`
|
||||||
|
|
||||||
## Enable SPI bus
|
## Enable SPI bus
|
||||||
|
|||||||
Reference in New Issue
Block a user