Hi NXP,
I'm struggling with the change of uart console port. I want to change from uart2 to uart4.
I saw that there are some questions about it and tried the answers proposed but none of them works.
https://community.nxp.com/t5/Blogs/How-to-Change-i-MX8MM-evk-Linux-Debug-UART/ba-p/1243938#M40
https://community.nxp.com/t5/i-MX-Processors/IMX8MP-EVK-Change-u-boot-debug-console-UART2-gt-UART1/m...
https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-IMX8MP-EVK-switch-uart4-to-A53-and-change-d...
I'm using the IMX8MP-LPDDR4-EVK board only with Yocto Linux. I have done the modifications with patch files (in attachments) following others answers. I'm using the 5.15.72-2.2.0 imx manifest.
I build only the imx-image-core. It works like a charm without modifications but as I said I want to switch uart (needed in our custom board) and that kind of work but the board does not boot.
Here is what I did:
- build a clean image using imx-docker with manifest 5.15.71-2.2.0
- then create my own /sources/meta-folder with my /recipes-bsp/imx-atf & /recipes-bsp/u-boot, recipes-kernel/linux-imx
- added all config files + bbappend + files/modifs.patch
- then force compilation with bitbake imx-atf, bitbake u-boot, bitbake linux-imx
- then recreate a new *.wic.zst file with bitbake imx-image-core
everything goes well and the SDcard is flashed correctly. When I power on the board, the UART port as changed and I can see the image in attachment but the boot process stops here...
What am I missing ?
Thanks for your reply.