This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62P-LP: In latest SDCARD image (tisdk-default-image-am62pxx-evm-10.01.10.04.rootfs.wic.xz) I have configured the static IP and net-mask in the board, after reboot IP is coming properly , but netmask is not coming

Part Number: SK-AM62P-LP


Tool/software:

In latest SDCARD image (tisdk-default-image-am62pxx-evm-10.01.10.04.rootfs.wic.xz) I have configured the static IP and net-mask in the board, after reboot IP is coming properly,  but netmask is not coming. Reference I have shared the screenshot below.

1.  static IP configured in 10-eth.network file.

  

2.  Device after reboot, IP is reading proper but netmask is not reading.

Request you to help me to resolve this issue?

  • Hello Karthikeyan,

    First, to clarify what we can support on TI SoCs: we can support topics/issues that are focused on the low-level driver software or topics related to the TI SoC hardware. This particular issue is more of an application use-case which typically is up to the customer to create their particular implementation since, by default, we don't modify the systemd-networkd service to enable static IP.

    Having clarified that, one tip I have is if you tried to add the netmask to the "Address" property? Something like the below could work for your use-case.

    root@am62xx-evm:~# cat /etc/systemd/network/10-eth.network
    [Match]
    Name=eth0
    
    [Network]
    DHCP=no
    Address=192.168.0.2/16
    root@am62xx-evm:~#
    root@am62xx-evm:~# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
           inet 192.168.0.2 netmask 255.255.0.0 broadcast 192.168.255.255
           inet6 fe80::1e63:49ff:fe0f:6114 prefixlen 64 scopeid 0x20<link>
           ether 1c:63:49:0f:61:14 txqueuelen 1000 (Ethernet)
           RX packets 4 bytes 1218 (1.1 KiB)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 30 bytes 4160 (4.0 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
           ether ae:e6:fa:14:33:4c txqueuelen 1000 (Ethernet)
           RX packets 0 bytes 0 (0.0 B)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 0 bytes 0 (0.0 B)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
           inet 127.0.0.1 netmask 255.0.0.0
           inet6 ::1 prefixlen 128 scopeid 0x10<host>
           loop txqueuelen 1000 (Local Loopback)
           RX packets 18 bytes 2186 (2.1 KiB)
           RX errors 0 dropped 0 overruns 0 frame 0
           TX packets 18 bytes 2186 (2.1 KiB)
           TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    
    

    -Daolin