Mukul_080301
  1. Is it possible to run openplc runtime on Yocto Linux. apt-get is not present on Yocto Linux.
  2. How to put it in build itself ,i.e. while building the yocto project(using bitbake).
  3. If yes, please can you provide complete steps/ guide on how can it be done.
  4. If this works, are there any limitations
Reply 0 0
thiagoralves
Yocto is a build platform. There is no such thing as "Yocto Linux". You can use Yocto to build whatever you want on your custom Linux image, including apt-get if you want. To include OpenPLC on your Yocto image you will have to manually create a recipe for it including all of its dependencies (you can check all dependencies from the Openplc installer script). No one has built a Yocto recipe for OpenPLC as far as I can tell.
Reply 0 0
fg71
The purpose of Yocto is to build a embedded Linux configuration for specific device. Other Linux system like Debian, Fedora... is a Linux distro with specific configuration for general-purpose computer. It means Yocto could be build with a set of tools and configuration for it hardware. When other Linux distro for general-purpose use a flexible model to or generic model that work on different system.
 
To make Yocto build for your hardware you also need to include tools that your application needs. You also need knowledge beyond a generic distro.
Raspberry Pi OS could update and fix a security issue and in your Yocto build you need to do that yourself. It means you need know more low level
Linux development. A vendor like Siemens could use Yocto for a hardware they sell and support and they could make a update image for you to
update your system.
 
The purpose I believe with Yocto is not to install apt or any package manager its to configure a device that have everything you need for your application.
Reply 0 0
Reply