diff options
author | Jonathan GUILLOT <jonathan@joggee.fr> | 2025-02-12 16:58:29 +0100 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-02-12 16:37:34 +0000 |
commit | 0b595db905f4e9653c51f7ede0e2434663d7a72c (patch) | |
tree | 0617febac5904f9a3d8d5d7180ca8f8e662db893 /classes/use-imx-security-controller-firmware.bbclass | |
parent | 6a51bf92bdeb975be85e6d7ff2575ee1f8d68ede (diff) | |
download | meta-freescale-0b595db905f4e9653c51f7ede0e2434663d7a72c.tar.gz |
imx-imx-boot-bootpart.wks.in: Set fixed size for /boot partition
Using --size in the imx-imx-boot-bootpart.wks.in to set size of /boot
partition does not result in a 256MiB partition as expected but in a
~332MiB one. Indeed, --size ensures --extra-space (default 10MiB) is
added to actual data size and furthermore applies --overhead-factor
(default 1.3) to the wanted size. This is exactly the case here as 256
* 1.3 = 332.8.
Use --fixed-size instead to force the /boot partition to be exactly
256MiB just as it is indicated in the comments of this file.
Consequently, the `do_image_wic` task will also fail if data copied in
this partition are too large at creation.
Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
(cherry picked from commit 0ee7c736c7e07ce353e7f25ff514e9c459448103)
Diffstat (limited to 'classes/use-imx-security-controller-firmware.bbclass')
0 files changed, 0 insertions, 0 deletions