LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 07-14-2011, 10:34 AM   #1
zawii87
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Rep: Reputation: Disabled
help required regarding Embedded linux programming


I need a bit help regarding Embedded Linux programming .I have to make Communication with Cobra5329 board which Contains uclinux based MCF5329 cold fire processor. For more exact info of the board http://elmicro.com/de/cobra5329.html .

I also got one book with title " Embedded Linux - Praktische Umsetzung mit uClinux " but this book is only available in German language. Do you guyz have some idea about more general books for the embedded Linux or specificaly uclinux as a beginner user because I have never worked before on this platform. If you have some material or e-books related to this stuff Kindly inform me as soon as possible
 
Old 07-16-2011, 09:17 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Except where you use special hardware-specific coding, there is really little difference between conventional & embedded programming. There are many differences in how embedded systems are deployed (bootloaders, onboard non-volatile memory, terminal styles, etc), but those are not programming issues. Experience dealing with hardware, and programming at the device level can be handy if you need to write device drivers. Usually, it is the application domain that is more different from conventional hosts, than any other factor. One software-development aspect that often does differ is the use of cross-development toolchains on non-native development hosts. For targets with smaller resources like disk, memory & CPU, it is quite common to use a toolchain on a bigger-faster-stronger conventional desktop or server host to write software. The object code is then moved by some means to the target host(s). The methods vary according to the target host.
Quote:
I have to make Communication with Cobra5329 board
Way too vague to even hazard a gues at some kind of approach. What kind of communication? What purpose? What are the options available?

--- rod.

Last edited by theNbomr; 07-20-2011 at 09:22 AM.
 
Old 07-20-2011, 04:30 AM   #3
zawii87
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
How to crate a telnet server on cobra5329 module using uclinux enviorenmet

I am using evaluation version COBRA5329 starter using MCF5329 coldfire processor which is based on embedded linux. Now I am using the colinux enviornment on windows-PC. The Colinux one comes withe the board by default.

I am a new user to the embedded Linux. I have made some serial communication using the hyperterminal of the windows-pc and it works .

Now I want to make some TCP/IP communication . I want to create a telnet server on my board and want to communicate with the windows-PC enviornment(Considering as a client).

I just read that "Application-kernel 4 or 3" to have the all the communication configuration. But I dont know wether it is preinstalled in my current uclinux enviornment or I have to install it.

In short I want to creat a telnet server on the board for further communication. Can someone please provide me a detailed help with all the commands which I need to used in colinux enviorenment.

Thanks and an urgent reply is highly appreciated !!
 
Old 07-20-2011, 09:34 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
If you are running Linux on your target host, there is already an IP stack present. If there is no existing telnet server installed on your target, you can probably get a pre-built package from your vendor. Otherwise, there is open-source telnet server code, probably more than one version. Using that will be the fastest, most reliable route to a timely solution. I will hazard a guess that you may not really want a telnet server, but merely some application-specific TCP server. To accomplish this, I suggest that you start with the example code and very instructive tutorial text in Beej's Guide to Network Programming.

Your urgency is of little importance here, and since you took more than three days to respond to the previous post, I would suggest that your claim is somewhat disingenuous. If you need assistance that is time-sensitive, there are paid consultants who can serve those needs.

--- rod.
 
Old 07-20-2011, 10:29 AM   #5
zawii87
LQ Newbie
 
Registered: Jul 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
I am using the cooperative linux enviornment which usually called as colinux and I am runing it on the host OS (windows XP in my case).

Now I want to established a telnet server on colinux enviorenment (means in my cobra5329 board) so that I can communication with the windows-Pc.

I dont know that wether the colionux has pre-installed telnet sever or if not then how to get it how to established a telnet server on the colinux based enviornment with all the colinux commands.

Actually I am quite new to these kind of forums so Sorry about that late reply for the first time.

Thanks and waitng for the reply
 
Old 07-20-2011, 10:55 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Did you try to make a telnet connection from your Windows (or any other) host? What happened or what didn't happen? Is your embedded Linux on the network, with a valid IP? Is it's basic IP networking up and running?
Telnet usually runs as a service under inetd. The usual config file for that is /etc/inetd.conf. For details:
Code:
man inetd
man inetd.conf
Having said all of this, ssh is a much preferred method for interactive logins to any Linux host. Have you tried using that? Most Linux distros these days come with ssh enabled, and telnet disabled.

--- rod.

Last edited by theNbomr; 07-20-2011 at 10:58 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to learn embedded Linux programming fahadnasir Programming 1 05-11-2008 04:52 PM
Minimum file system required for Embedded linux zvivered Linux - Kernel 1 09-18-2007 08:37 PM
Embedded Programming using Linux ritesh_aladdin Linux - Software 0 08-01-2003 12:51 AM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration