Hello,
I am trying to convert my workflow to start using Torizon OS 7. For customizing the image, I use torizoncore-builder but the overlay that I use for a 7inch LVDS touch panel produces the following error:
=> Adding device-tree overlay 'overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-7inch-lvds_overlay.dts'
'verdin-imx8mp_dsi-to-lvds_panel-cap-touch-7inch-lvds_overlay.dts' compiles successfully.
Failed to apply '/tmp/tmpeh9ew945': FDT_ERR_NOTFOUND
error: cannot apply device tree overlays ['/tmp/tmpeh9ew945'] against device tree /storage/dt/usr/lib/modules/6.6.54-7.1.0-devel-gf7321c633d93/dtb/imx8mp-verdin-wifi-dahlia.dtb.
error: overlay 'overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-7inch-lvds_overlay.dts' is not applicable.
It worked without issues on Torizon OS 6.
I used the following branches for Torizon OS 7:
[submodule "linux"]
path = linux
url = git://git.toradex.com/linux-toradex.git
branch = toradex_6.6-2.0.x-imx
[submodule "device-trees"]
path = device-trees
url = git://git.toradex.com/device-tree-overlays.git
branch = toradex_6.6-2.0.x-imx
tcbuild.yaml file (for the Dahlia eval board):
# Documentation for this file: https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-build-command/#detailedmanual
input:
easy-installer:
# TODO: Change back to toradex-feed when torizoncore-builder supports major release 7
remote: https://artifacts.toradex.com/artifactory/torizoncore-oe-prerelease-frankfurt/scarthgap-7.x.y/monthly/2/verdin-imx8mp/torizon/torizon-docker/oedeploy/torizon-docker-verdin-imx8mp-Tezi_7.1.0-devel-202411+build.2.tar
# toradex-feed:
# version: "7.1.0"
# release: monthly
# machine: verdin-imx8mp
# distro: ${DISTRO}
# variant: torizon-core-docker
# build-number: "2"
# build-date: "202411"
customization:
splash-screen: media/company_logo.png
device-tree:
include-dirs:
- linux/include
- linux/arch/arm64/boot/dts/freescale
custom: linux/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts
overlays:
add:
- overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-7inch-lvds_overlay.dts
- device-trees/overlays/verdin-imx8mp_spidev_overlay.dts
filesystem:
- rootfs-overlay
output:
ostree:
branch: app-image-branch
commit-subject: "App image"
commit-body: "TorizonCore OS Image for the company's App system"
easy-installer:
local: images/app-image
name: "App image"
description: "TorizonCore OS Image for the company's App system"
accept-licence: true
autoinstall: true
autoreboot: true
bundle:
compose-file: application/docker-compose.lock.yml
username: ${DOCKER_USERNAME}
password: ${DOCKER_TOKEN}
registry: ${DOCKER_REGISTRY}
provisioning:
mode: offline
shared-data: shared-data.tar.gz
verdin-imx8mp_dsi-to-lvds_panel-cap-touch-7inch-lvds_overlay.dts:
/dts-v1/;
/plugin/;
/ {
compatible = "toradex,verdin-imx8mp";
};
#include "verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi"
#include "display-mi0700csp_sn65dsi84_overlay.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
&i2c4 {
touchscreen@41 {
compatible = "ilitek,ili251x";
reg = <0x41>;
interrupt-parent = <&gpio4>;
interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>;
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
status = "okay";
};
};
&backlight {
status = "okay";
};
&gpu_2d {
status = "okay";
};
&gpu_3d {
status = "okay";
};
/* LCDIF to MIPI-DSI */
&lcdif1 {
status = "okay";
};
&mix_gpu_ml {
status = "okay";
};
&ml_vipsi {
status = "okay";
};
&vpu_g1 {
status = "okay";
};
&vpu_g2 {
status = "okay";
};
&vpu_vc8000e {
status = "okay";
};
&vpu_v4l2 {
status = "okay";
};
# Added to make it similar to verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
# but the same error is there whether it is here or not
®_dsi_lvds {
/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
};
display-mi0700csp_sn65dsi84_overlay.dtsi:
&lvds_ti_sn65dsi84 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@2 {
reg = <2>;
lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
&panel_lvds {
compatible = "panel-lvds";
backlight = <&backlight>;
data-width = <24>;
data-mapping = "vesa-24";
height-mm = <86>;
width-mm = <154>;
status = "okay";
panel-timing {
clock-frequency = <44900000 51200000 63000000>;
de-active = <0>;
hactive = <1024>;
hback-porch = <160>;
hfront-porch = <16 160 216>;
hsync-len = <1 70 140>;
pixelclk-active = <1>; /* positive edge */
vactive = <600>;
vback-porch = <23>;
vfront-porch = <1 12 127>;
vsync-len = <1 10 20>;
};
port {
panel_in_lvds: endpoint {
remote-endpoint = <&lvds_out_panel>;
};
};
};
Why am I getting this FDT_ERR_NOTFOUND error?
Best regards,