LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-30-2012, 03:20 AM   #1
elico
Member
 
Registered: Dec 2011
Posts: 145

Rep: Reputation: Disabled
LINUX for embedded ?


Hi all

LINUX for embedded, whats the big deal ?

What is the big advantage of LINUX ti embedded
vs the OSless code for embedded ?


Elico
 
Old 09-30-2012, 09:46 AM   #2
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Rep: Reputation: 23
Are you looking for linux distributions for embedded systems? If so,
what architecture? If it is ARM, there is:
APEXAR PDK
Android
Arch Linux ARM
Ångström
CRUX ARM
BackTrack
Chrome OS
Debian
DSLinux
ELinOS
Fedora
Gentoo
GoboLinux
iPodLinux
Maemo
MeeGo
Mer
MontaVista
PuppyLinux
RedSleeve
Slackware
T2 SDE
TimeSys
Ubuntu
webOS
Wind River Linux
 
Old 10-02-2012, 01:39 AM   #3
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
My question is general .

I did prctice with SUSE version of linux.

I still ask my self why not OSless C code ?

Elico
 
Old 10-02-2012, 04:54 PM   #4
justboo2u
Member
 
Registered: Feb 2011
Distribution: Ubuntu, Debian(ARM),XP,W7,CP/M
Posts: 126

Rep: Reputation: 20
Because, once the 'OSless C code' begins running...
then it is no longer OS-less... the underlying functions/procedures that do the interaction(s) with the hardware ARE the OS...
the intermediary between the user and the system.

This is particularly true since the code will likely run till it is shut off...
 
Old 10-03-2012, 01:54 AM   #5
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
I see

So what is the real advantage of LINUX based embedded board ove
a bare board like ARDUINO for example .

Elico
 
Old 10-03-2012, 02:14 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On a bare board only programmed by you you have to write the drivers for all components yourself. If you later have to change the platform for whatever reason you have to redo all that work. In opposite to that Linux abstracts you from the platform and you can concentrate on your application. As long as your new platform also supports Linux you can still use your application, maybe with some minor adaptions.

The two keywords here are fast development (the OS already exists) and abstraction (changes are easy to compensate), keeping the development costs as low as possible.
 
Old 10-03-2012, 03:05 AM   #7
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
Yes but

If the absolute adreeses of hardware ports are different
you have to edit the drivers when changing board , am I right ?

Elico
 
Old 10-03-2012, 06:10 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why would you? You can take the Linux harddisk out of your PC and put it into a PC with different hardware and it still works (if you don't use proprietary drivers). It is the same if you use Linux on a embedded system. Even if you have a special driver for one of the devices on the platform written yourself, if you have done it in a proper way you shouldn't have any problems and even if you have they should be solved with some minor corrections. If you have a PC with several PCI cards and you swap them in their slots they get different absolute hardware addresses and still work.
 
Old 10-04-2012, 12:41 PM   #9
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
Many thanks

Please let me know how can I prctice the LINUX command set without a board .
Is there any free LINUX simulator or something alike ?
Elico
 
Old 10-04-2012, 01:01 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
What do you mean with "command set"? If you just want to learn the Linux command line you can use any distro you want, you don't need to do that on an embedded board.
 
Old 10-04-2012, 01:54 PM   #11
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
OK thanks

That will be all .

Eliahu
 
Old 10-05-2012, 07:31 PM   #12
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
Linux, like any other OS, provides a standard set of services available to application software. In Linux, that set of services is very rich, and covers process control, memory allocation, all hardware access, networking, filesystems, interprocess communication, etc. It exposes a standardized ABI which application software uses to access all of the services porvided by the OS. All of this is provided by the Linux kernel, which actually IS the OS. All of the rst of the userspace stuff we've come to expect in a GNU/Linux system is well, just userspace programs.
You can write everything from scratch, forsaking all of the benefits of a mature OS. In smaller systems, this is the expectation. I think such systems are becoming less popular, as the price and size of relatively powerful systems (SoC's and SoM's) has dropped dramatically in recent years.
--- rod.
 
1 members found this post helpful.
Old 10-07-2012, 03:53 AM   #13
elico
Member
 
Registered: Dec 2011
Posts: 145

Original Poster
Rep: Reputation: Disabled
Thanks
Elico
 
  


Reply



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
Xpert in 8-16 bit microcontroller embedded system now inclining toward embedded linux priyadarshan Linux - Embedded & Single-board computer 2 02-12-2009 04:28 AM
LXer: Embedded Linux as Dependable for Developers as RTOSes, says Embedded Market For LXer Syndicated Linux News 0 01-23-2008 11:40 AM

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

All times are GMT -5. The time now is 01:05 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