diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-11-07 18:52:33 -0800 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2018-11-08 13:23:05 +0000 |
commit | 78259ad6e29f247e61d282aaa44222d06bc1c29c (patch) | |
tree | 56b0aa128f1b4dfe6d7a9e451871f6ee36c468dd /docs | |
parent | f661406e2df48f1b8298b40bb25d12801cc4b5fb (diff) | |
download | meta-raspberrypi-78259ad6e29f247e61d282aaa44222d06bc1c29c.tar.gz |
extra-build-config.md: Improve documentation on generating initramfs image
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/extra-build-config.md | 7 |
1 files 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. | |||
158 | 158 | ||
159 | To build an initramfs image: | 159 | To build an initramfs image: |
160 | 160 | ||
161 | * Set this 3 kernel variables (in linux-raspberrypi.inc for example) | 161 | * Set this 3 kernel variables (in kernel's do_configure_prepend in linux-raspberrypi.inc after the line kernel_configure_variable LOCALVERSION "\"\"" |
162 | ) | ||
162 | - kernel_configure_variable BLK_DEV_INITRD y | 163 | - kernel_configure_variable BLK_DEV_INITRD y |
163 | - kernel_configure_variable INITRAMFS_SOURCE "" | 164 | - kernel_configure_variable INITRAMFS_SOURCE "" |
164 | - kernel_configure_variable RD_GZIP y | 165 | - kernel_configure_variable RD_GZIP y |
165 | 166 | ||
166 | * Set the yocto variables (in linux-raspberrypi.inc for example) | 167 | * Set the yocto variables (e.g. in local.conf) |
167 | - `INITRAMFS_IMAGE = "<a name for your initramfs image>"` | 168 | - `INITRAMFS_IMAGE = "<name for your initramfs image>"` |
168 | - `INITRAMFS_IMAGE_BUNDLE = "1"` | 169 | - `INITRAMFS_IMAGE_BUNDLE = "1"` |
169 | 170 | ||
170 | ## Enable SPI bus | 171 | ## Enable SPI bus |