diff options
| -rw-r--r-- | classes/sdcard_image-rpi.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 62c0768..bdecfb4 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
| @@ -14,14 +14,14 @@ inherit linux-raspberrypi-base | |||
| 14 | # Default Free space = 1.3x | 14 | # Default Free space = 1.3x |
| 15 | # Use IMAGE_OVERHEAD_FACTOR to add more space | 15 | # Use IMAGE_OVERHEAD_FACTOR to add more space |
| 16 | # <---------> | 16 | # <---------> |
| 17 | # 4MiB 20MiB SDIMG_ROOTFS | 17 | # 4MiB 40MiB SDIMG_ROOTFS |
| 18 | # <-----------------------> <----------> <----------------------> | 18 | # <-----------------------> <----------> <----------------------> |
| 19 | # ------------------------ ------------ ------------------------ | 19 | # ------------------------ ------------ ------------------------ |
| 20 | # | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE | | 20 | # | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE | |
| 21 | # ------------------------ ------------ ------------------------ | 21 | # ------------------------ ------------ ------------------------ |
| 22 | # ^ ^ ^ ^ | 22 | # ^ ^ ^ ^ |
| 23 | # | | | | | 23 | # | | | | |
| 24 | # 0 4MiB 4MiB + 20MiB 4MiB + 20Mib + SDIMG_ROOTFS | 24 | # 0 4MiB 4MiB + 40MiB 4MiB + 40Mib + SDIMG_ROOTFS |
| 25 | 25 | ||
| 26 | # This image depends on the rootfs image | 26 | # This image depends on the rootfs image |
| 27 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" | 27 | IMAGE_TYPEDEP_rpi-sdimg = "${SDIMG_ROOTFS_TYPE}" |
| @@ -40,7 +40,7 @@ SDIMG_KERNELIMAGE_raspberrypi2 ?= "kernel7.img" | |||
| 40 | BOOTDD_VOLUME_ID ?= "${MACHINE}" | 40 | BOOTDD_VOLUME_ID ?= "${MACHINE}" |
| 41 | 41 | ||
| 42 | # Boot partition size [in KiB] (will be rounded up to IMAGE_ROOTFS_ALIGNMENT) | 42 | # Boot partition size [in KiB] (will be rounded up to IMAGE_ROOTFS_ALIGNMENT) |
| 43 | BOOT_SPACE ?= "20480" | 43 | BOOT_SPACE ?= "40960" |
| 44 | 44 | ||
| 45 | # Set alignment to 4MB [in KiB] | 45 | # Set alignment to 4MB [in KiB] |
| 46 | IMAGE_ROOTFS_ALIGNMENT = "4096" | 46 | IMAGE_ROOTFS_ALIGNMENT = "4096" |
