NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Running an OS on myRIO

Hello,

I am new with myRio and I need to run an OS on it, is there any document that might help? I searched everywhere and I didn't know whether I need to download an OS on the board or the OS is already embedded... and if this is the case what do I have to do to access it?

Your help would be very appreciated..

0 Kudos
Message 1 of 6
(4,482 Views)

Good news! Your myRIO (yourRIO?) came from NI with an OS already on it! Installing additional NI software is covered in the official NI documentation that came with your controller as well as on ni.com, installation of opensource software is covered in a few places in this community forum.

Message 2 of 6
(3,710 Views)

Hello,

I wonder if it is possible to install my own linux distribution on myRIO? I saw, that NI shares OpenEmbedded layers, so I suspect it should be possible to create my own linux distribution with Yocto. For now, the problem is how to download such image file to myRIO...

... or maybe this is not an option for an ordinary user?

0 Kudos
Message 3 of 6
(3,710 Views)

Hi frebiee,

It is possible to build and use your own Yocto/OE-based image, it  is a fairly involved process however, and it will not have the NI software to run LVRT nor LVFPGA code. However, to try this out, the README at NI's github repo for the nilrt image building repo gives you some reasonable hints on getting started with the image that you've built. https://github.com/ni/nilrt/blob/nilrt/15.0/README.txt#L31

Message 4 of 6
(3,710 Views)

Hello BradM,

Grat news! It seems I've skipped this readme somehow...

Just for a confirmation: I'd like to have 'roll back option', to restore LVRT and LVFPGA functionality. If I follow this instruction (http://digital.ni.com/public.nsf/allkb/3926EDBC4EA5B2B086257D2A007D586E), would it restore default system on myRIO with all functionalities?

0 Kudos
Message 5 of 6
(3,710 Views)

You don't need to update firmware, and you would not be able to upgrade from whatever image you've loaded onto the myRIO (MAX depends on some NI software on the controller to update the firmware), however you can force the myRIO to boot into safemode (which has that NI software) and format+reinstall from there. This is documented in the manual that came with the myRIO (http://www.ni.com/pdf/manuals/376047a.pdf page 12).

0 Kudos
Message 6 of 6
(3,710 Views)