diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -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 | ||
| 40 | 3. Extra apps | 41 | 3. Extra apps |
| 41 | 3.A. omxplayer | 42 | 3.A. omxplayer |
| 42 | 4. Source code and mirrors | 43 | 4. Source code and mirrors |
| @@ -155,6 +156,18 @@ KERNEL_IMAGETYPE = "uImage" | |||
| 155 | This will make kernel.img be u-boot image which will load uImage. | 156 | This will make kernel.img be u-boot image which will load uImage. |
| 156 | By default, kernel.img is the actual kernel image (ex. Image). | 157 | By default, kernel.img is the actual kernel image (ex. Image). |
| 157 | 158 | ||
| 159 | 2.I. Image with Initramfs | ||
| 160 | ========================= | ||
| 161 | To 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 | ||
| 159 | 3. Extra apps | 172 | 3. Extra apps |
| 160 | ============= | 173 | ============= |
