summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-01imx-atf: drop patchMarcel Ziswiler
Drop patch 0002-imx8m-hab.c-work-around-gcc-12.1-false-positives.patch which got obsoleted by recent meta-freescale update to 6.1.22-2.0.0. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-07-07machines: arch arm64: use var to set relative path to dtbMax Krummenacher
Follow the pattern used in commit ce9a5ef ("machines: arch arm: follow change to vendor subdir for dtbs") Set the variable KERNEL_DTB_PREFIX with the relative path to the device tree source files and then use it. This variable can then be used in the creation of the u-boot-distro-boot script. Related-to: ELB-5263 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-07-07machines: arch arm: follow change to vendor subdir for dtbsMax Krummenacher
With moving to kernel 6.5 the kernel commit 724ba67515320 ("ARM: dts: Move .dts files to vendor sub-directories") introduced a regression with our 32 bit machines. We have to add the relative path to the dts/dtb files in our list of device trees to be built per machine if the distro/kernel flavour is building a 6.5 and later kernel. Reassign the full list in the <MACHINE.inc> file to KERNEL_DEVICETREE, so that we can conditionally add the relative path for a 6.5 kernel. Related-to: ELB-5263 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-06-28u-boot-toradex_2022.04: add relative path to included fileMax Krummenacher
This allows to override the included file from another layer with higher priority. Related-to: ELB-5213 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e0206a62beb3e667cab33ce7b19cc464424a06a0)
2023-06-28u-boot-toradex_2022.04: fix deploy loop over u-boot configsMax Krummenacher
Otherwise it breaks builds where more than one UBOOT_CONFIG is defined. Related-to: ELB-5213 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2038ae25edaffb95b5f4e4a65a17d53720e2440d)
2023-06-28Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu 01 Jun 2023 09:49:35 PM UTC Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 299 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/299 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 4fdb7d5b8accd5d629f711780e4079813da04ebb)
2023-06-28Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue 16 May 2023 03:12:53 PM UTC Matrix Build: image-tezi-kirkstone-6.x.y-nightly-matrix 1 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-kirkstone-6.x.y-nightly-matrix/1 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit abe1759ed536818c11f11d3f8fab10c57339ad2f)
2023-06-28machines: verdin-imx8mp: add 0065 and 0070 product idsEmanuele Ghidoli
Add the following additional SKU product IDs which are compatible with the verdin-imx8mp machines. 0065: Verdin iMX8M Plus QuadLite 1GB IT 0070: Verdin iMX8M Plus Quad 8GB WB IT Related-to: ELB-5189 ELB-5191 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 0dc187478a0d363683a6c5ba59b042e56aa87e81)
2023-06-28Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri 28 Apr 2023 09:13:20 PM UTC Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 273 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/273 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 8f9e36d0af54b568a2eada60860605f4899daaa4)
2023-06-28machines: fix fitimage ramdisk load addressSergio Prado
Booting with a FIT image (that includes a ramdisk image) is failing on several machines with the following error message: Error: ramdisk overwritten Ramdisk image is corrupt or invalid This is because the boot script uses ramdisk_addr_r to load the FIT image, and this is overlapping with the default fitimage ramdisk load address. Fix by adjusting the fitimage ramdisk load address: UBOOT_RD_LOADADDRESS = ramdisk_addr_r + 32M Build and boot time tested on all impacted machines. Signed-off-by: Sergio Prado <sergio.prado@toradex.com> (cherry picked from commit 5a1617c4d363e6b1ac23d6884b47cd113b395d84)
2023-05-01u-boot: imx-boot: build with u-boot binmanMax Krummenacher
The imx-boot binary can be put together with the imx-mkimage/imx-boot recipe or now also with U-Boot/binman. meta-freescale changed the default for all machines from using imx-mkimage to use binman. Move to use binman, change the downstream U-Boot recipe accordingly. Related-to: ELB-5155 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-04-04Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu 30 Mar 2023 09:05:00 PM UTC Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 250 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/250 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 0e6c25e8c7ad105daf6c8737fbdee1c97c4edb41)
2023-04-04machine: colibri-imx8x: fix default overlays nameEmanuele Ghidoli
Pick proper default overlays when building for downstream due to changed overlay naming scheme. Related-to: ELB-4754 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit b70c8f33240dead59d75d8331a60bcab819b2413)
2023-04-04Revert "machine: colibri-imx8x: disable non-existent device-trees"Philippe Schenker
The device-trees got merged and we can revert this commit again that disables most of the devicetrees. This reverts commit 56806394031c06b6d2d45f7c3d913cc8e3138658. Related-to: ELB-5056 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 8c7c6ef95ebc39785931ad0fe2d7a3373eb777e8)
2023-04-04Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue 28 Feb 2023 05:06:24 AM UTC Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 194 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/194 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 88427647577e2402e10f3d0983c2fb9f9558cbfd)
2023-04-04apalis-imx8: drop duplicated firmware-imx-vpu-imx8 from MACHINE_FIRMWAREMing Liu
It's already added in meta-freescale layer. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit d521345d807d703affb4e23bb2709a087516ce0f)
2023-04-04colibri-imx8x: drop duplicated firmware-imx-vpu-imx8 from MACHINE_FIRMWAREMing Liu
It's already added in meta-freescale layer. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit bb13a03251aa0d3311fe74c853805f1aa880d29d)
2023-02-26btuart: remove recipeStefan Eichenberger
Remove the btuart recipe. This is not required anymore because we now load the driver through a serdev entry in the device tree. Related-to: ELB-5030 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit 3488268909517eb9729270975dbce5b43b01749f)
2023-02-26Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Jan 31 15:52:06 UTC 2023 Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 186 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/186 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit a174b6faada51c7e196c39c7a0f914754e8fa41d)
2023-02-26machine: verdin-imx8m*: Add yavia devicetreesPhilippe Schenker
Add wifi and nonwifi devicetrees to both verdin-imx8mm and verdin-imx8mp machines. Related-to: ELB-4681 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 2547f335dc277ba173340f366f1e5bff096cc9df)
2023-01-26machine: verdin-imx8mp: include nxp89xx firmwareSergio Prado
Currently the nxp89xx firmware is being included at the image level (i.e. when Toradex BSP users build a Toradex reference image). Because of this, custom images that are not based on the Toradex reference image don't get the nxp89xx firmware, and WiFi doesn't work. Fix that by including the firmware as a RRECOMMENDS package for the machine. Obs.: This change affects only images that are based on packagegroup-base, which does not include for example the core-image-minimal. Signed-off-by: Sergio Prado <sergio.prado@toradex.com> (cherry picked from commit c18aa339e5cbb915f40411fca744e8717feab1a4)
2023-01-26isp-imx: don't leave systemd service in failed stateMax Krummenacher
If no camera is configured in the device tree systemd imx8-isp.service goes to the failed state. Prevent that. Related-to: ELB-5002 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9baec9cc6777638b44249877d453d03fcb298632)
2023-01-05layer.conf: Update to mickledoreMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-01-05Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu Jan 5 09:11:01 UTC 2023 Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 163 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/163 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 364341c23ea49fb875e84f980b208699311aaf9c)
2023-01-05Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue Jan 3 21:55:34 UTC 2023 Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 158 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/158 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit 23b07abfabb169780b6f93334f34c01586f1f870)
2023-01-05machine: apalis-imx8: apply spidev device-tree overlaysMax Krummenacher
Add the spidev overlays to overlays.txt so that they get applied out of the box. Related-to: ELB-4894 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5d9713e72fb530540198970b1e69d87225a4b4c6)
2023-01-05machine: colibri-imx6/6ull/7: Do not apply spidev overlay by defaultPhilippe Schenker
Do not apply spidev overlay by default as already CAN is enabled on that spi interface. They will interfere with each other resulting in an error. Related-to: ELB-4724 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 3ea30ab50cd6c59698f33ee2342fc1db45bba035)
2023-01-05colibri-imx7: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx7d-colibri-eval-v3.dtb imx7s-colibri-eval-v3.dtb imx7d-colibri-aster.dtb imx7s-colibri-aster.dtb imx7d-colibri-iris.dtb imx7d-colibri-iris-v2.dtb imx7s-colibri-iris.dtb imx7s-colibri-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 45d4fd4ed2b8b31de5e548dcc4acc81178a424ca)
2023-01-05colibri-imx7-emmc: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx7d-colibri-emmc-eval-v3.dtb imx7d-colibri-emmc-aster.dtb imx7d-colibri-emmc-iris.dtb imx7d-colibri-emmc-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 6554e8be154018bf63d11cd61eb3dde08e00653f)
2023-01-05colibri-imx6ull: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx6ull-colibri-eval-v3.dtb imx6ull-colibri-wifi-eval-v3.dtb imx6ull-colibri-aster.dtb imx6ull-colibri-iris.dtb imx6ull-colibri-iris-v2.dtb imx6ull-colibri-wifi-aster.dtb imx6ull-colibri-wifi-iris.dtb imx6ull-colibri-wifi-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 503e86805db8a4ba0d278ee4fa2429981665783d)
2023-01-05colibri-imx6ull-emmc: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx6ull-colibri-emmc-eval-v3.dtb imx6ull-colibri-emmc-aster.dtb imx6ull-colibri-emmc-iris.dtb imx6ull-colibri-emmc-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 6c8aa610970cccc1721078147d3a7d2efb3eef27)
2023-01-05colibri-imx6: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx6dl-colibri-eval-v3.dtb imx6dl-colibri-aster.dtb imx6dl-colibri-iris.dtb imx6dl-colibri-iris-v2.dtb ``` Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 9a43d970a9db64cf39be180cfe85aa9dea0c8eb5)
2023-01-05apalis-imx6: adjust KERNEL_DEVICETREE variableMing Liu
After change, the KERNEL_DEVICETREE contains the following DTBs: ``` imx6q-apalis-eval.dtb imx6q-apalis-ixora.dtb imx6q-apalis-ixora-v1.1.dtb imx6q-apalis-ixora-v1.2.dtb ``` Also remove "+=" usage, change to ":append" instead, since "+=" might not work if overrides being used somewhere. Related-to: ELB-4906 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit b4835afb40cf5e2c8464163bd81964e043018e5f)
2023-01-05Revert "machine: apalis-imx8: disable non-existent device-trees"Max Krummenacher
This reverts commit 1542cf213aa446e6883ca2f4e6698e0eb0f40232. Reenable building the dtb now available in the 5.15-2.1.x kernel. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 08711132d7c2c0e28091f0275f42bff6f85e15db)
2023-01-05alsa-state: change asound.conf files to use 48kHz for verdin-imx8 boardsEmanuele Ghidoli
Configure alsa audio to use dmix/dsnoop at 48 kHz. imx8m PLL is not able to output a exactly multiple of 44.1 kHz MCLK input to audio codecs, starting from 24.576 MHz module clock. If mclk-fs is 256, optimal clock is 11289600, obtained clock is 11234743. Frequency erro is -0,49 %. Instead, it is able to generate a exact multiple of 48 kHz MCLK. Related-to: ELB-4481 Fixes: 9e5c0e3043a7 ("alsa-state: set up asound configs dynamically for verdin-imx8 boards") Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 2495461248ea431c1c41a8092033bd46a8552517)
2022-12-07Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Wed Nov 30 23:28:13 UTC 2022 Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 128 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/128 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit a23c4b6d01831d45634d4156b513746dda051161)
2022-12-07Use `use-head-next` only for SRCREV variableFrancesco Dolcini
Remove usage of the `use-head-next` override for anything, apart the SRCREV variable. Currently this variable is only used on local builds, while uprev on Jenkins CI/CD is implemented using `scripts/uprev-srcrev` that update only the SRCREV variable. This way we ensure a consistent experience despite how the image is build and we avoid potential confusion. Related-to: ELB-4885 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 51e8c29019744428b86be0fd1f1f5c07d8b8c942)
2022-12-07device-tree-overlays: change branch to toradex_5.15-2.1.x-imxMax Krummenacher
Follow the update of the kernel branch. Related-to: ELB-4873 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 49979f25564f51265f4c009b2ebde34edb24f8d9)
2022-12-07machine: verdin-imx8m*: Move AT-F boot UART configuration to machine confEmanuele Ghidoli
Add SOC_ATF_BOOT_UART_BASE in relevant machine conf instead of having IMX_BOOT_UART_BASE added to EXTRA_OEMAKE in imx_atf_%bbappend, this change remove the dependency on our .bbappend to have a working ATF binary. SOC_ATF_BOOT_UART_BASE variable support was introduce in commit 453def7956c8 ("imx-atf: allow setting the UART used during boot") in meta-freescale. Related-to: ELB-4889 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit b2db48cac3b2384857e9b6c2b418533122c5e03a)
2022-12-07imx-sc-firmware: Update license to 1.14.0Philippe Schenker
Until 1.14.0 the license was not synched to the public repo. This meant that the hash never needed updating. This change now includes three years of differences on the SCFW license. Related-to: ELB-4593 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 7f7d8b15549a9f2bf0a07b4b8729acc72e59a06d)
2022-12-07imx-sc-firmware: Bump to 1.14.0Philippe Schenker
This commit bumps version to latest 1.14.0. It does also update the SRCREV as with the new recipe name it doesn't make sense to build any other hash at the moment. Related-to: ELB-4593 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit a5716ad0945c0b3b0f5613695dc53f37390b4ca2)
2022-12-07linux-toradex: update to lf-5.15-2.1.xMax Krummenacher
Update the downstream kernel (NXP fork) to lf-5.15-2.1.0 plus fslc stable patches merges. I.e. rebase our 5.15-2.0.0 on top of https://github.com/Freescale/linux-fslc/commit/0dbb0e28ad332aa0955b873beb91190ae05ac655 For the RT kernel, set the matching RT patch plus refresh/add patches which allow to apply the RT patch and cleanup afterwards. Related-to: ELB-4873 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 934f013425879aa5acc7507ddb553448b7a47b66)
2022-12-07linux-toradex: rt: improve configMax Krummenacher
The PREEMPT_RT config depends indirectly on !KVM, so make sure that KVM is not set. Related-to: ELB-4887 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9116bd263386310f6ede2531d1190a4deba9498f)
2022-12-07machines: follow mainline-rt kernel recipe splitMax Krummenacher
The mainline kernel now has two recipes, one for non RT and one for the RT flavour. Set the correct one depending on the set overrides. Related-to: ELB-4868 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 310715ee5f84da7267a039b8adee63614015c61e)
2022-12-07machine: verdin-imx8mm: verdin-imx8mp: mainline overlaysMarcel Ziswiler
Pick proper overlays when building for mainline. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 4cec03039eb82142329aecd3e1efb0f2c1d2c9e8)
2022-11-02Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Sun Oct 23 09:58:29 UTC 2022 Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 74 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/74 Signed-off-by: ci.toradex <cicd@toradex.com> (cherry picked from commit c0e40951656f06b6691448eb3b9041a5ac827d47)
2022-10-27imx-boot: drop bbappend recipeMing Liu
The changes in this bbappend file are deprecated since the following commit merged in meta-freescale: [ commit c59f817b0d1ee70ef224405ff8acd31e0743ed91 Author: Andrey Zhizhikin <andrey.z@gmail.com> Date: Thu Oct 21 10:01:01 2021 +0000 imx-mkimage: use mkimage tool from sysroot mkimage tool is provided as a part of sysroot and should not be used as a local copy, since it contains runtime dependencies which local copy does not account for. Drop the local copy on mkimage, introduce the patch that fixes mkimage invocations in build system. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> ] let's delete the bbappend recipe. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 9e006dccef9e22a430ab56b765420b13f532c56a)
2022-10-27alsa-state: apalis-imx6: Set mixer volume levels to defaultFrancesco Dolcini
Set mixer audio level to default, this prevents audio distortions and fixes our automated test execution. Related-to: ELB-4829 Fixes: 5f920cd5b4b2 ("alsa-state:apalis-imx6: fix sound device name in asound.conf/asound.state") Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 9f9bd44f739697448a03c19534fa079e6445377f)
2022-10-27alsa-state:apalis-imx6: fix sound device name in asound.conf/asound.stateMing Liu
The sound device name in asound.conf of apalis-imx6 machine does not match the sound driver of kernel 5.15 and upper, fix that. Also regenerate asound.state according to the new asound.conf. Related-to: ELB-4829 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 5f920cd5b4b202b277eeae945fbda6c206672005)
2022-10-27machine: verdin-imx8m*: Switch to new namingPhilippe Schenker
Related-to: ELB-4838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 91f253942aef769901bc5e5058851fdc4d49a64c)