IMX8MP Custom board | How to change the debug uart from the uart2 to uart1 for both u-boot & kernel

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

IMX8MP Custom board | How to change the debug uart from the uart2 to uart1 for both u-boot & kernel

567 Views
Nigesh247
Contributor I

Hi all , 


On i.MX8MP, the default early debug / console output comes on UART2.I want to move the entire boot console to UART1 instead.What is the correct and complete procedure to do this on i.MX8MP?

If someone has already done this, please guide me exactly which changes are needed and in which files  to move the debug UART from UART2 to UART1 on i.MX8MP

IMX8MPLUS 

0 Kudos
Reply
1 Reply

426 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2295278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX8MP%20Custom%20board%20%7C%20How%20to%20change%20the%20debug%20uart%20from%20the%20uart2%20to%20uart1%20for%20both%20u-boot%20%26amp%3B%20kernel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2295278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%20%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EOn%20i.MX8MP%2C%20the%20default%20early%20debug%20%2F%20console%20output%20comes%20on%20UART2.I%20want%20to%20move%20the%20entire%20boot%20console%20to%20UART1%20instead.What%20is%20the%20correct%20and%20complete%20procedure%20to%20do%20this%20on%20i.MX8MP%3F%3C%2FP%3E%3CP%3EIf%20someone%20has%20already%20done%20this%2C%20please%20guide%20me%20exactly%20which%20changes%20are%20needed%20and%20in%20which%20files%26nbsp%3B%20to%20move%20the%20debug%20UART%20from%20UART2%20to%20UART1%20on%20i.MX8MP%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FIMX8MPLUS%2Fpd-p%2FIMX8MPLUS%22%20class%3D%22lia-product-mention%22%20data-product%3D%2221-1%22%20target%3D%22_blank%22%3EIMX8MPLUS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2296954%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20IMX8MP%20Custom%20board%20%7C%20How%20to%20change%20the%20debug%20uart%20from%20the%20uart2%20to%20uart1%20for%20both%20u-boot%20%26amp%3B%26amp%3B%26amp%3B%26amp%3B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2296954%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Epls%20refer%20to%20the%20link%20as%20below%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FIMX8MP-uart2-to-uart4%2Ftd-p%2F1616936%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2FIMX8MP-uart2-to-uart4%2Ftd-p%2F1616936%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E