IMX8MP debug port change to uart4 on Android

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

IMX8MP debug port change to uart4 on Android

Jump to solution
1,252 Views
FoxYang
Contributor I

Hi,

In imx8mp on customer board.

I have already change debug port from uart2 to uart4 on yocto(Linux 6.1.1_1.0.1 BSP).

And type cmd is OK.

 

The same modify on Android (Android 13.0.0_2.0.0 (L6.1.22_2.0.0 BSP)),

after booting finish(hdmi show android launcher),debug console can show message

but can't type anything.

 

I have compare yocto and android modify.

There are 2 file I can't find in Android BSP.

\sources\meta-freescale\conf\machine\include\imx-base.inc

\sources\meta-freescale\conf\machine\include\imx8mp-evk.inc

 

How to fix it?

Thanks.

 

0 Kudos
Reply
1 Solution
1,200 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You are looking for Yocto specific files, that are not available on Android.
For Android you'll need to patch Linux/Uboot/ATF the same way you did for the Linux system you built using Yocto.

Best regards/Saludos,
Aldo.

View solution in original post

0 Kudos
Reply
1 Reply
1,201 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You are looking for Yocto specific files, that are not available on Android.
For Android you'll need to patch Linux/Uboot/ATF the same way you did for the Linux system you built using Yocto.

Best regards/Saludos,
Aldo.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1845996%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIMX8MP%20debug%20port%20change%20to%20uart4%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1845996%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EIn%20imx8mp%20on%20customer%20board.%3C%2FP%3E%3CP%3EI%20have%20already%20change%20debug%20port%20from%20uart2%20to%20uart4%20on%20yocto(%3CSTRONG%3ELinux%206.1.1_1.0.1%20BSP%3C%2FSTRONG%3E).%3C%2FP%3E%3CP%3EAnd%20type%20cmd%20is%20OK.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20same%20modify%20on%26nbsp%3BAndroid%20(%3CSTRONG%3EAndroid%2013.0.0_2.0.0%20(L6.1.22_2.0.0%20BSP)%3C%2FSTRONG%3E)%2C%3C%2FP%3E%3CP%3Eafter%20booting%20finish(hdmi%20show%20android%20launcher)%2Cdebug%20console%20%3CSTRONG%3Ecan%3C%2FSTRONG%3E%20show%20message%3C%2FP%3E%3CP%3Ebut%20%3CSTRONG%3Ecan't%3C%2FSTRONG%3E%20type%20anything.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20compare%20yocto%20and%20android%20modify.%3C%2FP%3E%3CP%3EThere%20are%202%20file%20I%20can't%20find%20in%20Android%20BSP.%3C%2FP%3E%3CP%3E%5Csources%5Cmeta-freescale%5Cconf%5Cmachine%5Cinclude%5Cimx-base.inc%3C%2FP%3E%3CP%3E%5Csources%5Cmeta-freescale%5Cconf%5Cmachine%5Cinclude%5Cimx8mp-evk.inc%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHow%20to%20fix%20it%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1847537%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20IMX8MP%20debug%20port%20change%20to%20uart4%20on%20Android%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1847537%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20are%20looking%20for%20Yocto%20specific%20files%2C%20that%20are%20not%20available%20on%20Android.%3CBR%20%2F%3EFor%20Android%20you'll%20need%20to%20patch%20Linux%2FUboot%2FATF%20the%20same%20way%20you%20did%20for%20the%20Linux%20system%20you%20built%20using%20Yocto.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2FSaludos%2C%3CBR%20%2F%3EAldo.%3C%2FP%3E%3C%2FLINGO-BODY%3E