I am enabling uart1 as is on a board based on the imx8mn evk:
artemis_evk_8mn:/proc/tty # cat /proc/tty/driver/IMX-uart
serinfo:1.0 driver revision:
1: uart:IMX mmio:0x30890000 irq:33 tx:20 rx:0 RTS|DTR|DSR|CD
I have also enabled it for a53 use under android trusty.
this is branch imx-android-11.0.0_1.0.0
any thing else to check? thanks!
yes and UART2 works fine. I also want UART1.
poking around in the source for branch imx-android-11.0.0_2.0.0, I see that the android trusty imx RDC init code also puts UART1 in the A53 domain as I want, so I suspect my fix in branch imx-android-11.0.0_1.0.0 is correct.
You can refer to this thread to modify https://community.nxp.com/t5/Blogs/How-to-Change-i-MX8MM-evk-Linux-Debug-UART/ba-p/1243938
The default use is the UART2 on i.MX8MN EVK board.