summaryrefslogtreecommitdiffstats
path: root/wic
Commit message (Collapse)AuthorAgeFilesLines
* imx-boot-container: align with u-boot 2022.01Andrey Zhizhikin2022-01-181-7/+6
| | | | | | | | | | | | | | Recent version of U-Boot v2022.01 reverted boot container generation mechanism to provide single boot container isntead of separate binaries for SPL+DDR and U-Boot FIT. New approach provides packing of those separate components inside the U-Boot binman, and is delivered as a single 'flash.bin' file, which resembles the original behavior before binman image packing was introduced. Adapt our boot container class and WIC file to pick up this consolidated binary instead of two separate pieces. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* wic: add new wks file to use boot container for mx8mAndrey Zhizhikin2021-05-041-0/+27
| | | | | | | | | | | | Add new WKS template file, which uses the boot container provided by mainline U-Boot. Boot container built as a part of U-Boot packs binary components into two separate files, namely 'flash.bin' and 'u-boot.itb'. First file contains SPL, while second one represents the FIT image containing U-Boot and ATF blob. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* ls1043/ls1046: support WIC image generationTing Liu2021-04-201-0/+21
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* 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>
* wic: Fix image generation for i.MX with SPL and U-BootJoris Offouga2019-07-112-2/+2
| | | | | | | Some boards expects a specific binary name. Example : Pico i.MX7D required the u-boot-dtb.img file (instead of u-boot.img). Signed-off-by: Joris Offouga <offougajoris@gmail.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>
* wic: Fix image generation for i.MX with bootpart scriptPierre-Jean Texier2019-04-141-1/+1
| | | | | | | | | Some boards expects a specific binary name. Example : WaRP7 required the u-boot-dtb.imx file (instead of u-boot.imx). Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Joris Offouga <offougajoris@gmail.com>
* imx-imx-boot-bootpart.wks: change default offset of bootloaderMax Krummenacher2019-01-291-2/+3
| | | | | | | | | | 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>
* wic:mx8: Create wks file for imx8 family using imx-bootDaiane Angolini2019-01-101-0/+20
| | | | | | | | | | | imx8 family boards use u-boot as boot loader in addition to some other binaries. The final bootloader binary is gathered by mkimage into a file called imx-boot. Add the wks file to create the wic image tailored for imx8 family. Set the wks file as default for all imx8. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
* image_types_fsl.bbclass: Use IMAGE_LINK_NAME for mxs binariesOtavio Salvador2018-09-262-2/+2
| | | | | | | | The binary is generated as part of the image build so it should use the same naming schema to provide consistency. This also fixes the wks templates which use it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Remove barebox and imx-bootletsOtavio Salvador2018-07-031-19/+0
| | | | | | | | | | Those are untested and anyone interested in supporting them (mainly barebox) ought to send the support to OE-Core instead. This also removes the corresponding code from the image_types_fsl.bbclass as it is not going to be used from now on. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wic: Fix image generation for i.MX MXS SoC familyOtavio Salvador2018-07-032-2/+2
| | | | | | | | | | | The image needs to use the U-Boot generated, for the uSD card, so a dependency on that must be added to ensure the file is available prior 'wic' uses it. Besides that, the fstype needs to be changed so it sets the partition mark allowing the bootrom to find it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-uboot-mxs: Add wks file for mxs machinesFabio Berton2017-10-111-0/+18
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-uboot-mxs-bootpart: Add wks file with bootpart for mxs machinesFabio Berton2017-10-111-0/+19
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wic: Add a i.MX bootpart templatesOtavio Salvador2017-09-292-0/+39
| | | | | | | | This includes the wic templates which use a separated boot partition. This allow for easier migration from the new deprecated sdcard generation class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wic: Force the use of 'msdos' partition tablesOtavio Salvador2017-09-293-0/+6
| | | | | | | | Some old SoC has problems to read GPT partition tables so we use 'msdos' as default here and if some vendor wants to override it, it can still be done in their wks files. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* wic: Move all wks files to root layer directoryOtavio Salvador2017-09-293-0/+50
The wic looks for wks files in many places. The root layer directory is one of those and makes much easier to find the wks files for reference and use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>