aboutsummaryrefslogtreecommitdiffstats
path: root/wic
AgeCommit message (Collapse)Author
2023-11-12imx-uboot-mxs-bootpart.wks.in: drop extra 'rootfs'Trevor Woerner
${IMAGE_LINK_NAME} already contains "rootfs" at the end, therefore it does not need to be added explicitly. Otherwise the wic creation fails with: wic.filemap.Error: cannot open image file '.../build/tmp-glibc/deploy/images/imx233-olinuxino-maxi/core-image-minimal-imx233-olinuxino-maxi.rootfs.rootfs.uboot-mxsboot-sdcard' Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-03-01imx-imx-boot.wks: Add wks file without bootpartRodrigo M. Duarte
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2022-04-26imx-boot-container-bootpart: drop wks fileMax Krummenacher
Now that we have a symlink with constant name 'imx-boot' independent on the use of the MACHINEOVERRIDE 'imx-boot-container', drop the additonal imx-boot-container-bootpart file as imx-imx-boot-bootpart does the same thing. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-01-18imx-boot-container: align with u-boot 2022.01Andrey Zhizhikin
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>
2021-05-04wic: add new wks file to use boot container for mx8mAndrey Zhizhikin
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>
2021-04-20ls1043/ls1046: support WIC image generationTing Liu
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-02-12imx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitionsTom Hochstein
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>
2020-02-12imx-imx-boot-bootpart.wks.in: Fix the layout commentTom Hochstein
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>
2019-07-11wic: Fix image generation for i.MX with SPL and U-BootJoris Offouga
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>
2019-04-23imx-imx-boot-bootpart.wks.in: increase boot partition to 64mMax Krummenacher
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>
2019-04-14wic: Fix image generation for i.MX with bootpart scriptPierre-Jean Texier
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>
2019-01-29imx-imx-boot-bootpart.wks: change default offset of bootloaderMax Krummenacher
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>
2019-01-10wic:mx8: Create wks file for imx8 family using imx-bootDaiane Angolini
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>
2018-09-26image_types_fsl.bbclass: Use IMAGE_LINK_NAME for mxs binariesOtavio Salvador
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>
2018-07-03Remove barebox and imx-bootletsOtavio Salvador
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>
2018-07-03wic: Fix image generation for i.MX MXS SoC familyOtavio Salvador
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>
2017-10-11imx-uboot-mxs: Add wks file for mxs machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-11imx-uboot-mxs-bootpart: Add wks file with bootpart for mxs machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-29wic: Add a i.MX bootpart templatesOtavio Salvador
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>
2017-09-29wic: Force the use of 'msdos' partition tablesOtavio Salvador
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>
2017-09-29wic: Move all wks files to root layer directoryOtavio Salvador
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>