Hi,
We have tried porting of Android Oreo on our customized board(based on imx6dl). there was some changes related to UART muxing for our board, those related changes I have made in "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" . we have built mfg u-boot placed in appropriate path flashed the images successfully. after that when we tried to boot board, UART was not working 4-5 days we have worked on that to resolve the issue.
How come UART worked in mfg_u-boot and didn't work in actual android u-boot? After trying many things we found that android u-boot makes use of dts files which we need to modify UART muxing related changes here also !!!. It worked
after this change.
My question is, why nxp developers have kept muxing at both the places?
1. uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c
2. uboot-imx/arch/arm/dts/imx6qdl-sabresd.dtsi
There are no documents which tells about these information. By seeing "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" board file and PIN muxing in that file also, we had assumed that kernel onwards dts files are being used.
Our understanding is like this,
Is it so, mfg_u-boot.imx doesn't make use of dts
where as, android u-boot.imx makes use of dts files?
Kindly update us.