From 78259ad6e29f247e61d282aaa44222d06bc1c29c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 7 Nov 2018 18:52:33 -0800 Subject: extra-build-config.md: Improve documentation on generating initramfs image Signed-off-by: Khem Raj --- docs/extra-build-config.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 79cf3c7..85f3734 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md @@ -158,13 +158,14 @@ command (eg. bootz) to be used. 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 INITRAMFS_SOURCE "" - kernel_configure_variable RD_GZIP y -* Set the yocto variables (in linux-raspberrypi.inc for example) - - `INITRAMFS_IMAGE = ""` +* Set the yocto variables (e.g. in local.conf) + - `INITRAMFS_IMAGE = ""` - `INITRAMFS_IMAGE_BUNDLE = "1"` ## Enable SPI bus -- cgit v1.2.3-54-g00ecf