Changing UART debug from uart2 to uart1 on imx8MM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing UART debug from uart2 to uart1 on imx8MM

211 Views
trongthinh
Contributor IV
By default the imx8mm-evk use uart2 for debug console. I would like to change to uart1 and use the pins as below:
MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX
MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX
 
I modified u-boot and got some debug log as below:
U-Boot SPL 2023.04-lf_v2023.04+gaf7d004eaf (Apr 05 2011 - 23:00:00 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from MMC1
 
And stuck here... no more debug log.
 
Please tell me what part to be modified? (example: uboot, arm trusted formware, kernel....).
And please advise what to do for each of them.
 
Thank you!
 
Labels (1)
0 Kudos
0 Replies