nxp-archive / openil

OpenIL is an open source project based on Buildroot and designed for embedded industrial solution.
Other
136 stars 55 forks source link

Static - IP address issue | LS1021ATSN #74

Open Norman03 opened 4 years ago

Norman03 commented 4 years ago
  1. I'm trying to assign a static IP address in /etc/network/interfaces file in Ls1021ATSN board (reference: section 8.2.5 in openil v1.7.1 guide). But I'm not able to see the static address assigned after bootup. So, ping is not working between the HOST PC and LS1021ATSN board.

  2. Later I compiled the OPCUA examples as specified in v.1.7 documentation by enabling the "BR2_PACKAGE_OPEN62541EXAMPLES" flag. But I'm not able to see the /usr/bin/sja-1105 binary in the openil after boot up. Rather I'm able see open62541* binaries which I was able to run but I'm not able to browse the OPCUA server(LS1021ATSN) using client in my HOST.

vladimiroltean commented 4 years ago

From your message I understand that you are really using a 1.7 build of openil, or are you trying to follow the steps from 1.7 on the latest build?

Norman03 commented 4 years ago

From your message I understand that you are really using a 1.7 build of openil, or are you trying to follow the steps from 1.7 on the latest build?

Using latest openil build v1.9 and document 1.7

vladimiroltean commented 4 years ago

That's what I thought. The opc-sja1105 demo program is no longer supported in openil 1.8 and later, since the LS1021A-TSN has transitioned to a kernel implementation of the driver for sja1105. So the sja1105-tool user space driver and all programs derived from it are deprecated. You are probably just interested in the demo itself, from OPC UA perspective. If you give me some time, I'll try to bring that demo program back to life by making it use "ethtool -S" instead of sja1105-tool.

Norman03 commented 4 years ago

Ok. Thanks. Meantime, I'm trying to execute the open62541_* binaries in /usr/bin this should work right without any dependencies?