LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
LinkBack Search this Thread
Old 01-19-2012, 11:54 PM   #1
jamesb99
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Determining build environment


First time poster (hopefully not embarrassing myself too much :-)

The other day I came across a device that allowed SSH to it and was running some form of embedded Linux. It got my curiosity. How can I tell what architecture it is and replicate a build environment on my 'normal' linux box so I can see if I can build a binary that i can transfer that will run on the device - or copy over a working gcc and build on the device itself?

I played with Gumstix a view years ago and was able to setup and build an embedded device following their wiki (it didn't actually do anything apart from boot, but it was a fun) so I figure I should be able to build a app and copy to over if I could would work out what build environment i need.
On the device /etc/issue.net tells me it was build with MontaVista(R) Linux(R) Professional Edition 3.1, but that seems to support multiple environments and appears more of a generic IDE that anything else ?

uname - an gives me: Linux OIP001ae825c4e6 2.4.31-INCAIP

A google takes me to:

http://www.linux-mips.org/wiki/INCA-IP

Which suggests that these boards appear to use uboot for booting and denx ELDK devkit. So I go to http://www.denx.de/wiki/view/DULG/EL...Section_3.10.2. which suggests I can download their ISO , set up a build environment and start building mips files, that i hope might work on this embedded device

Am i on the right route here or so so far off and walking in the wrong direction?

Thanks!

James
 
Old 01-21-2012, 08:30 AM   #2
smallpond
Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 455

Rep: Reputation: 85
You can either cross-compile to mips and run code or see if there are any native languages: which perl; which python; which java; etc. Compiling simple C/C++ programs should not be too hard. The interesting part is to look in the dev directory and see what you can make the hardware do!

MontaVista is a realtime linux kernel and development environment.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while 'chrooting' into build environment sudeepkulkarni Linux From Scratch 17 04-25-2012 07:44 AM
Faster Build Environment? technerd206 Linux - Embedded 7 10-10-2011 12:54 AM
Build Environment for SlackBuilds qweasd Slackware 4 05-19-2011 10:46 PM
recovering of build environment janos72 Linux - Software 2 03-17-2009 01:16 AM
build environment arkss Linux - Software 0 06-25-2005 03:54 PM


All times are GMT -5. The time now is 12:53 PM.

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