Device tree modification in Yocto for Colibri i.MX7 emmc

I finally found the problem concerning the device tree which did not change anything on the target machine.
Since I am using BSP5.7, I followed the instructions on this page.
Concerning the contents of recipes-bsp/u-boot/u-boot-toradex_%.bbappend, it shows:

do_configure_append() {    
  sed -i 's/#define FDT_FILE.*/#define FDT_FILE "my-custom-devicetree-file.dtb"/' ${S}/include/configs/colibri_imx6.h
}

Today, I opened the 6.0 variant of the page (by accident…) in order to re-follow all steps for the n-th time. Arriving at the contents for recipes-bsp/u-boot/u-boot-toradex_%.bbappend, it shows:

do_configure:append() {    
  # Remove exisiting fdtfile, if there is one    
  sed -i '/"fdtfile=.*\\0" \\/d' ${S}/include/configs/verdin-imx8mp.h    
  # Add new fdtfile, "my-custom-devicetree.dtb" should be replaced with your device tree binary file    
  sed -i 's/\("fdt_board=.*\\0" \\\)/\0\n      "fdtfile=my-custom-devicetree.dtb\\0" \\/' ${S}/include/configs/verdin-imx8mp.h
}

Which is quite different from the “5 LTS” version!
By adapting this format to my device tree, I managed to see the changes I made on the target module.

So I think I would be useful for others to correct the “5 LTS” page…
In the meanwhile, I close this thread. For the other subject addressed here (RPMSG), I started a new thread.

Best regards,
Jeroen