summaryrefslogtreecommitdiff
path: root/classes/toradex-devicetree.bbclass
AgeCommit message (Collapse)Author
2023-11-29toradex-devicetree.bbclass: drop deployment of 'common' dtboMax Krummenacher
We dropped having common device tree overlays, i.e. all dtbo are now machine specific and start with the machine name. Drop searching and deploying dtbos which do not start with a machine name. This fixes deploying verdin-am62*dtbo for non verdin-am62 machines. Related-to: ELB-5479 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 620f5bbe0ca0743e682a69697cb8fb1d39550471)
2023-07-07toradex-devicetree.bbclass: 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. Add the new subdirs as part of the list of include paths to search. Related-to: ELB-5263 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-03devicetree: fix new dtsi include files not being foundMarcel Ziswiler
Fix new dtsi include files not being found by adding regular overlay path to the DTC include path. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit debc72f4d5fc57f1fc8a7ac80aaf1ddf574c06d8)
2022-08-08meta: drop tk1/tegra/vf machine referencesMing Liu
We've decided not maintain these machines in BSP6, let's drop the machine references. There is a special varialbe UBOOT_KERNEL_TYPE, it's only being used by apalis-tk1 machine, so also drop it. Related-to: ELB-4471 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2021-11-15machine: Drop legacy imx8x b0 silicon based machinesMax Krummenacher
Since the update to SCFW 1.7.4 the i.MX 8X modules, based on early b0-silicon chips do no longer work. This commit removes the machines that still where there in the transition phase to the newer c0-silicon Product revisions that no longer work with our BSP are: Colibri iMX8QXP 2GB WB IT V1.0B Colibri iMX8QXP 2GB IT V1.0B Colibri iMX8DX 1GB WB V1.0B Colibri iMX8DX 1GB V1.0B Apalis iMX8QXP 2GB WB IT V1.1A Apalis iMX8QXP 2GB ECC IT V1.1A Related-to: ELB-4215 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e5929682ef80627016b26477db35045b824d6255)
2021-09-05devicetree: MACHINE_PREFIX: add colibri-imx6ullOleksii Bidnichenko
Related-to: ELB-4065 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com> (cherry picked from commit 7f4e9817fcb878b0731a9086dde0af2a186938b6)
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-23toradex-devicetree.bbclass: introduce bbclass fileMax Krummenacher
The major reason for doing this is because we are currently deploying all dtbo files to ${DEPLOY_DIR_IMAGE}/devicetree, but not machine specific ones, and they will be unnecessarily bundled into fitimage when kernel-fitimage.bbclass is being inherited. To fix that, we introduce a extra task do_collect_overlays to collect machine specific overlays to ${DT_FILES_PATH} before do_compile, where dtb compilation is being compiled in. In this way, only machine specific overlays would be compiled and deployed. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 3f3703403ce8451c997faee1eb1f7665bff24437) squashed with (cherry picked from commit 80534650f210472afbfd6f5d6d80559c708eb72e) (cherry picked from commit 6d8f8337ff1bf0200dead6adbc2615556b6495de)