summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
AgeCommit message (Collapse)Author
2023-11-29u-boot-toradex: Backport patch to fix Colibri iMX7S U-Boot errorHiago De Franco
The following error was spotted during the boot of Colibri iMX7S on Tezi 6: ``` U-Boot 2022.07-6.4.0-devel+git.e092e3250270 (Jul 11 2022 - 13:42:58 +0000) CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 29C Reset cause: POR DRAM: initcall sequence 8786b820 failed at call 87818e09 (err=-3) \### ERROR ### Please RESET the board ### ``` This patch solves this issue by calling fdt_increase_size() on colibri_imx7.c file. Related-to: TEI-1138 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 30484414981f3652caf43a0a71b3922e269a643b)
2023-11-29u-boot-toradex: Add patches for fastboot supportHiago De Franco
This commit introduces patches to the defconfig of Apalis/Colibri iMX6, Colibri iMX7 and Colibri iMX6ULL to enable fastboot support and adds a logic to the bootcmd to select SDP or Fastboot based on the configs enabled. Related-to: TEI-1136 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 266bdf4d7b1ce31bcbc35dd92f52ca45c60eadba)
2023-11-29u-boot-toradex: Add patch to fix build errorsHiago De Franco
Add a patch to fix device tree build errors from other boards that are not related to Colibri. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit b49784d54dbdc8532fc87c163f951ebff3073701)
2023-11-29u-boot-toradex: Backport mainline patches for nand paddingHiago De Franco
This commit backports two patches submitted to the U-Boot mainline, both of which relocate the 'nand_padding' function to the Makefile of 'mach-imx.' The first patch introduces the 'u-boot-nand.imx' target to the Makefile, producing a binary file with 1024 leading zeros. The second patch adds a 'dd' command to the Makefile, appending 10k zeros to the end of the binary. These changes will eliminate the need of the 'nand_padding' function. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 678579d8783e2d24666ca1b6af58544f67579aa0)
2023-11-29u-boot-toradex: Add patch for imx7 variant detectionHiago De Franco
Add patch to enable variant detection durint boot time. Depending on the board configuration, the variant will be set to "-emmc" or cleared in case it is a NAND device. This patch improves variant detection during system initialization through USB recovery mode. Related-to: TEI-1112 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 16e5f73b2b294855fe579e8252b149154bdb7322)
2023-09-21u-boot-toradex: split into a release/pinned and latest head recipeMax Krummenacher
This reduces confusion about the current solution on what version gets built with use-head-next. This drops using the `use-head-next` override in favour of having two recipes. Which recipe is to be built will then be set in the various <machine.conf> files. To reduce code duplication split out common code into a inc file and further split out i.MX and TI specific stuff into two specific inc files. Related-to: ELB-5357 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-21u-boot-toradex: do not deploy u-boot-with-spl.imx binaryHiago De Franco
Stop deploying u-boot-with-spl.imx, this is not required to properly flash the board nor for debugging. Separated SPL and U-Boot proper binaries available, used by Tezi and can be easily flashed using update_uboot and update_spl helper scripts. This enables some simplification on Tezi. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 81a446adde4296c7e68f916bc536414a1caa1397)
2023-09-05u-boot-toradex: colibri-imx7: drop support booting a downstream kernelMax Krummenacher
We no longer provide a kernel based on the NXP downstream BSP. Drop patching U-Boot to support booting such a kernel on a Colibri iMX7. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-05u-boot-toradex: verdin-am62: integrate binman firmware and deploy artifactsMax Krummenacher
This enables building upstream U-Boot for Verdin AM62 including building and deploying tiboot3 and tispl with binman. Related-to: ELB-5331 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-05u-boot-toradex: simplify use with imx-boot-container.bbclassMax Krummenacher
The class now handles to provide an imx-boot symlink to flash.bin. Also drop redundant entries in DEPENDS which are now part of the generic u-boot include file. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-07u-boot-toradex_2022.07: force master branchMax Krummenacher
U-Boot release 2023.07 branched away from the master branch which is reflected in OE u-boot recipe. Switch this back to the master branch, so that for use-head-next we take latest on master rather than latest on branch u-boot-2023.07.y. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-06-28u-boot-toradex_2022.07: fix colibri-imx6 ddr ram settingsStefan Eichenberger
Add a patch to fix a DDR RAM issue that can cause bit flips at temperatures above 60°C. Related-to: ELB-5211 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit 63e4e72c5c71d510106c6504074697c30d396e47)
2023-02-27u-boot-toradex_2022.07: Fix colibri-imx7 bad block table in flashStefan Eichenberger
Add patch to use the in band bad block table on Colibri iMX7. Related-to: ELB-4989 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit 86e64d70123b2ff55924ec6581c6154e628f661b)
2022-12-09u-boot-toradex_2022.07: improve deploy of u-boot-with-spl.imxStefano Viola
The u-boot-with-spl.imx binary, now is deployed for each u-boot configuration type and the condition that suppressed the error in case u-boot-with-spl.imx was not generated has been removed. Signed-off-by: Stefano Viola <stefano.viola@toradex.com> (cherry picked from commit 15ec9fe118984cc977016269c069571c4530ef8f)
2022-10-02u-boot-toradex_2022.07: update env memory layoutMarcel Ziswiler
Update the distro config env memory layout for the Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and Colibri iMX7. This fixes a potential issue caused by the compressed kernel being relocated on top of the ramdisk causing its corruption. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 84c7638a7261561e30bfd574b69e1fddcac546cc)
2022-09-24u-boot-toradex_2022.07: Fix verdin-imx8mp memory sizeFrancesco Dolcini
Add patch to properly size the memory on Verdin iMX8M Plus. Related-to: ELB-4711 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 6931dff87db18d38a14414fe35ef49805bcf5238)
2022-08-30u-boot-toradex: use a unified environment file nameMax Krummenacher
Keep the file name with the inital U-Boot environment variables constant, independent of the recipe name U-Boot is built with. Our image creation and libubootenv expect a fixed name. Related-to: ELB-4680 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-08-29u-boot: convert bbappend into our own recipeMax Krummenacher
The version mismatch between what we want to build and what the recipe in openembedded-core builds can get big so that CVE backports and other changes makes our build fail. Rather create our own recipe reusing the include file from openembedded-core to reduce the risk of build failures. Relates-to: ELB-4680 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>