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

https://developer.toradex.com/knowledge-base/ethernet-network-(linux)#Static_Network_Configuration

https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux

Thank you. My issues is resolved.

Perfect. Thanks for your feedback.