Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-31-2013, 07:49 AM
|
#1
|
Member
Registered: Dec 2013
Posts: 39
Rep:
|
How to run the program from host on to the target ??
I have installed Linux IDE (eclipse), Libraries and development tool on windows operating system (one laptop, windows operating system) and Linux real time operating system is installed on the another computer. I am using TCP/IP for communication between host and the target using the IP address and the port number. Could anyone tell how to run the linux program on the target ??
|
|
|
12-31-2013, 08:03 AM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
Welcome to LinuxQuestions.
Specific information about the target might help. Once the program is compiled on the host you would upload it to the target. What method depends on the utilities installed on the target.
|
|
|
12-31-2013, 08:06 AM
|
#3
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
Thank you very much for the reply. The target is a intel core i7 processor with Linux RTOS (32bit). what are the steps to run a simple c program from the host on to the target ?? or how to upload it to the target ??
|
|
|
12-31-2013, 08:15 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
Is anything like a ftp server installed on the target?
|
|
|
12-31-2013, 08:17 AM
|
#5
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
There is no ftp server installed on the target. I have a document for QNX real time operating system (Hoe to run the host program on the target): http://www.qnx.com/developers/docs/6...art/about.html
But I am having problem w.r.t Linux RTOS
|
|
|
12-31-2013, 08:30 AM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
At step 6 it shows how to run qconn from the target and then upload the program using the IDE.
|
|
|
12-31-2013, 08:31 AM
|
#7
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
Thats true for QNX RTOS. Is there any document for Linux RTOS ?? how to do it for Linux RTOS ??
Last edited by hemanth1989; 12-31-2013 at 08:39 AM.
|
|
|
12-31-2013, 08:44 AM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
QNX is not linux. What are your specific problems.
|
|
|
12-31-2013, 08:47 AM
|
#9
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
I want to do the same thing w.r.t Linux RTOS. but I'm not finding any document to do that.
|
|
|
12-31-2013, 08:59 AM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
Typically the basic difference between an everyday linux and RTOS is the PREEMPT-RT real time patch. To transfer programs from the host to the target some type of utility like a tftp (trivial file transfer protocol) server needs to be running on the device.
|
|
1 members found this post helpful.
|
12-31-2013, 09:03 AM
|
#11
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
Is there any documents or procedure to do it ?? It would be great help for me.
|
|
|
12-31-2013, 09:50 AM
|
#13
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
Thank you very much for the document. How to create a project on eclipse (host platform) ?? How to specify the target name, ip address and the port number on the eclipse ide ?? What kind of project type will it be in this situation ??
|
|
|
12-31-2013, 10:02 AM
|
#14
|
Moderator
Registered: Aug 2002
Posts: 26,477
|
That transfer function was built in to the QNX IDE. I have not played with Eclipse in sometime but I do not know if it has the same functionality.
|
|
|
01-01-2014, 04:33 AM
|
#15
|
Member
Registered: Dec 2013
Posts: 39
Original Poster
Rep:
|
Thank you very much for the reply. Why can't I use NFS or SAMBA on the server ?? Please also tell me which is best for udp/ip communication ??
|
|
|
All times are GMT -5. The time now is 09:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|