summaryrefslogtreecommitdiffstats
path: root/wic/imx-imx-boot-bootpart.wks.in
Commit message (Collapse)AuthorAgeFilesLines
* imx-imx-boot-bootpart.wks.in: Set fixed size for /boot partitionJonathan GUILLOT2025-02-121-1/+1
| | | | | | | | | | | | | | | | | 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)
* imx-imx-boot-bootpart.wks.in: Increase /boot partition 64 MiB -> 256 MiBTom Hochstein2024-10-051-2/+2
| | | | | | | | For i.MX 9 a typical kernel is 35 MB. With gcov, that increases to 75 MB or more. Bump the /boot partition size accordingly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 1aca2de4cf0d16cd18afa899098a799ff629f0f4)
* boot: Fix UUU tagging, extend to fslcTom Hochstein2024-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Using the UUU-tagged bootloader image directly with UUU can cause UUU to hang. The bootloader image is split on a certain transmit size, and the hang occurs if the tag does not fit with the final bytes of the bootloader image and must be split into a new transmit package. The UUU tag is needed by UUU only in the SD Card image file itself so that UUU can find the end of the boot partition. Rework the design so the default bootloader and the default imx-boot binaries are not tagged. Also, extend the UUU tagging to fslc so it can gain the same benefit. Fixes: https://github.com/Freescale/meta-freescale/pull/1762 Fixes: https://github.com/nxp-imx/mfgtools/issues/416 Co-authored-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit ef8b4c41cf0abb41ade7371c2abb16ffe708a8c9)
* imx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitionsTom Hochstein2020-02-121-3/+3
| | | | | | | The u-boot env offset in the imx-boot partition is 4MiB, so set the boot partition alignment to 8MiB to fix the overlap. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-imx-boot-bootpart.wks.in: Fix the layout commentTom Hochstein2020-02-121-5/+4
| | | | | | | | The layout comment was incorrect. It was missing the start of the rootfs and what was there wasn't updated when the boot partition was increased to 64MiB. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-imx-boot-bootpart.wks.in: increase boot partition to 64mMax Krummenacher2019-04-231-1/+1
| | | | | | | | The i.MX8 / i.MX8X kernel's size is about 22MB. Increase the boot partitions minimum size to have space for two kernel images and have a constant partition size. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-imx-boot-bootpart.wks: change default offset of bootloaderMax Krummenacher2019-01-291-0/+21
The i.MX 8QXP bootrom in B0 silicon reads the 1st image container at offset 32k while tha A0 silicon started at 33k. The machine configurations already contain the variable IMX_BOOT_SEEK to specify the needed offset. Change the wks file accordingly. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>