Hello NXP,
This is Milav From Teq Diligent.
We have Design one custom board based on iMX8M nano series.
Microprocessor part number : MIMX8MN1CVTIZAA
We have used imx-linux-zeus -m imx-5.4.47-2.2.0.xml BSP and build an image for the board.
Now Custom board has eth0 interface.
Now the goal is , we need to save static IP of eth0 in kernel.
So, at every booting time, eth0 take saved static IP and then Ethernet ping communication correctly happens.
So when user need to edit that static IP, he/she need to edit some configuration file/or script file. after that new static IP is saved in kernel.
Now ETH0 is configured with new IP address at every boot.
Can you guys please help me how i can saved my static ip address in kernel?
Thank You
Solved! Go to Solution.
Hi @milav_soni,
You should save the static IP on U-boot in the env variables, with that you could set a static IP.
Regards,
Israel.
Hi @milav_soni,
You should save the static IP on U-boot in the env variables, with that you could set a static IP.
Regards,
Israel.
Hello @nxf63675 ,
Thank You for your answer.
I need to save static IP in root file systems.
Can you please help me how i can save the eth0 static IP in rootfs at run time?
Regards,
Milav