Accessing ADB and UART console in production image

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

Accessing ADB and UART console in production image

774 Views
namanthaker
Contributor IV

Hello,

I have built and flashed production image (i.e. user image) on IMX8MM EVK device and I am unable to access the ADB or UART console shell.

I want to access the ADB/UART console on the device for debugging. 

Along with ADB/console access, I also need to use 'su' command enabled to access the kmsg and sysfs/rootfs.

What are changes required in the AOSP to enable ADB and UART with 'su' access by default in the production image ?

Thanks,

Naman

Labels (1)
0 Kudos
1 Reply

748 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Unfortunately I believe this may not be possible, since for ADB root access you'll need to build using userdubg type, this should provide image with root access for debugging
 
Regards,
Aldo.

0 Kudos