LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2013, 10:00 PM   #1
glennpl
LQ Newbie
 
Registered: May 2013
Location: Fayetteville NC
Posts: 5

Rep: Reputation: Disabled
Question How do I create embedded linux image


With QNX you can create and image of the operating system its a embedded operating system. How do you create embedded image of linux want the installation process install the workstation version of linux. How do you get a image to copy from workstation to target board?
 
Old 05-09-2013, 08:19 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
It would depend on the target board. Workstations usually require disks. Embedded systems tend not to have a disk.

Something like the Raspberry PI directs you to copy/install on a sdcard device, then plug the sd into the Raspberry PI. This is because the Raspberry PI is designed to use the sdcard as a disk.

The problem is that each target board has different requirements.
 
Old 05-09-2013, 04:14 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
QNX has some very odd issues so don't use too much of what you know on linux. Things fdisk are similar or exact. Some of the loader stuff is similar. In fact you can dd some versions of QNX drive to drive. You don't fool with licenses in linux.

If you have a storage device that you can use the command dd from, and the target device is exact it should work.

For most linux, you can copy based on bit by bit or use some file by file method. The file by file may require you to correct partition and loader and maybe create filesystem depending on app.

Last edited by jefro; 05-09-2013 at 09:01 PM.
 
Old 05-09-2013, 06:15 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
The problem will be the boot.

Some devices have a local SD soldered into the board. Getting the loader to transfer an image to that can be tricky. It can also brick the device if done wrong.
 
Old 05-09-2013, 09:03 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Some of the companies that product the boards offer some help either in docs or in tech email or maybe some direct web examples. They'd have some ways to boot or load this.

Pretty sure we'd need to more of what you have. I agree that a raw board may have to even be pxe booted to some OS or micro OS to be used. Maybe a serial port load or such. Might need to get a flash programmer app.

Last edited by jefro; 05-09-2013 at 09:04 PM.
 
  


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
Compiling embedded linux image. Some general questions alpha_lt Linux - General 4 02-05-2013 01:57 AM
Using 'dd' and 'gzip' to create a disk image. Restoring image: can't find lvm_root. skiman1979 Linux - Desktop 2 02-25-2012 06:42 AM
How to display boot splash image on embedded linux device using fbsplash? sticks719 Linux - Newbie 1 05-13-2011 12:55 PM


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