NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Building package from source for cRIO-9068

Solved!
Go to solution

Hi all,

I am in the process of porting a project to the 9068 crio, and unfortunatly I need to make use of NI-TimeSync for IEEE1588 PTP sync which is not supported on the new linux cRIOs. As an alternative there is an open source implementation of the PTP sync (http://ptpd.sourceforge.net/) that I should be able to make use of on the cRIO. my issue right now is that I cannot find a package that I can install with OPKG on the cRIO, is there a way I can create the package from the source code and deploy it to the cRIO with OPKG? I looked online for ways to create the package from source but it looks like a big operation (http://buffalo.nas-central.org/wiki/Construct_ipkg_packages_(for_developers)), so I wanted to make sure there is no simple way to do this before diving into this.

Thank you,

0 Kudos
Message 1 of 3
(3,647 Views)
Solution
Accepted by topic author Ozziee

Welcome Ozzzie

I would recommend giving Re: Building software for NI Linux RT a look for how to build software on the target itself (generally recomended since sources from projects are often setup to build on the system on which it will run). That said, you could also cross-compile as well using the cross-compilation toolchain, but that approach would be a bit more involved.

0 Kudos
Message 2 of 3
(2,988 Views)

One of the many cases where a decent build+deployment environment would be a good idea, so users don't have to set up everything manually:

 

https://forums.ni.com/t5/Additional-NI-Software-Idea/cRIO-image-development-kit/idc-p/3820247

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 3 of 3
(2,339 Views)