![]() |
Anyone install windriver on linux yet?
I was just wondering if anyone has successfully installed WindRiver on a Linux machine yet?
My team hasn't gotten our software yet, as we just paid right before the deadline. I am particular interested in it successfully being installed on Debian based systems, however any Linux success is relevant too. Please post any failures, confusion, and especially success stories. also I've heard there is a version of labview that runs on linux now, anyone using that? -Andrew (keen101) |
Re: Anyone install windriver on linux yet?
I have it installed with ubuntu as host OS. It is not "supported" but seems to be fine. My team has not received the kit yet, but will see how it goes then.
Before I installed windriver workbench, I looked into building a GNU toolchain. Unfortunately I was not able to get gcc to completely build. For those that want to continue on that route, you will need to download headers for vxworks. National instrument provides this for vxworks 6.1 and 6.3 (no idea what is on the controller we get from first). http://zone.ni.com/devzone/cda/tut/p/id/5694 You can build binutils with the target powerpc-wrs-vxworks just fine. Trying to build gcc I had major issues relating to the headers. Another alternative would be to use the compiler provided in workbench and create some makefiles. Not my preferred route, but it should work okay. |
Re: Anyone install windriver on linux yet?
Quote:
As for me, as soon as I get my hands on the compiler suite, I am going to first install it under WINE and play with it that way. After I get it working under Wine with Makefiles, I'll see about running it naively if performance is actually a problem. No sense in spending a couple of days in order to shave 1 second off compile time. Does anyone know much about how the Debugger works? If it uses standard gdb network protocols, we might be able to just use gdb or one of it's graphical interfaces like ddd to be able to debug code under Linux. Along those lines, does anyone know where to get the compiler suite besides from the kit? |
Re: Anyone install windriver on linux yet?
Quote:
Quote:
|
Re: Anyone install windriver on linux yet?
1 Attachment(s)
Cool. I'm anxious to hear more success stories with Linux and windriver. I don't think it will work very well under WINE, but that's my opinion.
on another note... i successfully got Labview to work on Ubuntu Linux. The price is pretty steep, so most teams won't be able to afford it. Our team really can't afford it either if you want to know the truth. Anyway, the hardest part was converting the .RPM packages to .DEB files, but i sucessfully did it with "alien". feel free to email me with specific questions regarding Labview under Ubuntu. I can even try to help look for some sort of discounts if you are really drooling to get labview working under ubuntu. It is much faster under linux. :D |
Re: Anyone install windriver on linux yet?
Quote:
|
Re: Anyone install windriver on linux yet?
Quote:
But, i found this today so we will request it. http://www.chiefdelphi.com/forums/sh...56&postcount=9 I haven't tried any of the Vi's yet, and if NI hadn't been willing to ship Linux versions by request, I'd probably have never been able to manage getting everything to work. As i understand it many things are different in the FRC version, especially the Real-Time module and some other drivers. |
Re: Anyone install windriver on linux yet?
Also, no matter what operating system you're running, they're having issues with a bug in the FRC version that modifies a file shared between all LabView installations on the machine incorrectly, therefore resulting in data that's unusable by all installations. Uninstall all other installations BEFORE you install the FRC version.
Sweet, I definitely need to look into getting one of them Linux installer CD's. I'm so glad NI is so cross-platform with everything, it makes everybody love them more! Also, where did you get the evaluation version of LabView for Linux? I haven't been able to find one anywhere. |
Re: Anyone install windriver on linux yet?
Quote:
I went back to one page i thought i had been on, but can only find the windows trial version. Weird. I don't know, i was doing a lot of googling at the time, and was trying to find anything that had to do with labview and linux. Oh, well. It doesn't matter anyway i suppose. Does anyone know how to obtain the Linux version of WindRiver? Is it included on the software DVD? Or do we have to request it from FRC team support? |
Re: Anyone install windriver on linux yet?
Quote:
Though there is a native Linux version of LabVIEW, if I've understood the situation correctly, in order to program for a CompactRIO target you need to have the LabVIEW Real-time Module, which is Windows-only. |
Re: Anyone install windriver on linux yet?
I just spent some time fiddling with it, and it's of note that the redistributable compiler for VxWorks 6.3 (mentioned further up) runs and successfully compiles the example code that comes in the zip provided that you set the proper environment variables in the Wine registry.
The following is a modified version of the Makefile from the example code that allows it to be built through Eclipse on Linux: Code:
# edit these as needed to fit your setupI'll post back as I make progress. |
Re: Anyone install windriver on linux yet?
Well, just requested a linux version of LabVIEW. Hopefully NI will send it....
Quote:
Quote:
Quote:
If I made any comments about the Real-time module, it was that i am pretty sure the Real-time module on an everyday version of labview is very different from the FRC version. I think it's different because our cRIO's aren's standard cRIO's, they are custom built ones. |
Re: Anyone install windriver on linux yet?
Quote:
Quote:
Quote:
|
Re: Anyone install windriver on linux yet?
The links you provided don't prove anything. Most of the documentation from ni is for windows anyway. that doesn't mean mac and Linux versions don't exist.
i remember seeing a real time module .rpm file with the linux tutorial. I could email it to you if you want to look at it. (if i still have it) But, i have the feeling you just feel like arguing. |
Re: Anyone install windriver on linux yet?
Quote:
I suspect that the RPM you're referring to is labview85-rte-8.5.1-1.i386.rpm. Unless I'm terribly mistaken RTE in this case stands for the LabVIEW Run Time Engine, which is used to deploy VIs on computers that don't have the full development system installed. In any case, I will say no more, and wish you the best of luck with your search. |
Re: Anyone install windriver on linux yet?
Quote:
In either case i am going to assume to FRC version of LabVIEW for Linux is capable of programming the FRC nRIO just like the windows version. I'm going to assume they have included everything that would be needed. |
Re: Anyone install windriver on linux yet?
Quote:
|
Re: Anyone install windriver on linux yet?
This seems strange to me, there shouldn't really be an issue with realtime programming in Linux, there are entire realtime kernels out there (2 of my computers use them). Anybody know what the realtime module does that the regular LabView version doesn't?
|
Re: Anyone install windriver on linux yet?
The realtime module implements the client protocol, the cross compiler, and integrates all of the configuration stuff for discovering the chassis, downloading, etc.
It isn't that these things can't be done with linux. They certainly can. Years ago there was an RT version for Mac OSX. But demand for the Mac and also for linux versions of RT seem to be low. With a product this complex, even testing on an OS adds up to significant time. So if there isn't apparent demand, it gets trimmed. Many of the developers at NI are linux fans and it isn't personal, it just comes down to supplying products that the majority of engineers need. Greg McKaskle |
Re: Anyone install windriver on linux yet?
I just succeeded in compiling and deploying code under Linux to the cRIO! I used wine to run the compiler and wput to upload it. I am going to write up a document on this in a bit and post it. I had to copy over the license file from Windows to get it working under Linux, so I'm not sure how that is going to work for people who don't install it under Windows first.
Off to work on getting the debugger working... |
Re: Anyone install windriver on linux yet?
Quote:
The redistributable version from NI (there's a link to it earlier in the thread) that I mentioned I'd gotten running & building under Wine comes with a license, so that shouldn't be a problem. |
Re: Anyone install windriver on linux yet?
I just got the debugger working using only my makefile and Hyperterminal! That was with a serial cable though. I'm going to talk to Brad about installing Telnet or something more secure so that I can get rid of the serial cable.
I figured out how to do it outside eclipse under Windows by launching wtxregd, tgtsvr, and then windsh, but the tgtsvr daemon won't work for me under wine, so that idea failed. My brother and I are going to write a gdb interface on top of the kernel shell so we can use Clewn, a piece of code that integrates GDB in with VIM. As soon as I clean up the loose ends that I still have left, I'm going to write up docs on the whole process and post them. |
Re: Anyone install windriver on linux yet?
Was that only with WINE?
WINE is at least something, maybe also a VM like Virtualbox could work too. But, is there anyway to get it working with the native version of Eclipse? I'd rather have a native program than something that works under WINE. |
Re: Anyone install windriver on linux yet?
Quote:
Quote:
Until they give us Linux binarys, there is no way to avoid wine or a VM. I guess you could compile your own cross compiler, but that sounds like a lot of unnecessary work and that could introduce problems in the output executable. I find WINE to be just fine for running command line utilities from Windows, though not as good for GUIs. I ran the command line compilers for the previous year's controller using WINE without any problems. This was using a Makefile though, not using MPLAB. |
Re: Anyone install windriver on linux yet?
Quote:
On your Ubuntu box, cd to the directory you just made for the build files, then run these commands in order: http://pastie.org/352039 (you can change $PREFIX to change the install directory). Those instructions should be accurate for building gcc to cross-compile to Ubuntu. Included is a patchfile for what seems to be a fix to be a small problem with the libgcov code. When you finish, you should have a complete cross-compiler suite in /usr/local/powerpc-wrs-vxworks, complete with binaries, headers, and static libraries. PLEASE tell me if you find any errors with what I've written up. (P.S. Whenever you use this compiler, you should need to have $WIND_BASE and $WIND_USR set; also required is a preprocessor flag _WRS_KERNEL which you can specify on the gcc command line using the argument -D_WRS_KERNEL.) Now that the compiler works (well, for me, at least), it seems like it's time to try to get the SimpleRobot kernel-module example code template to compile using this compiler. Right now I'm getting problems with case sensitivity and load path order. Can someone try to get that working? My Makefile attempt is at http://gist.github.com/43030. My final concern is how to upload an application to the cRIO into the RAM (not saving into flash memory). Seems like FTP is only for using the flash memory, but for code debugging, RAM is much less dangerous. Anyone figure out how to do this? Maybe we need to reverse-engineer the communications between Workbench and the cRIO. |
Re: Anyone install windriver on linux yet?
Quote:
|
Re: Anyone install windriver on linux yet?
cool. keep up the good work. I'm very interested in this. Unfortunately i don't have a copy of our software yet, so i can't try it yet. I will be sure to try it when i can.
|
Re: Anyone install windriver on linux yet?
Quote:
Also, it looks like pogenwurst is right. LabVIEW for Linux doesn't have the proper tools: http://www.chiefdelphi.com/forums/sh...6&postcount=18. |
Re: Anyone install windriver on linux yet?
hate to revive an old thread... but here i go!
does the frc edition of labview include the linux files? if so, ut better not be tarballs! (i use ubuntu but i am good at alien). all i would want it to do for now is code writing practice (and to settle a bet with a windows fanboy). |
Re: Anyone install windriver on linux yet?
No, there is no Linux version on the FRC disk. The FRC LabView installer is only for Windows because, as previously discussed, there is no NI realtime engine for Linux (or Mac for this purpose). I once found a trial version of LabView for Linux, but it was RPM based, and even with alien, it never worked. Now, it was also on a crappy computer, but sorry, I doubt it will work.
|
Re: Anyone install windriver on linux yet?
that bites. i didn't even find a linux trial.
last year Kamen praised open source code with labview... this year they shove microsoft down our throats.. |
Re: Anyone install windriver on linux yet?
ni.com/linux describes the products NI does sell for linux, but LV realtime isn't one of them.
Also, MS kindly donated the classmate licenses. Greg McKaskle |
Re: Anyone install windriver on linux yet?
not to start a flame war, but they were probably donated in hopes of addicting people to their products. thats what they did to OLPC...
|
Re: Anyone install windriver on linux yet?
Amen, brother!
|
Re: Anyone install windriver on linux yet?
Oldest story in the book, big powerful entity donates its products to remove any detected need to move a complementary product to another system, so the users of the other system hack it in! I need to learn how to code hack better...
|
| All times are GMT -5. The time now is 08:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi