ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-72xx, Eclipse, Windows

To:
Subject: Re: [ts-7000] Re: TS-72xx, Eclipse, Windows
From: Dan Weese <>
Date: Sat, 17 Apr 2010 10:05:28 -0700




On Sat, Apr 17, 2010 at 6:06 AM, scottamayo <> wrote:
 

Can't use the Beagle - I need PC/104 for this.

I'm not very familiar with cross-platform development (except for the miserable experiences I've had with it developing for VxWorks). TS doesn't seem to offer Eclipse for the TS-7200, so how do I go about getting and setting up Eclipse to run on Windows, such that it will build for a TS-7250 (Linux 2.4) and, ideally, let me debug remotely on the TS7200? I can probably live with a virtual Linux environment; can someone point me to one, ideally free or low cost? As long as it stays in a window and lets me keep instant access to my vast array of Windows tools and gadgets. :-) Basically I'm looking for someone to say "I got my virtual environment here, and eclipse for TS development there, and I use them daily to write code for a TS-7250 and it all just works."

I sense I'm going to have a LOT of questions.

As a rambling side note, I'm a great fan of Linux system calls and unix programming in general, it's the user interface I can't stand. I don't like stumbling around in csh, trying to remember commands. Part of the problem is that I've been exposed to too many different flavors of unix over too many years and they are all just slightly different; I can't tell you how much it sucks to do have do a man ps every time you want to fiddle with ps's options; is it ps -a? ps -lef? ps -q? And part of it is my fingers know how to do everything on Windows and I just never got the hang of Gnome or the equivalents. And part of it is that my idea of installing an OS (or anything else) is putting a CD in and clicking install, or clicking on a link. I'm a huge fan of things that "just work". Last time I tried to install a unix OS I ended up in a twisty little maze of config files and apt-gets and incompatible hardware and oh-I-think-Joe-wrote-a-driver-for-that-tell-him-Mikey-sent-you... no. Life is too short to get repeatedly dragged down dark alleys and mugged by incomprehensible command line apps fetched from strange little websites, that need 7 different arguments and which, if mistyped, will brick your box. Not when you finally end up with a box that doesn't talk to device Z and only lets you use Y if you first sudo autofraggle -z -q7 /dev/weirdThing3.... No. I won't go back, do you hear me? I can't! I won't!

Linux on the desktop does more than even Windows 7.  Been a while since you looked at Linux, obviously.  As for learning shell scripting and learning the arguments to ps, welcome to embedded systems development.  Forget everything you ever knew about Linux.  Start over.  Here's where:

Running Linux

Building Embedded Linux Systems, Second Edition

There is no magic here.  Windows has screwed with your mind, but not permanently, I hope.  You are perfectly capable of learning to run commands in a Bourne shell.  You will learn to build (or more likely capture from online examples) useful shell scripts to do 98% of the stuff you want to do.  Some commands take seven arguments in the same way your own functions take arguments:  because they're needed.  Manpages don't give you examples:  google up "unix ps example" and you get 2,820,000 hits.  All this business about Joe Writing a Driver, well yeah, it might not be exactly what you need, but you've got the code for it, and it behoves you to be a little grateful that he gave you the source, so you can get it working on your application.  There is no magic to device driver development in Linux. 

But presently, you don't even know how Linux boots or about kernel space or how to even deliver code to your box.  Start there.  You have an old machine laying around, won't run Windows.  Give it to Fedora.  Get the installable live CD .  Once you've got Eclipse installed, you're almost over the finish line. 

If you need help setting up a cross compiler, first load Eclipse, get the C/C++ development environment working, generate a Hello World (Eclipse will generate one for you, from scratch) and start coding on your own box.  You will learn to NFS mount your TS box to your dev box and deliver code when it's ready.  Trivial once you get down to it.  Everyone here was helped over the hump once, and you'll do it for others in your turn.  The Chinese say all things are hard at their beginning.  Put aside your preconceptions and bad experiences with Linux/Unix and start over.  You can do this.  Get those O'Reilly books and you can't go wrong.
 




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU