Overlays with Capacitive Touch Display 7" Parallel

I’m trying to get the Capacitive Touch Display 7" Parallel display to work with the overlays in the 5.2.0-devel-202102+build.7 image.

I have following overlays set up in overlays.txt:

fdt_overlays=apalis-imx6_atmel-mxt_overlay.dtbo apalis-imx6_lcd_overlay.dtbo display-lt161010_overlay.dtbo

Boot up fails with following error:

U-Boot 2020.07-5.2.0-devel+git.f34eb0c0ac97 (Dec 29 2020 - 07:36:30 +0000)

CPU:   Freescale i.MX6Q rev1.3 at 792MHz
CPU:   Industrial temperature grade (-40C to 105C) at 70C
Reset cause: WDOG
DRAM:  2 GiB
PMIC:  device id: 0x10, revision id: 0x21, programmed
MMC:   FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Toradex Apalis iMX6 Quad 2GB IT V1.1B, Serial# 05064101
Net:   eth0: ethernet@2188000
Hit any key to stop autoboot:  0 
MMC: no card present
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
4807 bytes read in 14 ms (335 KiB/s)
## Executing script at 17000000
Loading DeviceTree: imx6q-apalis-eval.dtb
77851 bytes read in 24 ms (3.1 MiB/s)
107 bytes read in 10 ms (9.8 KiB/s)
Applying Overlay: apalis-imx6_atmel-mxt_overlay.dtbo
653 bytes read in 22 ms (28.3 KiB/s)
Applying Overlay: apalis-imx6_lcd_overlay.dtbo
638 bytes read in 20 ms (30.3 KiB/s)
Applying Overlay: display-lt161010_overlay.dtbo
835 bytes read in 27 ms (29.3 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
6765416 bytes read in 246 ms (26.2 MiB/s)

Are these the correct ones to use?

Could you check if your overlays.txt has no extra symbols after display-lt161010_overlay.dtbo

No extra symbols. If I change the order, it still fails after the display overlay

Loading DeviceTree: imx6q-apalis-eval.dtb
77851 bytes read in 24 ms (3.1 MiB/s)
107 bytes read in 10 ms (9.8 KiB/s)
Applying Overlay: apalis-imx6_lcd_overlay.dtbo
638 bytes read in 20 ms (30.3 KiB/s)
Applying Overlay: display-lt161010_overlay.dtbo
835 bytes read in 26 ms (31.3 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
Applying Overlay: apalis-imx6_atmel-mxt_overlay.dtbo
653 bytes read in 22 ms (28.3 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
6765416 bytes read in 247 ms (26.1 MiB/s)

Hi @sapiippo ,

Can you please do a test with this overlay?

The content of the overlays.txt should be:

fdt_overlays=apalis-imx6_atmel-mxt_overlay.dtbo apalis-imx6_lcd-lt161010_overlay.dtbo

Also make sure that the U-Boot variable vidargs is blank and the variable fdt_file is configured to your board, in my case I configured it to imx6q-apalis-ixora-v1.1.dtb.

Best regards,

Daniel Morais

That works.

Thank you for the update.