netPI-netx-programming-examples update - Printable Version +- Hilscher Community Forum (https://forum.hilscher.com) +-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html) +--- Forum: Software (https://forum.hilscher.com/forum-5.html) +--- Thread: netPI-netx-programming-examples update (/thread-602.html) Pages:
1
2
|
netPI-netx-programming-examples update - slos - May-27th-2020 Hello there, Could you please consider updating : https://github.com/HilscherAutomation/netPI-netx-programming-examples Thanks a lot for your kind support. BR, Stéphane RE: netPI-netx-programming-examples update - Armin@netPI - May-27th-2020 Hi there, what exactly do you mean with updating? Is there any error you have detected? Thx RE: netPI-netx-programming-examples update - slos - May-27th-2020 (May-27th-2020, 02:38 PM)Armin@netPI Wrote: Hi there, Hi Armin, I mean that the image is one year old, based on Debian Stretch with an old version of the linux driver and quite old versions of firmwares. So I would like it to be based on Debian Buster, with latest driver and firmwares and examples. Like this one for example : https://github.com/HilscherAutomation/netPI-codesys-basis By the way, is there any chance CODESYS can use netX 51 some day ? Thanks. BR, Stéphane from Hilscher France ! RE: netPI-netx-programming-examples update - Armin@netPI - May-27th-2020 Well if you know Linux well then you know that just for showing the coprocessor netX51 working it doesn't matter if it is jessie, stretch or buster or the latest version debian bullseye. Nothing in the Linux commands used in the container has been changed in these four versions ... any would be feasible. The latest netX driver has been extended by interrupt functionality to speed up TCP/IP communications in netX TCP/IP mode on Ethernet frame reception. But the examples provided in this programming example container work in request/response IO process data exchange mode where interrupt mode is not speeding up anything. Drawback of the latest driver is that it needs more explanation cause of the interrupt function ... so I don't know if this would confuse all the netX developers to much since the GPIO pin needs to be configured then in the container additionally requiring the container to run in "privileged" mode also. What might be possible is to run the driver in non-interrupt mode but I have to test that first before releasing it. Updating the firmwares would be the only argument to recreate the container while keeping the rest untouched. You can see that many thoughts need to be spent if a container should get an update or not. To your CODESYS question: With the release of netPI four years ago the decision has been made not to support any containerized third party apps someone would ever deploy on netPI. So as with CODESYS. The same would apply for apps like Node-RED, python, java, javascript and and and. Correct is that we offer a CODESYS container, but if you analyse the CODESYS container well you see that we are just providing an "empty" container hull with just an SSH server pre-installed. Further integration of the CODESYS PLC logic is in the hands of 3S company and Hilscher would never investigate on what they integrate in their CODESYS. We would never push 3S as 3rd party to integrate a netX51 driver in CODESYS. They have to make this decision by themselves ... and of course need to see any advantages for them in making money. Since they have all slave stacks running natively on any Ethernet port anyway ... so why to integrate netX51 then? Makes no sense. Thx Armin RE: netPI-netx-programming-examples update - Armin@netPI - May-28th-2020 I have started updating the repo right now. It now has a new look as all the other newest repos Thx Armin RE: netPI-netx-programming-examples update - slos - May-28th-2020 (May-27th-2020, 07:23 PM)Armin@netPI Wrote: >> Hi Armin, (May-28th-2020, 08:15 AM)Armin@netPI Wrote: I have started updating the repo right now. It now has a new look as all the other newest repos Hi Armin, That's great ! I will rebuild my images as soon as you have finished updating ! Thanks a lot. BR, Stéphane RE: netPI-netx-programming-examples update - slos - May-29th-2020 Hello Armin, Looks like the cross-build stuff is gone from the Dockerfile in your last moves. Since I'm building using amd64 in a cloud my build job fails : https://gitlab.com/ada-for-automation/a4a-netpi-rte-builder/-/jobs/572185858 Is it a mistake or a fixture ? Thanks for your kind support. BR, Stéphane RE: netPI-netx-programming-examples update - Armin@netPI - May-29th-2020 Hello Stephane, the cross build "stuff" is still in there, but outsourced in a different file to be compliant with Docker Hub builds and its possibilities. (I learn every day more and more about Docker) Now it is in the file https://github.com/HilscherAutomation/netPI-netx-programming-examples/blob/master/hooks/pre_build Take this file on your AMD machine and name it e.g. pre_build.sh and call it exactly one time prior your build process. It will install a QEMU processor emulator setup in a container and sets some references. After this you can start the build process as usual and it is no longer necessary to call the "old" start and end scripts located in the previous Dockerfiles during a build process any more. This step is a prestep that is necessary if we want to support multiarchitecture capable containers builds in future as described here https://github.com/ckulka/docker-multi-arch-example Thx Armin RE: netPI-netx-programming-examples update - slos - August-5th-2020 Hello Armin, I have found this interesting : https://community.arm.com/developer/research/b/articles/posts/continuous-cross-architecture-integration-with-gitlab BR, Stéphane RE: netPI-netx-programming-examples update - mmad - August-6th-2020 Hello Armin I've check the commits in the examples repository, it seems that Ethercat FW package was just renamed, the content is the same and reported version is still 4.7.0.2 BR |