summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSébastien Mennetrier <s.mennetrier@innotis.org>2014-02-14 01:22:07 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2014-02-14 01:23:33 +0200
commit5e62146ae34eef49ff8c4b52790e0ba6230377e5 (patch)
treed1f549b7fd72eba16c6b2567828c7fda32eeca81 /README
parentd6468b7f91b04be84aa89f7f959bb27cb4999db8 (diff)
downloadmeta-raspberrypi-5e62146ae34eef49ff8c4b52790e0ba6230377e5.tar.gz
Add initramfs support
Permit to build an image with initramfs. Add information in README to build with initramfs. Change-Id: Icb812151a22771717805ec0a82feb7993f462b47 Signed-off-by: Sébastien Mennetrier <s.mennetrier@innotis.org>
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index fc492c5..daa4059 100644
--- a/README
+++ b/README
@@ -37,6 +37,7 @@ Contents:
37 2.F. Optional - Video camera support with V4L2 drivers 37 2.F. Optional - Video camera support with V4L2 drivers
38 2.G. Images 38 2.G. Images
39 2.H. Boot to U-Boot 39 2.H. Boot to U-Boot
40 2.I. Image with Initramfs
403. Extra apps 413. Extra apps
41 3.A. omxplayer 42 3.A. omxplayer
424. Source code and mirrors 434. Source code and mirrors
@@ -155,6 +156,18 @@ KERNEL_IMAGETYPE = "uImage"
155This will make kernel.img be u-boot image which will load uImage. 156This will make kernel.img be u-boot image which will load uImage.
156By default, kernel.img is the actual kernel image (ex. Image). 157By default, kernel.img is the actual kernel image (ex. Image).
157 158
1592.I. Image with Initramfs
160=========================
161To build an initramfs image :
162 * Set this 3 kernel variables (in linux-raspberrypi.inc for example)
163 - kernel_configure_variable BLK_DEV_INITRD y
164 - kernel_configure_variable INITRAMFS_SOURCE ""
165 - kernel_configure_variable RD_GZIP y
166 * Set the yocto variables (in linux-raspberrypi.inc for example)
167 - INITRAMFS_IMAGE = "<a name for your initramfs image>"
168 - INITRAMFS_IMAGE_BUNDLE = "1"
169 * Set the meta-rasberrypi variable (in raspberrypi.conf for example)
170 - KERNEL_INITRAMFS = "-initramfs"
158 171
1593. Extra apps 1723. Extra apps
160============= 173=============