LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-20-2012, 02:26 AM   #1
elico
Member
 
Registered: Dec 2011
Posts: 145

Rep: Reputation: Disabled
Target machine question


Hi all

After I compiled my C code on a cros compiler like ECLIPSE
and got the target code file .

How exactly I deploy it on the LINUX based target board ?

In what directory exactly ?

How I make sure that this specific program
will run when I turn on the that board ?

Thanks
Elico
 
Old 09-20-2012, 02:34 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,900

Rep: Reputation: 164Reputation: 164
Simply way.
1)Download the executable file through ftp or tftp. Any directory is Ok.
2)Execute it through linux shell.

Complex way.
1)Add the execute file into target image. The directory could normally be /bin.
2)Modify start-up script to start the execute file.
3)Upload your image.
 
Old 09-20-2012, 02:48 PM   #3
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
Thanks
What is exactly "IMAGE" ?
Elico
 
Old 09-21-2012, 08:16 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
There are many different ways to store application object code and data on an embedded system. The method depends on the target architecture, and what it uses for storage. Storage can be conventional spinning media, various types of on-board or on-chip flash, removable flash, or even no on-board storage, requiring network shares or running completely out of a RAM disk. If the storage is on-chip or on-board, it may require the use of a tool such as a J-tag dongle to download the data to the board. Sometimes there are tools that can be used to write the data to on-board flash. Sometimes, simply writing the data to the appropriate place in the filesystem is sufficient.
There are also numerous ways to launch your application at boot time, and the best method depends on the application, its requirements, and the target architecture. The bootloader, if present, may play a role in controlling application launching.
In summary, tell us about the nature of your target, and we can probably give you useful advice. Without knowing more, there is no way to advise you.
--- rod.

Last edited by theNbomr; 09-21-2012 at 08:18 AM.
 
Old 09-21-2012, 02:38 PM   #5
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,900

Rep: Reputation: 164Reputation: 164
Normally it is root filesystem image.
 
1 members found this post helpful.
Old 09-23-2012, 02:11 AM   #6
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
Thanks

Elico
 
  


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
host machine virtual machine question kaplan71 Linux - General 2 03-31-2011 05:14 PM
Making a symlink follow its target when the target moves pwabrahams Linux - Software 3 03-08-2011 07:04 PM
How to create a shared storage for 2 VM machine using iscsi target(VM) cshanmug Linux - Virtualization and Cloud 5 09-16-2010 01:45 AM
Is there any tool avialable to talk with a target machine in embedded system?? payal_shah Linux - Networking 2 05-10-2007 06:46 AM
Can I run a port scan to a "target" machine from the internet? NuxIT Linux - Networking 9 05-18-2006 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:35 AM.

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
Open Source Consulting | Domain Registration