Hi mehul,
Regarding Android M (6.0.1_2.1.0) for i.MX7, you could follow the download and compile instructions included on the IMX6_M6.0.1_2.1.0 Android Documentation, available for download at the link below:
https://www.nxp.com/webapp/Download?colCode=IMX6_M6.0.1_2.1.0_ANDROID_DOCS&Parent_nodeId=12654116387...
It is mentioned that the i.MX7D SABRE board is supported. Regarding Android N, it is not available yet.
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------