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
 
LinkBack Search this Thread
Old 09-14-2007, 04:52 PM   #1
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,390
Blog Entries: 2

Rep: Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900Reputation: 900
Loading Linux without spinning media


What are the most common or easiest or conventional (or whatever) ways to load a Linux kernel and enough application code to do useful things at boot time? Load from flash or other non-volatile memory? Load from spinning media? Network bootloaders? Other?
I would like to run a small list of dedicated applications on either a conventional X86 desktop platform (headless) or a PC/104 system, and I want to avoid spinning media, to improve reliability (at least in theory). What are others doing in this regard?
What is necessary to prepare the object code for use in such a system? How does one install the code into flash, or whatever media? How does one store the object code on a boot host, if network booting is used?
What other things do I need to start thinking about?

--- rod.
 
Old 09-14-2007, 05:04 PM   #2
mikieboy
Member
 
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 12 LXDE
Posts: 555

Rep: Reputation: 33
A good start would be to check out this site:
http://pendrivelinux.com/
 
Old 09-14-2007, 05:05 PM   #3
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Generally you would be talking about software installed to onboard flash, either Compact Flash through an IDE-adapter (in the case of using standard X86 hardware) or some onboard flash. You could use PXE, but that severely limits your flexibility and mobility, as you are then rather literally tethered to a master server of some type.

As for getting Linux ready for booting from flash/PXE/whatever, there is nothing you really need to do beyond slimming the installation down. By virtue of the way the Linux kernel works, there is no functional difference between installing it to a HDD or a Compact Flash card.

Though you will probably want to compress your filesystem, and run it from RAM, rather than running it directly from flash. This prevents excessive read/write from the media, and speeds things up considerably. It does mean you will need to have a decent amount of RAM in the device as well.

You might want to read something like this to get an idea of how you can get started with a simple installation.
 
Old 11-28-2007, 04:11 AM   #4
dsouza_jack
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
There is a U-boot bootloader presnet which is the customized boot loader for most of the embedded linux application it works fron flash memory try that
 
  


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
XP Media Center '05 not loading on GRUB on Advent XP2100+ Dual with ubuntu AndyTheSkanker Linux - Software 1 04-06-2007 06:30 PM
amarok stops working--- "Error Loading Media, There is no audio channel!" thewtex Linux - Desktop 7 01-28-2007 06:22 PM
A Media Management Sytem (Windows Media Centre) for linux? carl0ski Linux - Software 5 12-07-2005 07:52 PM
Something spinning my HD? tormented_one Slackware 5 02-09-2005 03:34 PM


All times are GMT -5. The time now is 09:03 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 Google+: linuxquestions
Open Source Consulting | Domain Registration