Hi bandela
one can look at application note devoting to i.MX6 debugging
AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
probably one can consider adb over usb
USB Host and Accessory | Android Developers
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------