There is nothing special regarding to i.MX. I can provide you some common recomendations.
You can remove all unnessesary options and modules from the kernel.
For example if you do not need ethernet you can compile the kernel without its support.
And you need to remove all unnessesary packages.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------