Hi @ThinhNguyen_FE,
I hope you are doing well.
One can disable uart3 in the device as below(at /arch/arm64/boot/dts/freescale
/imx8mp-evk.dts in linux-imx).
&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart3>;
assigned-clocks = <&clk IMX8MP_CLK_UART3>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_80M>;
fsl,uart-has-rtscts;
- status = "okay";
+ status = "disabled";
};
Please create a patch after the above change & move that patch to /sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx folder in yocto source.
and make below change in u-boot-imx_2022.04.bb
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += " file://<patch name>.patch "
after that, one can run bitbake command again to build the image.
How can I view the u-boot call to which .dtb?
[Ans]: one can use the below command.
=> printenv fdtfile
Thanks & Regards,
Dhruvit Vasavada