|
|
|
| I'd take a spoiler for you any day. |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
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. Last edited by keen101 : 18-12-2008 at 23:42. |
|
#17
|
|||
|
|||
|
Re: Anyone install windriver on linux yet?
Quote:
|
|
#18
|
||||
|
||||
|
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?
|
|
#19
|
|||
|
|||
|
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 |
|
#20
|
|||
|
|||
|
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... |
|
#21
|
|||
|
|||
|
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. |
|
#22
|
|||
|
|||
|
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. |
|
#23
|
||||
|
||||
|
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. |
|
#24
|
|||
|
|||
|
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. |
|
#25
|
|||
|
|||
|
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. Last edited by spicyj : 04-01-2009 at 04:29. |
|
#26
|
|||
|
|||
|
Re: Anyone install windriver on linux yet?
Quote:
|
|
#27
|
||||
|
||||
|
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.
|
|
#28
|
|||
|
|||
|
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. Last edited by spicyj : 04-01-2009 at 13:51. |
|
#29
|
||||
|
||||
|
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). |
|
#30
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble booting Linux from hard drive after CD install | edomus | Technical Discussion | 2 | 01-11-2004 08:03 |
| Anyone registered yet? | Gary Dillard | General Forum | 54 | 20-10-2004 01:22 |
| anyone know how to install gallery on a webserver? | Greg Needel | Website Design/Showcase | 5 | 19-08-2004 14:40 |
| anyone at epcot yet? | Jgreenwd1 | Chit-Chat | 3 | 24-04-2002 18:26 |