How to set static IP and netmask at bootup Embedded Linux iMX7

Hi,
I want to set static IP and netmask as soon as Linux boots up. Could you please help me on this? where is the startup file/directory located? what if I want to run small script as a part of system init.

Thank you
Neeraj

Thank you. My issues is resolved.

Perfect. Thanks for your feedback.