Colibri IMX6DL 512MB
Iris Carrier Board V1.1
bsp 6.0
Hi all,
Can you please provide me with an example recipe (u-boot-toradex.bbappend) which changes the devicetree that’s being used by u-boot.
The default devicetree is ‘imx6dl-colibri-eval-v3.dtb’, suppose I want to change to ‘imx6dl-colibri-iris.dtb’
Many thanks in advance.
You can do it through U_boot debug console (UART)
setenv fdtfile imx6dl-colibri-iris.dtb
saveenv
Hello Alex,
Thanks for your reaction, but this doesn’t really answer my question.
Kind Regards
Hello @Spinola ,
Maybe this topic
Hello!
I have a Colibri iMX8QXP module and I’ve built a custom device tree for making it compatible with the Focaltech FT5426 touch driver. The problem is that even after setting up all the variables referencing the evaluation board DTB (imx8qxp-colibri-eval-v3.dtb) the default device tree loaded by U-Boot remains the same.
The variables I changed are located in a file called colibri-imx8x-extra.conf that’s included in local.conf:
TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT_remove = " colibri-imx8x_…
and this article
can help you
Best regards,
Josep
I found a solution:
Add a bbappend: recipes-bsp/u-boot/u-boot-toradex/u-boot-toradex_%.bbappend
do_configure:prepend() {
sed -i ‘s/CONFIG_PREBOOT=.*/CONFIG_PREBOOT=“setenv fdtfile imx6dl-colibri-iris.dtb”/’ ${S}/configs/colibri_imx6_defconfig
}